Division by zero Affecting ImageMagick/ImageMagick package, versions [,7.1.2-8)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-IMAGEMAGICKIMAGEMAGICK-13723546
  • published28 Oct 2025
  • disclosed27 Oct 2025
  • creditYoungmin Kim, Woojin Park, Youngin Won, Siyeon Han, Shinyoung Won

Introduced: 27 Oct 2025

NewCVE-2025-62594  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 7.1.2-8 or higher.

Overview

Affected versions of this package are vulnerable to Division by zero via the CLAHEImage() function in MagickCore/enhance.c. An attacker can cause the process to crash or exhaust system resources by supplying crafted parameters or very small images that result in zero tile dimensions, leading to division-by-zero errors.

References

CVSS Base Scores

version 4.0
version 3.1