Skip to main content
CVE-2026-140366VulnerabilityPublished

ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in the C++ readImages and montage

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-140366· Low 2.0

Not known to be exploited · CVSS 2.0 Low : upgrade to 7.1.2-36 when convenient.

Data as of 1 Dec 2026, 16:45 UTC

CVSS 4.0 base score
2.0Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.02.0
CNA (VulnCheck)CVSS 3.12.5
Patch
Available – fixed in 7.1.2-36, 6.9.13-61
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.

What to do

Upgrade ImageMagick to 7.1.2-36; ImageMagick to 6.9.13-61.

Affected software

ProductAffectedFixed in
ImageMagickImageMagickAffected
  • >=7.0.0 <7.1.2-36
Fixed in
  • 7.1.2-36
ImageMagickImageMagickAffected
  • <6.9.13-61
Fixed in
  • 6.9.13-61

AI-suggested

Upgrade ImageMagick to version 6.9.13-61 or later, or 7.x to version 7.1.2-36 or later, where this heap buffer overflow has been fixed. No other mitigation steps are indicated.

Description

ImageMagick versions before 6.9.13-61 and 7.x before 7.1.2-36 contain a heap buffer overflow vulnerability in the C++ readImages and montage API. This flaw causes a single zero byte to be written past the end of a heap buffer, which can corrupt heap memory and potentially crash the application. The vulnerability requires local access with high attack complexity and user interaction, and it does not impact confidentiality or integrity.

References

Community reviews

Loading reviews…