CVE-2026-25968Stack-based Buffer Overflow in Imagemagick

Severity
9.8CRITICALNVD
CNA7.4
EPSS
0.1%
top 80.94%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedFeb 24
Latest updateMar 12

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a stack buffer overflow occurs when processing the an attribute in msl.c. A long value overflows a fixed-size stack buffer, leading to memory corruption. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages3 packages

CVEListV5imagemagick/imagemagick< 6.9.13-40+1
NVDimagemagick/imagemagick7.0.0-07.1.2-15+1
Debianimagemagick/imagemagick< 8:6.9.11.60+dfsg-1.3+deb11u10+3

🔴Vulnerability Details

5
GHSA
ImageMagick: MSL attribute stack buffer overflow leads to out of bounds write.2026-03-12
OSV
ImageMagick: MSL attribute stack buffer overflow leads to out of bounds write.2026-03-12
OSV
imagemagick vulnerabilities2026-03-04
CVEList
ImageMagick has MSL attribute stack buffer overflow that leads to out of bounds write.2026-02-24
OSV
CVE-2026-25968: ImageMagick is free and open-source software used for editing and manipulating digital images2026-02-24

📋Vendor Advisories

3
Ubuntu
ImageMagick vulnerabilities2026-03-04
Red Hat
ImageMagick: ImageMagick: Memory corruption via stack buffer overflow when processing an attribute2026-02-24
Debian
CVE-2026-25968: imagemagick - ImageMagick is free and open-source software used for editing and manipulating d...2026

🕵️Threat Intelligence

1
Wiz
CVE-2026-25968 Impact, Exploitability, and Mitigation Steps | Wiz