CVE-2025-62594
CVE-2025-62594 · ImageMagick CLAHE : Unsigned underflow and division-by-zero lead to OOB pointer arithmetic and process crash (DoS)
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 4.7 · Medium · EPSS 0.4% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
imagemagick
- Versions
- < 7.1.2-8: Affected
No fix published
imagemagick Debian:13
- Versions
- 8:7.1.1.43+dfsg1-1
- 8:7.1.1.43+dfsg1-1+deb13u1
- 8:7.1.1.43+dfsg1-1+deb13u2
- 8:7.1.1.43+dfsg1-1+deb13u3
- Affected ranges
- ECOSYSTEM: < 8:7.1.1.43+dfsg1-1+deb13u4
Update to 8:7.1.1.43+dfsg1-1+deb13u4
imagemagick Debian:14
- Versions
- 8:7.1.1.43+dfsg1-1
- 8:7.1.1.46+dfsg1-1
- 8:7.1.1.47+dfsg1-1
- 8:7.1.1.47+dfsg1-2
- 8:7.1.2.1+dfsg1-1
- 8:7.1.2.3+dfsg1-1
- 8:7.1.2.7+dfsg1-1
- Affected ranges
- ECOSYSTEM: < 8:7.1.2.8+dfsg1-1
Update to 8:7.1.2.8+dfsg1-1
imagemagick Ubuntu:25.10
- Versions
- 8:7.1.1.43+dfsg1-1
- 8:7.1.1.43+dfsg1-1ubuntu1
- 8:7.1.1.43+dfsg1-1ubuntu2
- 8:7.1.2.3+dfsg1-1
- 8:7.1.2.3+dfsg1-1ubuntu0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
imagemagick Ubuntu:26.04:LTS
- Versions
- 8:7.1.2.3+dfsg1-1
- Affected ranges
- ECOSYSTEM: < 8:7.1.2.8+dfsg1-1
Update to 8:7.1.2.8+dfsg1-1