6.2

CVE-2026-40169: ImageMagick: Heap buffer overflow (WRITE) in the YAML and JSON encoders

Analyzed
AliasesUBUNTU-CVE-2026-40169DEBIAN-CVE-2026-40169CGA-3vhw-xmj6-pxjw
Published 13-04-2026Last modified 14-04-2026

Vulnerability summary

CVE-2026-40169 is a medium (CVSS 6.2) Heap-based Buffer Overflow vulnerability in imagemagick. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 10% of scored vulnerabilities.

Priority
Routine

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

Source freshness unavailable

How is this decided?
CVSS score
6.2/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.20%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 11 · Related 11

Timeline

  1. 13-04-2026
    PublishedVulnerability first disclosed.
  2. 14-04-2026
    Last modifiedVulnerability information updated.

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below 7.1.2-19, a crafted image could result in an out of bounds heap write when writing a yaml or json output, resulting in a crash. This issue has been fixed in version 7.1.2-19.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.20%

Chance of exploitation in the next 30 days

Percentile

10%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.18% on 04-11-2026

04-11-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, no user interaction (CVSS vector). Other conditions: not stated in public data.

NuGet17 products
  • Magick.NET-Q16-AnyCPU< 14.12.0
  • Magick.NET-Q16-arm64< 14.12.0
  • Magick.NET-Q16-HDRI-AnyCPU< 14.12.0
  • Magick.NET-Q16-HDRI-arm64< 14.12.0
  • Magick.NET-Q16-HDRI-OpenMP-arm64< 14.12.0
Chainguard4 products
  • imagemagick-6All versions (No fix recorded)
  • imagemagick-6-dev< 6.9.13.46-r1
  • imagemagick-6-doc< 6.9.13.46-r1
  • imagemagick-6-static< 6.9.13.46-r1
Alpine1 product
  • imagemagick< 7.1.2.19-r0
Debian1 product
  • imagemagick< 8:7.1.1.43+dfsg1-1+deb13u8 | < 8:7.1.2.19+dfsg1-1
Imagemagick1 product
Ubuntu1 product
  • imagemagickAll versions (No fix recorded) | < 8:6.7.7.10-6ubuntu3.13+esm29 | < 8:6.8.9.9-7ubuntu5.16+esm28 | < 8:6.9.7.4+dfsg-16ubuntu6.15+esm20 | < 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm18 | < 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm18 | < 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm17 | < 8:7.1.2.18+dfsg1-1ubuntu0.1~esm6

6 vendors · 25 products

References

12 links
Show all 12 references