CVE-2026-25897Heap-based Buffer Overflow in Imagemagick

Severity
9.8CRITICALNVD
EPSS
0.1%
top 80.92%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 24
Latest updateMar 4

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, an Integer Overflow vulnerability exists in the sun decoder. On 32-bit systems/builds, a carefully crafted image can lead to an out of bounds heap write. 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 Packages5 packages

debiandebian/imagemagick< imagemagick 8:6.9.11.60+dfsg-1.6+deb12u7 (bookworm)
NVDimagemagick/imagemagick7.0.0-07.1.2-15+1
Debianimagemagick/imagemagick< 8:6.9.11.60+dfsg-1.3+deb11u10+3
Ubuntuimagemagick/imagemagick< 8:6.7.7.10-6ubuntu3.13+esm19+5
CVEListV5imagemagick/imagemagick>= 7.0.0, < 7.1.2-15

🔴Vulnerability Details

4
OSV
imagemagick vulnerabilities2026-03-04
OSV
ImageMagick: Heap overflow in sun decoder on 32-bit systems may result in out of bounds write2026-02-24
OSV
CVE-2026-25897: ImageMagick is free and open-source software used for editing and manipulating digital images2026-02-24
GHSA
ImageMagick: Heap overflow in sun decoder on 32-bit systems may result in out of bounds write2026-02-24

📋Vendor Advisories

3
Ubuntu
ImageMagick vulnerabilities2026-03-04
Red Hat
ImageMagick: ImageMagick: Out-of-bounds heap write via integer overflow in sun decoder2026-02-24
Debian
CVE-2026-25897: imagemagick - ImageMagick is free and open-source software used for editing and manipulating d...2026

🕵️Threat Intelligence

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