Buffer overflow in Imagemagick
CVE-2026-40169
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.2 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.002 (7.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 8th percentile — 7.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
- Imagemagick — versions < 7.1.2-19
Weakness classification (CWE)
References
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5592-p365-24xh (Vendor Advisory)
- github.com/ImageMagick/ImageMagick/commit/f86452a8aea37bf2b4bd36127f836dcc5f138… (Patch)
- github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19 (Release Notes)
- github.com/dlemstra/Magick.NET/releases/tag/14.12.0 (Release Notes)
Frequently asked questions
- What is CVE-2026-40169?
- CVE-2026-40169 is a medium-severity vulnerability in Imagemagick, classified under Heap-based Buffer Overflow. CVSS score: 6.2/10. Published 2026-04-13.
- How severe is CVE-2026-40169?
- Medium severity. CVSS v3 base score is 6.2 out of 10.