Infinite loop Affecting imagemagick package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.16% (6th 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-CONAN-IMAGEMAGICK-15039674
  • published20 Jan 2026
  • disclosed20 Jan 2026
  • creditZe Sheng

Introduced: 20 Jan 2026

CVE-2026-23874  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Infinite loop in ProcessMSLScript. An attacker can cause the application to crash or become unresponsive by supplying a specially crafted Magick Scripting Language (MSL) file that triggers infinite recursion, resulting in a stack overflow.

Workaround

This vulnerability can be mitigated by restricting the ability to process Magick Scripting Language (MSL) files through a policy entry that disables the MSL coder in the ImageMagick policy file.

CVSS Base Scores

version 4.0
version 3.1