CVE-2025-62594

NameCVE-2025-62594
DescriptionImageMagick 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
imagemagick (PTS)bullseye8:6.9.11.60+dfsg-1.3+deb11u4fixed
bullseye (security)8:6.9.11.60+dfsg-1.3+deb11u7fixed
bookworm8:6.9.11.60+dfsg-1.6+deb12u3fixed
bookworm (security)8:6.9.11.60+dfsg-1.6+deb12u4fixed
trixie8:7.1.1.43+dfsg1-1+deb13u1vulnerable
trixie (security)8:7.1.1.43+dfsg1-1+deb13u2vulnerable
forky8:7.1.2.3+dfsg1-1vulnerable
sid8:7.1.2.7+dfsg1-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
imagemagicksourcebullseye(not affected)
imagemagicksourcebookworm(not affected)
imagemagicksource(unstable)(unfixed)

Notes

[trixie] - imagemagick <no-dsa> (Minor issue)
[bookworm] - imagemagick <not-affected> (Vulnerable code not present, specific to IM7)
[bullseye] - imagemagick <not-affected> (Vulnerable code not present, specific to IM7)
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-wpp4-vqfq-v4hp
https://github.com/ImageMagick/ImageMagick/commit/7b47fe369eda90483402fcd3d78fa4167d3bb129 (7.1.2-8)

Search for package or bug name: Reporting problems