CVE-2025-65955
Reported by github_m · Published December 2, 2025
magick.net-q8-anycpu is fixed in 14.9.1 (NuGet)
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-9 and 6.9.13-34, there is a vulnerability in ImageMagick’s Magick++ layer that manifests when Options::fontFamily is invoked with an empty string. Clearing a font family calls RelinquishMagickMemory on _drawInfo->font, freeing the font string but leaving _drawInfo->font pointing to freed memory while _drawInfo->family is set to that (now-invalid) pointer. Any later cleanup or reuse of _drawInfo->font re-frees or dereferences dangling memory. DestroyDrawInfo and other setters (Options::font, Image::font) assume _drawInfo->font remains valid, so destruction or subsequent updates trigger crashes or heap corruption. This vulnerability is fixed in 7.1.2-9 and 6.9.13-34.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| magick.net-q8-anycpu | NuGet | 14.9.1 |
| magick.net-q8-openmp-x64 | NuGet | 14.9.1 |
| Magick.NET-Q16-HDRI-x64 | NuGet | 14.9.1 |
| Magick.NET-Q8-x64 | NuGet | 14.9.1 |
| Magick.NET-Q16-HDRI-AnyCPU | NuGet | 14.9.1 |
| Magick.NET-Q16-x64 | NuGet | 14.9.1 |
| Magick.NET-Q8-arm64 | NuGet | 14.9.1 |
| Magick.NET-Q16-arm64 | NuGet | 14.9.1 |
| Magick.NET-Q8-OpenMP-arm64 | NuGet | 14.9.1 |
| Magick.NET-Q8-x86 | NuGet | 14.9.1 |
| Magick.NET-Q16-HDRI-arm64 | NuGet | 14.9.1 |
| Magick.NET-Q16-x86 | NuGet | 14.9.1 |
12 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| ImageMagick | ImageMagick | >= 7.0.1-0, < 7.1.2-9, < 6.9.13-34 |
| NuGet | magick.net-q8-openmp-x64 | 0 |
| NuGet | magick.net-q8-anycpu | 0 |
| NuGet | Magick.NET-Q16-x64 | 0 |
| NuGet | Magick.NET-Q16-HDRI-x64 | 0 |
| amazon:2 | ImageMagick-c++ | 0 |
| NuGet | Magick.NET-Q8-arm64 | 0 |
| amazon:2023 | ImageMagick | 0 |
| NuGet | Magick.NET-Q8-OpenMP-arm64 | 0 |
| amazon:2 | ImageMagick-devel | 0 |
| amazon:2023 | ImageMagick-c++ | 0 |
| amazon:2 | ImageMagick-c++-devel | 0 |
| NuGet | Magick.NET-Q16-HDRI-arm64 | 0 |
| NuGet | Magick.NET-Q16-x86 | 0 |
| NuGet | Magick.NET-Q8-x64 | 0 |
| NuGet | Magick.NET-Q16-HDRI-x86 | 0 |
| amazon:2023 | ImageMagick-libs | 0 |
| NuGet | Magick.NET-Q16-OpenMP-arm64 | 0 |
| amazon:2023 | ImageMagick-c++-devel | 0 |
| NuGet | Magick.NET-Q16-AnyCPU | 0 |
…and 19 more
Timeline
- Dec 2, 2025 CVE Published
- Dec 3, 2025 EPSS Score (30 in total, the first dated here)
- Dec 3, 2025 PoC Published
- Mar 19, 2026 Security Advisory (2 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-65955
vulnetix vdb fixes CVE-2025-65955
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-65955/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-q3hc-j9x5-mp9m x_refsource_CONFIRM
- https://github.com/ImageMagick/ImageMagick/commit/6409f34d637a34a1c643632aa849371ec8b3b5a8 x_refsource_MISC
- https://github.com/ImageMagick/ImageMagick/commit/6f81eb15f822ad86e8255be75efad6f9762c32f8 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-65955 advisory
- https://github.com/advisories/GHSA-q3hc-j9x5-mp9m advisory
- https://github.com/ImageMagick/ImageMagick url