# CVE-2025-55005: ImageMagick: heap-buffer overflow in log colorspace handling

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-13T13:59:50.155Z
- Modified: 2026-06-17T09:41:05.990Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ImageMagick ImageMagick: < 7.1.2-1; before 7.1.2-1

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-v393-38qx-v8fp> (exploit, third-party-advisory)
- <https://goo.gle/bigsleep> (issue-tracking)

## Sources

- CVE List: [CVE-2025-55005](https://www.cve.org/CVERecord?id=CVE-2025-55005), CVE Terms of Use, modified 2025-08-13
- NVD: [CVE-2025-55005](https://nvd.nist.gov/vuln/detail/CVE-2025-55005), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-55005 · Whole record: https://cve.day/CVE-2025-55005.json · Rebuilt by cve.day 2026-11-25T22:59:02.429Z
