Skip to main content
No exploitation reportedFix available

CVE-2026-140370

ImageMagick before 7.1.2-36 Heap Buffer Overflow in MAC Decoder

No exploitation reported by the sources we read.

  • Published2026-12-01
  • Fixed in7.1.2-36 · 6.9.13-61
  • WeaknessCWE-122

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap-based buffer overflow in the MAC image decoder, which writes past the end of a heap buffer when a specific decoding failure occurs. Attackers can supply a crafted MAC image to corrupt heap memory, causing a crash or other memory corruption.

Timeline

dates in UTC
  1. 2026-12-0114:29CVE publishedCNA

Versions per branch

NVD
Imagemagick
BranchAffectedFixed in
7.x≥ 7.0.0-0, < 7.1.2-367.1.2-36
6.9< 6.9.13-616.9.13-61

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA2 products

As VulnCheck, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • ImageMagickother versions: not affected
    Affected
    • ≥ 7.0.0, < 7.1.2-36fixed in 7.1.2-36semver

    Not affected = 7.1.2-36

  • ImageMagickother versions: not affected
    Affected
    • < 6.9.13-61fixed in 6.9.13-61semver

    Not affected = 6.9.13-61

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-12-01

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • imagemagickDebian:14all versions · no fixed version listed
  • imagemagickDebian:13all versions · no fixed version listed
  • imagemagickDebian:12all versions · no fixed version listed

Full record on NVD

Fix

  1. Update Imagemagick to 7.1.2-36 · 6.9.13-61

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CNACVSS 4.06.32026-12-01
  • CNACVSS 3.14.82026-12-01
  • NVDCVSS 3.18.2read 2026-12-02
  • CNAweakness (CWE)CWE-1222026-12-01
  • NVDweakness (CWE)CWE-122read 2026-12-02
  • OSVaffected packages—
  • GitHub Advisoriesadvisory—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
CVSS 4.0 vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
2026-12-01
Last modified
2026-12-02
NVD status
Analyzed
GitHub advisory
GHSA-hh9x-73pv-c56w

Frequently asked questions

What is CVE-2026-140370?

ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap-based buffer overflow in the MAC image decoder, which writes past the end of a heap buffer when a specific decoding failure occurs. Attackers can supply a crafted MAC image to corrupt heap memory, causing a crash or other memory corruption.

Is CVE-2026-140370 actively exploited?

Active exploitation of CVE-2026-140370 has not been confirmed.

What is the CVSS score for CVE-2026-140370?

CVE-2026-140370 has a CVSS v3 base score of 8.2 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H.

Running imagemagick? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record