Vulnerability · Published Feb 24, 2026 · Assigned by GitHub_M
CVE-2026-25985Memory allocation with excessive without limits in the internal SVG decoder
High 7.5
In plain English
A high-severity resource allocation without limits in ImageMagick from ImageMagick. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.22 | imagemagick | 7.1.2.15-r0 | ALPINE-CVE-2026-25985 |
| Alpine:v3.23 | imagemagick | 7.1.2.15-r0 | ALPINE-CVE-2026-25985 |
| Alpine:v3.24 | imagemagick | 7.1.2.15-r0 | ALPINE-CVE-2026-25985 |
| Debian:12 | imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u8 | DEBIAN-CVE-2026-25985 |
| Debian:13 | imagemagick | 8:7.1.1.43+dfsg1-1+deb13u6 | DEBIAN-CVE-2026-25985 |
| Debian:13 | imagemagick | 8:7.1.1.43+dfsg1-1+deb13u6 | DSA-6158-1 |
| Debian:14 | imagemagick | 8:7.1.2.15+dfsg1-1 | DEBIAN-CVE-2026-25985 |
| NuGet | magick.net-q16-anycpu | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| NuGet | magick.net-q16-arm64 | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| NuGet | magick.net-q16-hdri-anycpu | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| NuGet | magick.net-q16-hdri-arm64 | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| NuGet | magick.net-q16-hdri-openmp-arm64 | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| NuGet | magick.net-q16-hdri-openmp-x64 | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| NuGet | magick.net-q16-hdri-x64 | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| NuGet | magick.net-q16-hdri-x86 | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| NuGet | magick.net-q16-openmp-arm64 | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| NuGet | magick.net-q16-openmp-x64 | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| NuGet | magick.net-q16-openmp-x86 | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| NuGet | magick.net-q16-x64 | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| NuGet | magick.net-q16-x86 | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| NuGet | magick.net-q8-anycpu | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| NuGet | magick.net-q8-arm64 | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| NuGet | magick.net-q8-openmp-arm64 | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| NuGet | magick.net-q8-openmp-x64 | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| NuGet | magick.net-q8-x64 | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| NuGet | magick.net-q8-x86 | 14.10.3 | GHSA-v7g2-m8c5-mf84 |
| Ubuntu:25.10 | imagemagick | no fix listed | UBUNTU-CVE-2026-25985 |
| Ubuntu:26.10 | imagemagick | no fix listed | UBUNTU-CVE-2026-25985 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ImageMagick | ImageMagick | >= 7.0.0, < 7.1.2-15< 6.9.13-40 |
Weakness: CWE-770, CWE-789 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-v7g2-m8c5-mf84 x_refsource_CONFIRM
- https://access.redhat.com/security/cve/CVE-2026-25985 vdb-entry, x_refsource_REDHAT
- RHBZ#2442127 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25985.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:5573 vendor-advisory, x_refsource_REDHAT