Security mailing lists by PureSourceCode

CVE-2025-65955

MEDIUM 6.1CVSS 3.1

Withdrawn Advisory: ImageMagick has a use-after-free/double-free risk in Options::fontFamily when clearing family

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.

Published
2 Dec 2025
Last modified
4 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-415
Also known as
GHSA-q3hc-j9x5-mp9m
Sources
NVDJSONOSV GHSA-q3hc-j9x5-mp9mJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD imagemagick imagemagick
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
< 6.9.13-34 6.9.13-34
NVD imagemagick imagemagick
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
>= 7.0.0-0, < 7.1.2-9 7.1.2-9
OSV NuGet Magick.NET-Q16-AnyCPU <= 14.9.1
OSV NuGet Magick.NET-Q16-HDRI-AnyCPU <= 14.9.1
OSV NuGet Magick.NET-Q16-HDRI-OpenMP-arm64 <= 14.9.1
OSV NuGet Magick.NET-Q16-HDRI-OpenMP-x64 <= 14.9.1
OSV NuGet Magick.NET-Q16-HDRI-arm64 <= 14.9.1
OSV NuGet Magick.NET-Q16-HDRI-x64 <= 14.9.1
OSV NuGet Magick.NET-Q16-HDRI-x86 <= 14.9.1
OSV NuGet Magick.NET-Q16-OpenMP-arm64 <= 14.9.1
OSV NuGet Magick.NET-Q16-OpenMP-x64 <= 14.9.1
OSV NuGet Magick.NET-Q16-arm64 <= 14.9.1
OSV NuGet Magick.NET-Q16-x64 <= 14.9.1
OSV NuGet Magick.NET-Q16-x86 <= 14.9.1
OSV NuGet Magick.NET-Q8-AnyCPU <= 14.9.1
OSV NuGet Magick.NET-Q8-OpenMP-arm64 <= 14.9.1
OSV NuGet Magick.NET-Q8-OpenMP-x64 <= 14.9.1
OSV NuGet Magick.NET-Q8-arm64 <= 14.9.1
OSV NuGet Magick.NET-Q8-x64 <= 14.9.1
OSV NuGet Magick.NET-Q8-x86 <= 14.9.1

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 2 Dec 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 3 Dec 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.