CVE-2025-62594Improper Restriction of Operations within the Bounds of a Memory Buffer in Imagemagick

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 96.09%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedOct 27

Description

ImageMagick is a software suite to create, edit, compose, or convert bitmap images. ImageMagick versions prior to 7.1.2-8 are vulnerable to denial-of-service due to unsigned integer underflow and division-by-zero in the CLAHEImage function. When tile width or height is zero, unsigned underflow occurs in pointer arithmetic, leading to out-of-bounds memory access, and division-by-zero causes immediate crashes. This issue has been patched in version 7.1.2-8.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages3 packages

debiandebian/imagemagick< imagemagick 8:7.1.2.8+dfsg1-1 (forky)
Debianimagemagick/imagemagick< 8:7.1.1.43+dfsg1-1+deb13u4+1

Patches

🔴Vulnerability Details

3
GHSA
ImageMagick CLAHE : Unsigned underflow and division-by-zero lead to OOB pointer arithmetic and process crash (DoS)2025-10-27
OSV
CVE-2025-62594: ImageMagick is a software suite to create, edit, compose, or convert bitmap images2025-10-27
OSV
ImageMagick CLAHE : Unsigned underflow and division-by-zero lead to OOB pointer arithmetic and process crash (DoS)2025-10-27

📋Vendor Advisories

2
Red Hat
ImageMagick: ImageMagick CLAHE : Unsigned underflow and division-by-zero lead to OOB pointer arithmetic and process crash (DoS)2025-10-27
Debian
CVE-2025-62594: imagemagick - ImageMagick is a software suite to create, edit, compose, or convert bitmap imag...2025