CVE & CISA-KEV Catalog

CVE-2025-65955

MEDIUM
4.9
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
imagemagickDebian
Fixed in:8:6.9.11.60+dfsg-1.3+deb11u8CVE-2025-65955
Fixed in:8:6.9.11.60+dfsg-1.6+deb12u5CVE-2025-65955
Fixed in:8:7.1.1.43+dfsg1-1+deb13u4CVE-2025-65955
Fixed in:8:7.1.2.12+dfsg1-1CVE-2025-65955
ImageMagick Q16Windows application
Affected:6.9.13-34Fixed in:6.9.13-34ImageMagick Studio LLC
Affected:7.0.0-0 7.1.2-9Fixed in:7.1.2-9ImageMagick Studio LLC
ImageMagick Q16-HDRIWindows application
Affected:7.0.0-0 7.1.2-9Fixed in:7.1.2-9ImageMagick Studio LLC
Affected:6.9.13-34Fixed in:6.9.13-34ImageMagick Studio LLC

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityLow

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Exploit Intelligence

0.14%probability of exploitation in 30 days
4thpercentile

Low risk: more likely to be exploited than 4% of all known CVEs.

References

Vendor Advisory1

Related Vulnerabilities

Other CWE-415 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-25136Medium6.590%-Fix
CVE-2018-0101Critical10.087%-Fix
CVE-2003-0545Critical9.885%-Fix
CVE-2019-3829Medium5.359%-Fix
CVE-2026-33824Critical9.856%-Fix
CVE-2021-3407Medium5.550%-Fix
Embed a live status badge for CVE-2025-65955
CVE-2025-65955 severity badge

Markdown

[![CVE-2025-65955](https://tridentstack.com/cve/badge/CVE-2025-65955.svg)](https://tridentstack.com/cve/CVE-2025-65955)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-65955"><img src="https://tridentstack.com/cve/badge/CVE-2025-65955.svg" alt="CVE-2025-65955"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-23.