LiveActive security incident?Get immediate response
CVE Record

CVE-2026-23874: 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.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

ImageMagick before 7.1.2-13 can crash from a flaw in its Magick Scripting Language handling. The impact is availability loss, not data theft or tampering based on the published CVSS. Business urgency is highest where shared systems or automated image-processing jobs run ImageMagick and untrusted users can influence MSL processing.

Executive priority

Treat as a moderate availability risk. Patch during the next standard maintenance window, sooner for multi-user systems or business-critical image-processing services. There is no source-supported evidence of active exploitation in the provided materials.

Technical view

CVE-2026-23874 is a stack overflow caused by infinite recursion in ProcessMSLScript. The issue occurs in the MSL <write> command when writing to MSL format. It is classified as CWE-835 and scored CVSS 5.5 with local attack vector, low complexity, low privileges, no user interaction, and high availability impact.

Likely exposure

Exposure is most likely on systems running ImageMagick versions earlier than 7.1.2-13 where a local or authenticated user can invoke ImageMagick or influence MSL script processing. The provided sources do not establish unauthenticated remote exposure.

Exploitation context

The CVE record lists local access and low privileges as required. The source bundle does not indicate known active exploitation, and it is not listed as KEV. Practical impact is likely denial of service through process crash or resource exhaustion conditions.

Researcher notes

Public detail in the bundle is limited to the CVE description and GitHub advisory reference. Do not assume remote exploitability beyond the CVSS local vector. Focus validation on version presence, MSL feature exposure, and whether untrusted low-privileged users can reach affected processing paths.

Mitigation direction

  • Upgrade ImageMagick to version 7.1.2-13 or later.
  • Prioritize shared hosts and automation pipelines processing user-controlled image scripts.
  • Restrict untrusted users from invoking ImageMagick MSL features where feasible.
  • Check ImageMagick vendor guidance for any additional configuration recommendations.

Validation and detection

  • Inventory installed ImageMagick versions across servers, containers, and build images.
  • Confirm whether any installed version is earlier than 7.1.2-13.
  • Identify workflows that process or generate MSL content.
  • Verify upgraded systems report ImageMagick 7.1.2-13 or later.
  • Monitor image-processing services for crashes until remediation is complete.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-835: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-23874 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.5 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.5CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H1.83.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.5Medium
CVSS 3.1 vector shape for CVE-2026-23874Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
ImageMagickImageMagick< 7.1.2-13Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-835 · source CWE mapping

Loop with Unreachable Exit Condition ('Infinite Loop')

Loop with Unreachable Exit Condition ('Infinite Loop') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.