6.1

CVE-2025-65955: imagemagick Double Free

CVSS: 6.1v3.1MediumAnalyzed
AliasesUBUNTU-CVE-2025-65955DEBIAN-CVE-2025-65955openSUSE-SU-2025:15816-1
Published 02-12-2025Last modified 23-06-2026

Vulnerability summary

CVE-2025-65955 is a medium (CVSS 6.1) Double Free vulnerability in imagemagick. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 4.6% of scored vulnerabilities.

Overall risk
24/100
0100
Low · default modelHow is this calculated?
CVSS score
6.1/10
010
Medium · v3.1 (NVD)
EPSS score
0.16%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 7 · Related 6

Timeline

  1. 02-12-2025
    PublishedVulnerability first disclosed.
  2. 23-06-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.16%

Chance of exploitation in the next 30 days

Percentile

5%

Versus all other CVEs

30-day change

0.00 pp

From 0.16% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.16%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

NuGet18 products
  • magick.net-q16-anycpu≤ 14.9.1
  • Magick.NET-Q16-arm64≤ 14.9.1
  • magick.net-q16-hdri-anycpu≤ 14.9.1
  • Magick.NET-Q16-HDRI-arm64≤ 14.9.1
  • Magick.NET-Q16-HDRI-OpenMP-arm64≤ 14.9.1
Debian1 product
  • imagemagick< 8:6.9.11.60+dfsg-1.6+deb12u5 | < 8:7.1.1.43+dfsg1-1+deb13u4 | < 8:7.1.2.12+dfsg1-1
Imagemagick1 product
  • imagemagick≥ 7.0.1-0, < 7.1.2-9 | < 6.9.13-34 | ≥ 7.0.0-0, < 7.1.2-9
Opensuse1 product
  • ImageMagick&distro=openSUSE Tumbleweed< 7.1.2.10-1.1
Ubuntu1 product
  • imagemagickAll versions (No fix recorded)

5 vendors · 22 products

References

9 links