CVE-2025-65955Imagemagick
Medium 6.1
Follow: this CVE · Imagemagick · Imagemagick We alert you by email or Slack (account required).
- Priority
- 37
- CVSS 3.1
- 6.1
- EPSS
- —
- Auth required
- Yes
- Published
- Dec 2, 2025
- Updated
- Nov 4, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
What happens
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.
What to do
- Apply the vendor's security update for Imagemagick.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| imagemagick | imagemagick | < 6.9.13-34 |
| imagemagick | imagemagick | ≥ 7.0.0-0 < 7.1.2-9 |
Official advisories
- Security update for ImageMagick · SUSE · SUSE-SU-2026:20183-1 · Jan 28, 2026 High
- Security update for ImageMagick · SUSE · openSUSE-SU-2026:20118-1 · Jan 28, 2026 High
- Security update for ImageMagick · SUSE · SUSE-SU-2026:0013-1 · Jan 5, 2026 High
Also: SUSE (+4)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Vendor Advisory