CVE-2026-25985: Memory allocation with excessive without limits in the internal SVG decoder
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 crafted SVG file containing an malicious element causes ImageMagick to attempt to allocate ~674 GB of memory, leading to an out-of-memory abort. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
Security readout for executives and security teams
Plain-English summary
ImageMagick can be forced to request an extremely large memory allocation when handling a crafted SVG. Systems that process attacker-supplied images may crash or lose availability. The source bundle names patched ImageMagick releases, but provides no evidence of active exploitation.
Executive priority
Prioritize patching internet-facing or customer-upload image workflows. Treat this as a high availability risk, especially for shared processing infrastructure where crashes can disrupt multiple services.
Technical view
Before ImageMagick 7.1.2-15 and 6.9.13-40, the internal SVG decoder lacks sufficient allocation limits. A crafted SVG element can cause an attempted allocation of about 674 GB, leading to an out-of-memory abort. The issue maps to CWE-770 and CWE-789 and is availability-only under CVSS 3.1.
Likely exposure
Exposure is most likely in web apps, batch processors, CMS pipelines, or security tools that invoke affected ImageMagick versions on untrusted or user-uploaded SVG files.
Exploitation context
The bundle reports KEV as false and includes no cited evidence of active exploitation. The documented impact is denial of service through resource exhaustion, not code execution or data theft.
Researcher notes
The evidence supports a resource-exhaustion flaw in ImageMagick's internal SVG decoding path. The bundle does not provide proof-of-concept details beyond the excessive allocation behavior, and does not indicate confidentiality, integrity, or active exploitation impact.
Mitigation direction
Upgrade ImageMagick 7.x to 7.1.2-15 or later.
Upgrade ImageMagick 6.x to 6.9.13-40 or later.
Apply applicable vendor packages, including Red Hat advisory RHSA-2026:5573 where relevant.
Limit or block untrusted SVG processing until patched.
Review image-processing workers for memory and restart controls.
Validation and detection
Inventory hosts and containers running ImageMagick.
Check installed ImageMagick versions against the affected ranges.
Identify services that accept SVG uploads or process external images.
Confirm vendor package status for Red Hat-managed systems.
Verify patched versions are deployed in production images.
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-770: 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.
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-770 · source CWE mapping
Allocation of Resources Without Limits or Throttling
Allocation of Resources Without Limits or Throttling represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Memory Allocation with Excessive Size Value represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.