Infinite loop Affecting ImageMagick/ImageMagick package, versions [,6.9.13-48)[7.0.0-0,7.1.2-23)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (4th 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 IDSNYK-UNMANAGED-IMAGEMAGICKIMAGEMAGICK-16755346
  • published19 May 2026
  • disclosed18 May 2026
  • creditSharad Boni

Introduced: 18 May 2026

CVE-2026-46521  (opens in a new tab)
CWE-131  (opens in a new tab)
CWE-252  (opens in a new tab)
CWE-787  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 6.9.13-48, 7.1.2-23 or higher.

Overview

Affected versions of this package are vulnerable to Infinite loop in the MIFF encoder when using LZMA compression. An attacker can cause a denial of service by triggering an out-of-bounds write through specially crafted input files.

CVSS Base Scores

version 4.0
version 3.1