CVE-2026-140372 — ImageMagick
MEDIUMCVE-2026-140372 is a medium-severity (CVSS 5.3) Out-of-bounds Read vulnerability. The records list no fixed version yet; check the vendor advisory below and apply the mitigations in the meantime.
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…
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-140372.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Description
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.
Affected Products
imagemagickimagemagickDetection & mitigation playbook
VulnerabilityDetect
Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).
Remediation status
The records we use list no fixed release for CVE-2026-140372. Check the upstream advisory for a patched version, and apply the exposure-reduction steps below in the meantime.
Mitigate without a patch
Stop feeding it untrusted input: reject or quarantine files and payloads from unverified sources until you can upgrade, restrict accepted formats to the ones you actually need, and run the parsing or decoding step in a least-privileged sandbox or short-lived worker so a crash or corrupted read cannot reach the rest of the process.
Frequently Asked Questions
Is CVE-2026-140372 in your dependencies?
Find it across your dependency tree, including transitive dependencies.