Loop with Unreachable Exit Condition ('Infinite Loop') Affecting imagemagick-dev package, versions <7.1.2.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.02% (4th 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-MINIMOSLATEST-IMAGEMAGICKDEV-15068554
  • published24 Jan 2026
  • disclosed20 Jan 2026

Introduced: 20 Jan 2026

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

How to fix?

Upgrade Minimos:latest imagemagick-dev to version 7.1.2.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream imagemagick-dev package and not the imagemagick-dev package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

ImageMagick is free and open-source software used for editing and manipulating digital images. Versions prior to 7.1.2-13 have a stack overflow via infinite recursion in MSL (Magick Scripting Language) &lt;write&gt; command when writing to MSL format. Version 7.1.2-13 fixes the issue.

CVSS Base Scores

version 3.1