Division by zero Affecting ImageMagick/ImageMagick package, versions [,6.9.13-47)[7.0.1-0,7.1.2-22)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (5th 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 Learn

Learn about Division by zero vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-IMAGEMAGICKIMAGEMAGICK-16796384
  • published22 May 2026
  • disclosed21 May 2026
  • credit007bsd

Introduced: 21 May 2026

CVE-2026-56363  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 6.9.13-47, 7.1.2-22 or higher.

Overview

Affected versions of this package are vulnerable to Division by zero in the processing of a user-supplied binomial kernel. An attacker can cause a crash or denial of service by providing a specially crafted large kernel that triggers a division by zero.

CVSS Base Scores

version 4.0
version 3.1