Off-by-one Error 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

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-16796407
  • published22 May 2026
  • disclosed21 May 2026
  • credit007bsd

Introduced: 21 May 2026

CVE NOT AVAILABLE CWE-193  (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 Off-by-one Error in the json and yaml encoder process. An attacker can cause a heap buffer overwrite by providing specially crafted input data.

CVSS Base Scores

version 4.0
version 3.1