Buffer Access with Incorrect Length Value Affecting ImageMagick/ImageMagick package, versions [,6.9.13-39)[7.0.0,7.1.2-14)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.46% (37th 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-15338997
  • published24 Feb 2026
  • disclosed24 Feb 2026
  • creditylwango613

Introduced: 24 Feb 2026

CVE-2026-25986  (opens in a new tab)
CWE-805  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 6.9.13-39, 7.1.2-14 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Access with Incorrect Length Value in the processing of YUV 4:2:2 images. An attacker can cause a crash by supplying a malicious image file to an application utilizing the affected process.

Workaround

This vulnerability can be mitigated by avoiding the processing of untrusted YUV 4:2:2 image files and implementing sandboxing mechanisms or input validation to restrict the impact of malicious input.

CVSS Base Scores

version 4.0
version 3.1