# CVE-2026-116158: ImageMagick before 7.1.2-33 Memory Leak in magick compare

- Priority: **Routine**
- Reason: Not severe (CVSS 2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-25 · Modified: 2026-10-26
- Aliases: DEBIAN-CVE-2026-116158, UBUNTU-CVE-2026-116158, CGA-gp22-5hrq-x96r, CGA-gj98-3c48-cxmx
- Record: https://cvemate.com/vulnerability/CVE-2026-116158 · JSON: https://cvemate.com/vulnerability/CVE-2026-116158/json

## Description

```text
ImageMagick before 7.1.2-33 contains a memory leak vulnerability in the magick compare command caused by missing cleanup when an operation fails. Attackers can supply inputs that trigger repeated failed compare operations to exhaust memory and cause denial of service.
```

## Signals

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

## Affected

- chainguard imagemagick-6 (Chainguard): All versions (No fix recorded)
- debian imagemagick (Debian): All versions (No fix recorded) \| \< 8:7.1.1.43+dfsg1-1+deb13u14 \| \< 8:7.1.2.33+dfsg1-1
- ubuntu imagemagick (Ubuntu): All versions (No fix recorded)
- imagemagick imagemagick: \< 7.1.2-33

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-m938-565c-h9qf>
- <https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-33-memory-leak-in-magick-compare>
- <https://security-tracker.debian.org/tracker/CVE-2026-116158>
- <https://ubuntu.com/security/CVE-2026-116158>
- <https://www.cve.org/CVERecord?id=CVE-2026-116158>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116158.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-116158>

---

Data as of 2026-12-05T04:05:24.827Z. 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
