Skip to content
Noroxi
CVE-2026-23874· NVD / CVE Program· CNA GitHub_M

ImageMagick's MSL: Stack overflow via infinite recursion in ProcessMSLScript

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) `<write>` command when writing to MSL format. Version 7.1.2-13 fixes the issue.

MediumCVSS 5.5 · v3.1—No exploit Fix available
Published
Jan 19, 2026
Updated
Jun 17, 2026
EPSS
0.2% · 7th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
proof of concept
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · GitHub_M
5.5
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

VendorProduct
imagemagickimagemagick

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • imagemagick imagemagickbefore 7.1.2-13

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • ImageMagick ImageMagick

    • < 7.1.2-13affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:11imagemagickbefore 8:6.9.11.60+dfsg-1.3+deb11u98:6.9.11.60+dfsg-1.3+deb11u9
Debian:12imagemagickbefore 8:6.9.11.60+dfsg-1.6+deb12u68:6.9.11.60+dfsg-1.6+deb12u6
Debian:13imagemagickbefore 8:7.1.1.43+dfsg1-1+deb13u58:7.1.1.43+dfsg1-1+deb13u5
Debian:14imagemagickbefore 8:7.1.2.13+dfsg1-18:7.1.2.13+dfsg1-1
NuGetMagick.NET-Q16-AnyCPUbefore 14.10.214.10.2
NuGetMagick.NET-Q16-arm64before 14.10.214.10.2
NuGetMagick.NET-Q16-HDRI-AnyCPUbefore 14.10.214.10.2
NuGetMagick.NET-Q16-HDRI-arm64before 14.10.214.10.2
NuGetMagick.NET-Q16-HDRI-OpenMP-arm64before 14.10.214.10.2
NuGetMagick.NET-Q16-HDRI-OpenMP-x64before 14.10.214.10.2
NuGetMagick.NET-Q16-HDRI-x64before 14.10.214.10.2
NuGetMagick.NET-Q16-HDRI-x86before 14.10.214.10.2
NuGetMagick.NET-Q16-OpenMP-arm64before 14.10.214.10.2
NuGetMagick.NET-Q16-OpenMP-x64before 14.10.214.10.2
NuGetMagick.NET-Q16-x64before 14.10.214.10.2
NuGetMagick.NET-Q16-x86before 14.10.214.10.2
NuGetMagick.NET-Q8-AnyCPUbefore 14.10.214.10.2
NuGetMagick.NET-Q8-arm64before 14.10.214.10.2
NuGetMagick.NET-Q8-OpenMP-arm64before 14.10.214.10.2
NuGetMagick.NET-Q8-OpenMP-x64before 14.10.214.10.2
NuGetMagick.NET-Q8-x64before 14.10.214.10.2
NuGetMagick.NET-Q8-x86before 14.10.214.10.2
openSUSE:Leap 16.0ImageMagickbefore 7.1.2.0-160000.6.17.1.2.0-160000.6.1
openSUSE:TumbleweedImageMagickbefore 7.1.2.13-2.17.1.2.13-2.1

+5

Other highest-scoring records for the same primary product.

  • CVE-2016-3714The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.9.3-10 and 7.x beforKEV
    92Now
  • CVE-2016-3718The (1) HTTP and (2) FTP coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allow remote attackers to conduct server-side request KEV
    75This week
  • CVE-2016-3715The EPHEMERAL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to delete arbitrary files via a crafted imKEV
    75This week
  • CVE-2022-44268ImageMagick 7.1.0-49 is vulnerable to Information Disclosure.
    53Plan
  • CVE-2022-44267ImageMagick 7.1.0-49 is vulnerable to Denial of Service.
    49Plan
  • CVE-2016-5841Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of service (segmentation fa
    43Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:imagemagick8:6.9.11.60+dfsg-1.6+deb12u6 · Debian:12Package registry (OSV)
NuGet:Magick.NET-Q16-AnyCPU14.10.2Package registry (OSV)
NuGet:Magick.NET-Q16-arm6414.10.2Package registry (OSV)
NuGet:Magick.NET-Q16-HDRI-AnyCPU14.10.2Package registry (OSV)
NuGet:Magick.NET-Q16-HDRI-arm6414.10.2Package registry (OSV)
NuGet:Magick.NET-Q16-HDRI-OpenMP-arm6414.10.2Package registry (OSV)
NuGet:Magick.NET-Q16-HDRI-OpenMP-x6414.10.2Package registry (OSV)
NuGet:Magick.NET-Q16-HDRI-x6414.10.2Package registry (OSV)
NuGet:Magick.NET-Q16-HDRI-x8614.10.2Package registry (OSV)
NuGet:Magick.NET-Q16-OpenMP-arm6414.10.2Package registry (OSV)
NuGet:Magick.NET-Q16-OpenMP-x6414.10.2Package registry (OSV)
NuGet:Magick.NET-Q16-x6414.10.2Package registry (OSV)
NuGet:Magick.NET-Q16-x8614.10.2Package registry (OSV)
NuGet:Magick.NET-Q8-AnyCPU14.10.2Package registry (OSV)
NuGet:Magick.NET-Q8-arm6414.10.2Package registry (OSV)
NuGet:Magick.NET-Q8-OpenMP-arm6414.10.2Package registry (OSV)
NuGet:Magick.NET-Q8-OpenMP-x6414.10.2Package registry (OSV)
NuGet:Magick.NET-Q8-x6414.10.2Package registry (OSV)
NuGet:Magick.NET-Q8-x8614.10.2Package registry (OSV)
opensuse:ImageMagick7.1.1.21-150600.3.38.1 · openSUSE:Leap 15.6Package registry (OSV)
suse:ImageMagick6.8.8.1-71.227.1 · SUSE:Linux Enterprise Server 12 SP5-LTSSPackage registry (OSV)
suse:ImageMagick7.1.1.21-150600.3.38.1 · SUSE:Linux Enterprise Server 15 SP6-LTSSPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2026-2628335 days apartImageMagick has possible infinite loop in JPEG encoder when using `jpeg:extent`
    30Monitor
  • CVE-2025-53015189 days apartImageMagick has XMP profile write that triggers hang due to unbounded loop
    30Monitor
  • CVE-2026-48733142 days apartImageMagick: Infinite Loop in subimage-search with crafted image
    18Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

All records