CVE-2025-55005 ImageMagick: heap-buffer overflow in log colorspace handling
MediumCVSS 5.5
EPSS 0.24%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
5 packages: 3 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/imagemagick(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/imagemagick(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| debian/imagemagick(Debian 13) | < 8:7.1.1.43+dfsg1-1+deb13u2; = 8:7.1.1.43+dfsg1-1; = 8:7.1.1.43+dfsg1-1+deb13u1 | 8:7.1.1.43+dfsg1-1+deb13u2 | Fixed |
| debian/imagemagick(Debian 14) | < 8:7.1.2.1+dfsg1-1; = 8:7.1.1.43+dfsg1-1; = 8:7.1.1.46+dfsg1-1; = 8:7.1.1.47+dfsg1-1 +1 more | 8:7.1.2.1+dfsg1-1 | Fixed |
| ImageMagick | < 7.1.2-1; = < 7.1.2-1 | 7.1.2-1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/imagemagick(Debian:13) | < 8:7.1.1.43+dfsg1-1+deb13u2 | 8:7.1.1.43+dfsg1-1+deb13u2 |
| debian/imagemagick(Debian:13) | = 8:7.1.1.43+dfsg1-1 | No fix listed |
| debian/imagemagick(Debian:13) | = 8:7.1.1.43+dfsg1-1+deb13u1 | No fix listed |
| debian/imagemagick(Debian:14) | < 8:7.1.2.1+dfsg1-1 | 8:7.1.2.1+dfsg1-1 |
| debian/imagemagick(Debian:14) | = 8:7.1.1.43+dfsg1-1 | No fix listed |
| debian/imagemagick(Debian:14) | = 8:7.1.1.46+dfsg1-1 | No fix listed |
| debian/imagemagick(Debian:14) | = 8:7.1.1.47+dfsg1-1 | No fix listed |
| debian/imagemagick(Debian:14) | = 8:7.1.1.47+dfsg1-2 | No fix listed |
| ImageMagick | = < 7.1.2-1 | No fix listed |
| ubuntu/imagemagick(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/imagemagick(Ubuntu:24.04) | All versions | No fix listed |
| ImageMagick | < 7.1.2-1 | 7.1.2-1 |
References
- Debian Security Tracker CVE-2025-55005 vendor-advisory
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-v393-38qx-v8fp exploit third-party-advisory
- https://goo.gle/bigsleep issue-tracking
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking