CVE-2026-25985
Description
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-02-24
- Last modified
- 2026-07-15
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.5 %
higher than 40 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Magick.NET-Q16-AnyCPU (NuGet) | < 14.10.3 | Affected | |
| Magick.NET-Q16-arm64 (NuGet) | < 14.10.3 | Affected | |
| Magick.NET-Q16-HDRI-AnyCPU (NuGet) | < 14.10.3 | Affected | |
| Magick.NET-Q16-HDRI-arm64 (NuGet) | < 14.10.3 | Affected | |
| Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet) | < 14.10.3 | Affected | |
| Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet) | < 14.10.3 | Affected | |
| Magick.NET-Q16-HDRI-x64 (NuGet) | < 14.10.3 | Affected | |
| Magick.NET-Q16-HDRI-x86 (NuGet) | < 14.10.3 | Affected | |
| Magick.NET-Q16-OpenMP-arm64 (NuGet) | < 14.10.3 | Affected | |
| Magick.NET-Q16-OpenMP-x64 (NuGet) | < 14.10.3 | Affected | |
| Magick.NET-Q16-OpenMP-x86 (NuGet) | < 14.10.3 | Affected | |
| Magick.NET-Q16-x64 (NuGet) | < 14.10.3 | Affected | |
| Magick.NET-Q16-x86 (NuGet) | < 14.10.3 | Affected | |
| Magick.NET-Q8-AnyCPU (NuGet) | < 14.10.3 | Affected | |
| Magick.NET-Q8-arm64 (NuGet) | < 14.10.3 | Affected | |
| Magick.NET-Q8-OpenMP-arm64 (NuGet) | < 14.10.3 | Affected | |
| Magick.NET-Q8-OpenMP-x64 (NuGet) | < 14.10.3 | Affected | |
| Magick.NET-Q8-x64 (NuGet) | < 14.10.3 | Affected | |
| Magick.NET-Q8-x86 (NuGet) | < 14.10.3 | Affected | |
| Imagemagick | Imagemagick | < 6.9.13-40 | Affected |
| Imagemagick | Imagemagick | ≥ 7.0.0-0, < 7.1.2-15 | Affected |
Weakness type
-
CWE-770: Allocation of Resources Without Limits or Throttling
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
-
CWE-789: Memory Allocation with Excessive Size Value
The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1498.001: Direct Network Flood
- T1498.002: Reflection Amplification
- T1499: Endpoint Denial of Service
- T1499.001: OS Exhaustion Flood
- T1499.002: Service Exhaustion Flood
- T1499.003: Application Exhaustion Flood
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-v7g2-m8c5-mf84
- https://access.redhat.com/errata/RHSA-2026:5573
- https://access.redhat.com/security/cve/CVE-2026-25985
- https://bugzilla.redhat.com/show_bug.cgi?id=2442127
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25985.json
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.