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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-08-13 · Modified: 2025-08-13
- Aliases: UBUNTU-CVE-2025-55005, DEBIAN-CVE-2025-55005, CGA-6jm5-h8qw-gfrx, CGA-94wj-j9gp-x42p, CGA-97cg-pxgq-4m4g, CGA-f4c7-9mr8-8rxq, CGA-hwfx-f3rw-j6fr, CGA-qcc6-w573-634v, CGA-r52g-qj8x-5hp6, CGA-xgfj-jc32-xgmx
- Record: https://cvemate.com/vulnerability/CVE-2025-55005 · JSON: https://cvemate.com/vulnerability/CVE-2025-55005/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.291%, percentile 23.295%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- chainguard imagemagick-6 (Chainguard): All versions (No fix recorded)
- chainguard imagemagick-6-dev (Chainguard): \< 6.9.13.46-r1
- chainguard imagemagick-6-doc (Chainguard): \< 6.9.13.46-r1
- chainguard imagemagick-6-static (Chainguard): \< 6.9.13.46-r1
- debian imagemagick (Debian): \< 8:7.1.1.43+dfsg1-1+deb13u2 \| \< 8:7.1.2.1+dfsg1-1
- ubuntu imagemagick (Ubuntu): All versions (No fix recorded) \| \< 8:6.7.7.10-6ubuntu3.13+esm29 \| \< 8:6.8.9.9-7ubuntu5.16+esm28 \| \< 8:6.9.7.4+dfsg-16ubuntu6.15+esm20 \| \< 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm18 \| \< 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm18 \| \< 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm17
- imagemagick imagemagick: \< 7.1.2-1

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-v393-38qx-v8fp>
- <https://goo.gle/bigsleep>
- <https://ubuntu.com/security/CVE-2025-55005>
- <https://www.cve.org/CVERecord?id=CVE-2025-55005>
- <https://security-tracker.debian.org/tracker/CVE-2025-55005>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55005.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-55005>
- <https://ubuntu.com/security/notices/USN-9469-1>

---

Data as of 2026-12-05T03:43:54.192Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
