CVE-2026-25969: ImageMagick has Memory Leak in coders/ashlar.c
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-15, a memory leak exists in `coders/ashlar.c`. The `WriteASHLARImage` allocates a structure. However, when an exception is thrown, the allocated memory is not properly released, resulting in a potential memory leak. Version 7.1.2-15 contains a patch.
Security readout for executives and security teams
Plain-English summary
ImageMagick versions before 7.1.2-15 can leak memory when handling an error in ASHLAR image writing. The reported impact is limited to availability, not data theft or code execution. Services that process untrusted images should upgrade because repeated leaks can degrade reliability.
Executive priority
Treat this as a moderate reliability risk. It is not reported as data compromise or code execution, but exposed image-processing services should be patched in normal vulnerability cycles, faster where resource exhaustion would affect customers.
Technical view
CVE-2026-25969 is a CWE-401 memory leak in ImageMagick's coders/ashlar.c. WriteASHLARImage allocates a structure that is not released when an exception occurs. Affected versions are ImageMagick before 7.1.2-15. CVSS 3.1 is 5.3: network reachable, low complexity, no privileges, no user interaction, low availability impact.
Likely exposure
Exposure is likely where ImageMagick before 7.1.2-15 is used in services, pipelines, or applications that process attacker-supplied images and can reach ASHLAR writing behavior.
Exploitation context
The source bundle does not report active exploitation, and KEV is false. The CVSS vector indicates a remotely reachable, low-complexity availability issue, but sources do not provide exploit details or evidence of public weaponization.
Researcher notes
Evidence is limited to the CVE record and GitHub advisory metadata. The affected code path is WriteASHLARImage in coders/ashlar.c, with a memory release failure during exception handling. No source in the bundle confirms exploitation, bypasses, or non-upgrade mitigations.
Mitigation direction
Upgrade ImageMagick to version 7.1.2-15 or later.
Prioritize internet-facing image processing services that accept untrusted files.
Limit or isolate untrusted image conversion until upgraded.
Monitor memory usage for image conversion workers.
Check the vendor advisory for deployment-specific guidance.
Validation and detection
Inventory deployed ImageMagick versions across hosts, containers, and build images.
Confirm no runtime uses ImageMagick earlier than 7.1.2-15.
Identify services that process untrusted images with ImageMagick.
Review memory metrics for abnormal growth during image conversion workloads.
Verify patched packages are loaded after service restarts or redeployments.
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-401: 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-401 · source CWE mapping
Missing Release of Memory after Effective Lifetime
Missing Release of Memory after Effective Lifetime represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.