ImageMagick: heap-buffer overflow in log colorspace handling
Published Aug 13, 2025
5.5
MEDIUMCVSS 3.1
EPSS 0.26%
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.
Affected products
-
- Version < 7.1.2-1StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| ImageMagick | ImageMagick | n/a |
|
- < 7.1.2-1
No data.
Red Hat Enterprise Linux 6
ImageMagick
Out of support scope
Red Hat Enterprise Linux 7
ImageMagick
Out of support scope
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | ImageMagick | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | ImageMagick | Out of support scope | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References (6)
- https://access.redhat.com/security/cve/CVE-2025-55005 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2388245 Issue Tracking
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-v393-38qx-v8fp exploitx_refsource_CONFIRMThird Party Advisory
- https://goo.gle/bigsleep x_refsource_MISCIssue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2025-55005
- https://www.cve.org/CVERecord?id=CVE-2025-55005
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2025-55005 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2388245 | Issue Tracking | |
| https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-v393-38qx-v8fp | exploitx_refsource_CONFIRMThird Party Advisory | |
| https://goo.gle/bigsleep | x_refsource_MISCIssue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-55005 | ||
| https://www.cve.org/CVERecord?id=CVE-2025-55005 |
Change history (0)
No recorded changes yet.