CVE-2026-40169CWE-122CWE-787

ImageMagick: Heap buffer overflow (WRITE) in the YAML and JSON encoders

Medium · published April 13, 2026

CVSS v3.1
6.2
EPSS
0%
Percentile
8.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.2 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00190 · 8.2th percentile
Weaknesses
CWE-122 · Heap-based Buffer Overflow; CWE-787 · Out-of-bounds Write
Published
2026-04-13T21:25Z
EPSS history
Timeline
  • 13 APR 21:25Z
    ImageMagick: Heap buffer overflow (WRITE) in the YAML and JSON encoders
    cvelistv5