Heap-based Buffer Overflow Affecting ImageMagick/ImageMagick package, versions [,6.9.13-51)[7.0.0 ,7.1.2-26)


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 Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-IMAGEMAGICKIMAGEMAGICK-17817660
  • published5 Jul 2026
  • disclosed1 Jul 2026
  • creditRex Liu

Introduced: 1 Jul 2026

CVE-2026-55597  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 6.9.13-51, 7.1.2-26 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow due to incorrect handling of arguments in the JP2 encoder. An attacker can cause a heap buffer over-write by supplying specially crafted arguments during image processing.

CVSS Base Scores

version 4.0
version 3.1