CVE-2025-55005: imagemagick Heap-based Buffer Overflow
Vulnerability summary
CVE-2025-55005 is a medium (CVSS 5.5) Heap-based Buffer Overflow vulnerability in imagemagick. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 17.1% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 5 · Related 6Timeline
- 13-08-2025PublishedVulnerability first disclosed.
- 13-08-2025Last modifiedVulnerability information updated.
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-1, when preparing to transform from Log to sRGB colorspaces, the logmap construction fails to handle cases where the reference-black or reference-white value is larger than 1024. This leads to corrupting memory beyond the end of the allocated logmap buffer. This issue has been patched in version 7.1.2-1.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
17%
Versus all other CVEs
30-day change
0.00 pp
From 0.26% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundImagemagick
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard4 products
- imagemagick-6All versions (No fix recorded)
- imagemagick-6-dev< 6.9.13.46-r1
- imagemagick-6-doc< 6.9.13.46-r1
- imagemagick-6-static< 6.9.13.46-r1
Debian1 product
- imagemagick< 8:7.1.1.43+dfsg1-1+deb13u2 | < 8:7.1.2.1+dfsg1-1
Imagemagick1 product
- imagemagick< 7.1.2-1
Ubuntu1 product
- imagemagickAll versions (No fix recorded)
4 vendors · 7 products
References
7 links- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-v393-38qx-v8fpX Refsource CONFIRMREPORTAdvisoryExploitThird Party Advisory