6.1

CVE-2026-140368: ImageMagick before 7.1.2-36 Heap Buffer Overflow When Encoding 12-Bit Images

Analyzed
AliasesDEBIAN-CVE-2026-140368UBUNTU-CVE-2026-140368
Published 01-12-2026Last modified 02-12-2026

Vulnerability summary

CVE-2026-140368 is a medium (CVSS 6.1) Out-of-bounds Write vulnerability in imagemagick. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 17.8% 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
6.1/10
010
Medium · v3.1 (NVD)
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. 02-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 encoders that export pixels for 12-bit images before encoding the image data. Attackers can supply a crafted image that, when processed and encoded, triggers an out-of-bounds heap write, causing crashes or memory corruption.

CVSS metrics

5 scores · 3 sources · 2 versions

EPSS trend

Probability

0.25%

Chance of exploitation in the next 30 days

Percentile

18%

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
  • imagemagick≥ 7.0.0, < 7.1.2-36 | < 6.9.13-61 | ≥ 7.0.0-0, < 7.1.2-36
Ubuntu1 product
  • imagemagickAll versions (No fix recorded)

3 vendors · 3 products

References

5 links