# CVE-2026-140356: ImageMagick before 7.1.2-36 Heap Buffer Over-Read via Stream Operation

- Priority: **Routine**
- Reason: Not severe (CVSS 2.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-01 · Modified: 2026-12-03
- Aliases: DEBIAN-CVE-2026-140356, UBUNTU-CVE-2026-140356
- Record: https://cvemate.com/vulnerability/CVE-2026-140356 · JSON: https://cvemate.com/vulnerability/CVE-2026-140356/json

## Description

```text
ImageMagick 7.x before 7.1.2-36 and 6.x before 6.9.13-61 contain a heap buffer over-read in a specific stream operation, where an integer overflow can cause reads past the end of an allocated heap buffer. A local attacker who supplies input processed through this stream operation can crash the application or disclose adjacent heap memory.
```

## Signals

- CVSS: 4 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
- EPSS: 0.189%, percentile 8.881%, 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

- debian imagemagick (Debian): All versions (No fix recorded)
- ubuntu imagemagick (Ubuntu): All versions (No fix recorded)
- imagemagick imagemagick: ≥ 7.0.0, \< 7.1.2-36 \| \< 6.9.13-61

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-4cmr-g39q-mh38>
- <https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-36-heap-buffer-over-read-via-stream-operation>
- <https://security-tracker.debian.org/tracker/CVE-2026-140356>
- <https://ubuntu.com/security/CVE-2026-140356>
- <https://www.cve.org/CVERecord?id=CVE-2026-140356>

---

Data as of 2026-12-05T09:31:54.726Z. 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
