CVE-2026-25968: ImageMagick has MSL attribute stack buffer overflow that leads to out of bounds write.
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a stack buffer overflow occurs when processing the an attribute in msl.c. A long value overflows a fixed-size stack buffer, leading to memory corruption. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
Security readout for executives and security teams
Plain-English summary
ImageMagick versions before the fixed releases can corrupt memory when handling a long MSL attribute value. Businesses are exposed where ImageMagick processes attacker-supplied files or content. The published record rates this high severity, but the supplied sources do not show active exploitation.
Executive priority
Prioritize remediation for internet-facing or customer-file-processing systems. The issue is high severity because memory corruption can affect confidentiality and availability, but current supplied evidence does not support emergency active-exploitation language.
Technical view
CVE-2026-25968 is a CWE-121 stack buffer overflow in ImageMagick msl.c attribute processing. A long attribute value can overflow a fixed-size stack buffer, causing an out-of-bounds write and memory corruption. CVSS 3.1 is 7.4 with network attack vector, high complexity, no privileges, and no user interaction.
Likely exposure
Exposure is likely in applications, workers, upload pipelines, or automation that use ImageMagick 7.0.0 before 7.1.2-15 or 6.x before 6.9.13-40, especially where externally supplied image or MSL-related input is processed.
Exploitation context
The source bundle does not identify active exploitation, public exploit use, or KEV listing. The CVSS vector indicates remote reachability without privileges or user interaction, but high attack complexity. Treat exploitability as plausible only where vulnerable MSL processing is reachable.
Researcher notes
Focus analysis on reachable MSL parser paths and packaged ImageMagick versions. The available sources name the vulnerable file and condition, but do not provide exploit maturity, proof-of-concept status, or operational mitigations beyond patched versions.
Mitigation direction
Upgrade ImageMagick 7.x to version 7.1.2-15 or later.
Upgrade ImageMagick 6.x to version 6.9.13-40 or later.
Check the GitHub advisory for vendor-specific upgrade guidance.
Prioritize systems processing untrusted uploads or automated image conversions.
Validation and detection
Inventory installed ImageMagick versions across servers, containers, and build images.
Confirm no ImageMagick package is below 7.1.2-15 or 6.9.13-40.
Identify services that pass external content into ImageMagick processing paths.
Review dependency lockfiles and base images for bundled ImageMagick versions.
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-121: 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.
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.
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.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-121 · source CWE mapping
Stack-based Buffer Overflow
Stack-based Buffer Overflow represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.