CVE-2026-56363
Analyzed Analyzed - Analysis Complete

Division by Zero in ImageMagick via Binomial Kernel Processing

Vulnerability report for CVE-2026-56363, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-30

Last updated on: 2026-07-02

Assigner: VulnCheck

Description

ImageMagick before 7.1.2-22 contains a division by zero vulnerability in binomial kernel processing that allows attackers to cause denial of service. An attacker can supply a large binomial kernel value causing integer overflow, resulting in division by zero and application crash.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-30
Last Modified
2026-07-02
Generated
2026-07-21
AI Q&A
2026-07-01
EPSS Evaluated
2026-07-20
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
imagemagick imagemagick to 6.9.13-47 (exc)
imagemagick imagemagick From 7.0.0-0 (inc) to 7.1.2-22 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in ImageMagick versions before 7.1.2-22 and involves a division by zero error in the binomial kernel processing. An attacker can supply a large binomial kernel value that causes an integer overflow, which then leads to a division by zero and causes the application to crash.

Detection Guidance

This vulnerability occurs when ImageMagick processes an excessively large binomial kernel value, causing an integer overflow and division by zero that leads to application crash (denial of service). Detection involves verifying the version of ImageMagick installed and testing for the vulnerability by attempting to process images with large binomial kernel parameters.

To detect if your system is vulnerable, first check the installed ImageMagick version:

  • magick -version

If the version is prior to 7.1.2-22 or 6.9.13-47, the system is potentially vulnerable.

To test for the vulnerability, you can try to process an image with a large binomial kernel value that may trigger the division by zero error. For example, using the "-morphology" option with a large binomial kernel size might cause the crash.

  • magick input.png -morphology Convolve Binomial:1000 output.png

If the application crashes or terminates unexpectedly during this operation, it indicates the presence of the vulnerability.

Impact Analysis

The primary impact of this vulnerability is a denial of service (DoS). An attacker can exploit this flaw to crash the ImageMagick application by triggering a division by zero error, potentially disrupting services or applications that rely on ImageMagick for image processing.

Compliance Impact

The vulnerability in ImageMagick causes a denial of service through a division by zero error triggered by an integer overflow. It impacts availability but does not affect confidentiality or integrity of data.

Since the vulnerability does not lead to unauthorized access, data leakage, or data modification, it has limited direct impact on compliance with standards like GDPR or HIPAA, which primarily focus on protecting personal data confidentiality and integrity.

However, the denial of service could affect system availability, which may be a consideration under some regulatory frameworks that require maintaining service continuity.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade ImageMagick to version 7.1.2-22 or later, or 6.9.13-47 or later, where the division by zero issue in binomial kernel processing has been fixed.

Avoid processing untrusted or maliciously crafted binomial kernel inputs that could trigger the integer overflow and division by zero.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-56363. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart