Off-by-one Error Affecting ImageMagick/ImageMagick package, versions [,6.9.13-44)[7.0.0-0,7.1.2-19)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (8th 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-16034527
  • published14 Apr 2026
  • disclosed13 Apr 2026
  • creditUnknown

Introduced: 13 Apr 2026

CVE-2026-40312  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 6.9.13-44, 7.1.2-19 or higher.

Overview

Affected versions of this package are vulnerable to Off-by-one Error in the MSL decoder process. An attacker can cause a crash by providing a specially crafted MSL file.

CVSS Base Scores

version 4.0
version 3.1