Stack-based Buffer Overflow Affecting ImageMagick/ImageMagick package, versions [, 6.9.13-45)[7.0.0-0, 7.1.2-20)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (3rd 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-16643491
  • published13 May 2026
  • disclosed12 May 2026
  • creditfg0x0

Introduced: 12 May 2026

CVE-2026-42050  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 6.9.13-45, 7.1.2-20 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow in the XTileImage function. An attacker can cause a denial of service by tricking a user into opening a specially crafted MIFF file and right-clicking a tile to invoke the Load / Update menu item.

CVSS Base Scores

version 4.0
version 3.1