Buffer overflow in Imagemagick

CVE-2025-62594

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.

Vulnerability class: Buffer Overflow

EPSS: 0.003 (26.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-62594?
CVE-2025-62594 is a medium-severity vulnerability in Imagemagick, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 4.7/10. Published 2025-10-27.
How severe is CVE-2025-62594?
Medium severity. CVSS v3 base score is 4.7 out of 10.