# CVE-2026-140358: ImageMagick before 7.1.2-36 Heap Buffer Over-Read and Null Pointer Dereference in Draw

- 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-12-01 · Modified: 2026-12-01
- Aliases: DEBIAN-CVE-2026-140358
- Record: https://cvemate.com/vulnerability/CVE-2026-140358 · JSON: https://cvemate.com/vulnerability/CVE-2026-140358/json

## Description

```text
ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer over-read and a NULL pointer dereference in its draw operations. A user able to invoke specific draw operations can cause ImageMagick to read beyond a heap buffer or dereference a NULL pointer, resulting in a crash or disclosure of memory contents.
```

## Signals

- CVSS: 4.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
- EPSS: 0.23%, percentile 14.696%, 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)
- imagemagick imagemagick: ≥ 7.0.0, \< 7.1.2-36 \| \< 6.9.13-61

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-6rm4-qg7h-vvc4>
- <https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-36-heap-buffer-over-read-and-null-pointer-dereference-in-draw>
- <https://security-tracker.debian.org/tracker/CVE-2026-140358>

---

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