Integer overflow in Imagemagick
CVE-2025-55154
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-27 and 7.1.2-1, the magnified size calculations in ReadOneMNGIMage (in coders/png.c) are unsafe and can overflow, leading to memory corruption. This issue has been patched in versions 6.9.13-27 and 7.1.2-1.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.010, 62.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Imagemagick — versions < 6.9.13-27, < 7.1.2-1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (fkie-cad/nvd-json-data-feeds, w4zu/Debian_security, Yuri08loveElaina/imagemagick-2025-poc). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qp29-wxp5-wh82 (Exploit, Vendor Advisory)
- https://goo.gle/bigsleep (Issue Tracking)
- lists.debian.org/debian-lts-announce/2025/09/msg00012.html