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.
- Published
- Jan 19, 2026
- Updated
- Jun 17, 2026
- EPSS
- 0.2% · 7th percentile
- CWE
- CWE-835
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
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 helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| imagemagick | imagemagick | cpe:2.3:a:imagemagick:imagemagick |
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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:11 | imagemagick | before 8:6.9.11.60+dfsg-1.3+deb11u9 | 8:6.9.11.60+dfsg-1.3+deb11u9 |
| Debian:12 | imagemagick | before 8:6.9.11.60+dfsg-1.6+deb12u6 | 8:6.9.11.60+dfsg-1.6+deb12u6 |
| Debian:13 | imagemagick | before 8:7.1.1.43+dfsg1-1+deb13u5 | 8:7.1.1.43+dfsg1-1+deb13u5 |
| Debian:14 | imagemagick | before 8:7.1.2.13+dfsg1-1 | 8:7.1.2.13+dfsg1-1 |
| NuGet | Magick.NET-Q16-AnyCPU | before 14.10.2 | 14.10.2 |
| NuGet | Magick.NET-Q16-arm64 | before 14.10.2 | 14.10.2 |
| NuGet | Magick.NET-Q16-HDRI-AnyCPU | before 14.10.2 | 14.10.2 |
| NuGet | Magick.NET-Q16-HDRI-arm64 | before 14.10.2 | 14.10.2 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-arm64 | before 14.10.2 | 14.10.2 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-x64 | before 14.10.2 | 14.10.2 |
| NuGet | Magick.NET-Q16-HDRI-x64 | before 14.10.2 | 14.10.2 |
| NuGet | Magick.NET-Q16-HDRI-x86 | before 14.10.2 | 14.10.2 |
| NuGet | Magick.NET-Q16-OpenMP-arm64 | before 14.10.2 | 14.10.2 |
| NuGet | Magick.NET-Q16-OpenMP-x64 | before 14.10.2 | 14.10.2 |
| NuGet | Magick.NET-Q16-x64 | before 14.10.2 | 14.10.2 |
| NuGet | Magick.NET-Q16-x86 | before 14.10.2 | 14.10.2 |
| NuGet | Magick.NET-Q8-AnyCPU | before 14.10.2 | 14.10.2 |
| NuGet | Magick.NET-Q8-arm64 | before 14.10.2 | 14.10.2 |
| NuGet | Magick.NET-Q8-OpenMP-arm64 | before 14.10.2 | 14.10.2 |
| NuGet | Magick.NET-Q8-OpenMP-x64 | before 14.10.2 | 14.10.2 |
| NuGet | Magick.NET-Q8-x64 | before 14.10.2 | 14.10.2 |
| NuGet | Magick.NET-Q8-x86 | before 14.10.2 | 14.10.2 |
| openSUSE:Leap 16.0 | ImageMagick | before 7.1.2.0-160000.6.1 | 7.1.2.0-160000.6.1 |
| openSUSE:Tumbleweed | ImageMagick | before 7.1.2.13-2.1 | 7.1.2.13-2.1 |
+5
Same product
imagemagick: all recordsOther 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 beforKEV92Now
- 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 KEV75This 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 imKEV75This 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 fa43Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u6 · Debian:12 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-AnyCPU | 14.10.2 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-arm64 | 14.10.2 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-HDRI-AnyCPU | 14.10.2 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-HDRI-arm64 | 14.10.2 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-HDRI-OpenMP-arm64 | 14.10.2 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-HDRI-OpenMP-x64 | 14.10.2 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-HDRI-x64 | 14.10.2 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-HDRI-x86 | 14.10.2 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-OpenMP-arm64 | 14.10.2 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-OpenMP-x64 | 14.10.2 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-x64 | 14.10.2 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-x86 | 14.10.2 | Package registry (OSV) |
| NuGet:Magick.NET-Q8-AnyCPU | 14.10.2 | Package registry (OSV) |
| NuGet:Magick.NET-Q8-arm64 | 14.10.2 | Package registry (OSV) |
| NuGet:Magick.NET-Q8-OpenMP-arm64 | 14.10.2 | Package registry (OSV) |
| NuGet:Magick.NET-Q8-OpenMP-x64 | 14.10.2 | Package registry (OSV) |
| NuGet:Magick.NET-Q8-x64 | 14.10.2 | Package registry (OSV) |
| NuGet:Magick.NET-Q8-x86 | 14.10.2 | Package registry (OSV) |
| opensuse:ImageMagick | 7.1.1.21-150600.3.38.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| suse:ImageMagick | 6.8.8.1-71.227.1 · SUSE:Linux Enterprise Server 12 SP5-LTSS | Package registry (OSV) |
| suse:ImageMagick | 7.1.1.21-150600.3.38.1 · SUSE:Linux Enterprise Server 15 SP6-LTSS | Package 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.
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.
Credits
All researchersFinders, 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 loop30Monitor
- CVE-2026-48733142 days apartImageMagick: Infinite Loop in subimage-search with crafted image18Monitor
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
Weakness class (CWE)
CWE-835 · Loop with Unreachable Exit Condition ('Infinite Loop')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
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →