2.5

CVE-2026-140366: ImageMagick before 7.1.2-36 Heap Buffer Overflow via C++ readImages and montage

Undergoing analysis
AliasesDEBIAN-CVE-2026-140366UBUNTU-CVE-2026-140366
Published 01-12-2026Last modified 01-12-2026

Vulnerability summary

CVE-2026-140366 is a low (CVSS 2.5) Out-of-bounds Write vulnerability in imagemagick. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 16.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
2.5/10
010
Low · v3.1 (CVE.org)
EPSS score
0.25%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 01-12-2026
    PublishedVulnerability first disclosed.
  2. 01-12-2026
    Last modifiedVulnerability information updated.

Description

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 API that writes a single zero byte past the end of a heap buffer. Attackers able to call these C++ API functions can trigger the out-of-bounds write, corrupting heap memory and potentially crashing the application.

CVSS metrics

5 scores · 3 sources · 2 versions

EPSS trend

Probability

0.25%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

02-12-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • imagemagickAll versions (No fix recorded)
Imagemagick1 product
Ubuntu1 product
  • imagemagickAll versions (No fix recorded)

3 vendors · 3 products

References

5 links