Home › CVE › Vulnerabilities
CVE-2026-140372 — ImageMagick
One of 27 ImageMagick vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
ImageMagick before 7.1.2-36 contains a heap buffer over-read vulnerability in the HEIC decoder that allows attackers to read beyond allocated memory by supplying crafted images. Attackers can provide a malicious HEIC file for processing to crash the application or disclose adjacent heap memory contents.
Severity breakdown
Medium · 6.9
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- no
- Impact
- low on confidentiality, none on integrity and availability
- Impact on other systems
- none
Weakness
- CWE-125: Out-of-bounds Read
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| ImageMagick | < 7.1.2-36 | 7.1.2-36 |
References by type
Vendor advisories
Other references
Affected
- ImageMagick
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-140372?
ImageMagick before 7.1.2-36 contains a heap buffer over-read vulnerability in the HEIC decoder that allows attackers to read beyond allocated memory by supplying crafted images. Attackers can provide a malicious HEIC file for processing to crash the application or disclose adjacent heap memory contents. Weakness type: Out-of-bounds Read (CWE-125).
How severe is CVE-2026-140372?
CVE-2026-140372 has a CVSS 4.0 base score of 6.9 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-140372 being exploited?
Not as far as is known: CVE-2026-140372 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-140372?
ImageMagick < 7.1.2-36 (fixed in 7.1.2-36).
How do I fix CVE-2026-140372?
Update to a fixed release: ImageMagick 7.1.2-36.