Insecure Randomness 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

Threat Intelligence

EPSS
0.3% (23rd 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-16796364
  • published22 May 2026
  • disclosed21 May 2026
  • credit007bsd, LuiginoC

Introduced: 21 May 2026

CVE-2026-56369  (opens in a new tab)
CWE-323  (opens in a new tab)
CWE-330  (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 Insecure Randomness via the PasskeyEncipherImage function. An attacker can access sensitive information by exploiting AES-CTR nonce reuse during encryption.

References

CVSS Base Scores

version 4.0
version 3.1