Off-by-one Error Affecting ImageMagick/ImageMagick package, versions [,6.9.13-44)[7.0.0-0,7.1.2-19)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (7th 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 Off-by-one Error vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-IMAGEMAGICKIMAGEMAGICK-16066525
  • published15 Apr 2026
  • disclosed14 Apr 2026
  • creditshitianyu

Introduced: 14 Apr 2026

CVE-2026-56361  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 6.9.13-44, 7.1.2-19 or higher.

Overview

Affected versions of this package are vulnerable to Off-by-one Error via the morphology processing. An attacker can cause a denial of service by triggering an out-of-bounds read through the use of a specially crafted morphology operation.

CVSS Base Scores

version 4.0
version 3.1