CVE-2025-65955 | 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: 2025-12-02 Last update: 2026-01-13 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-65955 is rated Low Risk (20/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.01%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-65955

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-12-03 0.01%

Full EPSS history (1 record total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-65955

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.9 3.1 MEDIUM
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
1.4 3.4 [email protected]
6.1 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 4.2 [email protected]

Weakness enumeration for CVE-2025-65955

GitHub Security Advisory for CVE-2025-65955

GHSA-q3hc-j9x5-mp9m · Severity: medium · Ecosystem: nuget — Withdrawn Advisory: ImageMagick has a use-after-free/double-free risk in Options::fontFamily when clearing family

OS Trackers for CVE-2025-65955

vendor priority summary link
alpine CVE-2025-65955: 1 source package rows (imagemagick); 108 state rows across 3 repos (3.22-community, 3.23-community, edge-community); fixed 0, open 108. https://security.alpinelinux.org/vuln/CVE-2025-65955
debian not yet assigned CVE-2025-65955 not yet assigned priority: Debian including 1 source packages (imagemagick), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2025-65955
redhat medium https://access.redhat.com/security/cve/CVE-2025-65955
suse medium CVE-2025-65955 severity moderate: SUSE including 99 source package names (2.1.3-5.3:rsync-3.2.7-4.1, 2.1.3-6.2:rsync-3.2.7-4.1, …), 401 product×package rows across 72 product lines (Container suse/sl-micro/6.0/baremetal-os-container, Container suse/sl-micro/6.0/base-os-container, … (72 product lines)): Fixed 343, Known Not Affected 44, First Fixed 14. https://www.suse.com/security/cve/CVE-2025-65955/
ubuntu medium CVE-2025-65955 medium priority: Ubuntu including 1 source packages (imagemagick), 9 status rows across 9 suites (bionic, focal, jammy, noble, plucky, questing, trusty, upstream, xenial): not-affected 8, needs-triage 1. https://ubuntu.com/security/CVE-2025-65955

Affected software / configurations for CVE-2025-65955

Vendor Product Version Raw CPE
imagemagick imagemagick < 6.9.13-34 cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
imagemagick imagemagick >= 7.0.0-0, < 7.1.2-9 cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*

References for CVE-2025-65955

cvelogic Threat Intelligence