CVE-2026-25985
ImageMagick: Memory allocation with excessive without limits in the internal SVG decoder
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-770, CWE-789
Affected packages · 20
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | ImageMagick_jll | <7.1.2023+0 | 7.1.2023+0 |
| NuGet | Magick.NET-Q16-AnyCPU | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q16-arm64 | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q16-HDRI-AnyCPU | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q16-HDRI-arm64 | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-arm64 | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-x64 | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q16-HDRI-x64 | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q16-HDRI-x86 | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q16-OpenMP-arm64 | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q16-OpenMP-x64 | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q16-OpenMP-x86 | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q16-x64 | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q16-x86 | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q8-AnyCPU | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q8-arm64 | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q8-OpenMP-arm64 | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q8-OpenMP-x64 | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q8-x64 | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q8-x86 | <14.10.3 | 14.10.3 |
Open a package to see all its vulnerabilities.
Operating systems · 23 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | imagemagick +5 | 6.9.10.68-7.0.7.el7_9 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | imagemagick +5 | 7.1.2.16-1.ph4 |
| 5.0 | imagemagick +5 | 7.1.2.16-1.1.ph5 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | imagemagick +4 | 0:6.9.10.68-13.el7_9 | RHSA-2026:5573 |
SUSE Linux Enterprise 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.6 | imagemagick +11 | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
| 15.7 | imagemagick +11 | 7.1.1.43-150700.3.37.1 | SUSE-SU-2026:0851-1 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | imagemagick | 7.1.2.15-r0 |
| 3.23 | imagemagick | 7.1.2.15-r0 |
| 3.24 | imagemagick | 7.1.2.15-r0 |
| edge | imagemagick | 7.1.2.15-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | imagemagick +11 | 1:6.9.13.40-1.amzn2023.0.1 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | imagemagick | 8:6.9.11.60+dfsg-1.3+deb11u11 |
| 12 | imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u8 |
| 13 | imagemagick | 8:7.1.1.43+dfsg1-1+deb13u6 |
| 14 | imagemagick | 8:7.1.2.15+dfsg1-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u8 |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| imagemagick | 7.1.2.0-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | imagemagick +14 | 7.1.2.15-1.1 | openSUSE-SU-2026:10267-1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | imagemagick +13 | 7.1.2.0-160000.6.1 | openSUSE-SU-2026:20337-1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | imagemagick +1 | 8:6.9.11.60+dfsg-1.3+deb11u11 |
| 12 | imagemagick +1 | 8:6.9.11.60+dfsg-1.6+deb12u8 |
| 13 | imagemagick +1 | 8:7.1.1.43+dfsg1-1+deb13u6 |
seal Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | imagemagick +1 | 6.9.10.68-6.el7_9+sp999 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:5573
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-25985
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2442127
- github.com https://github.com/ImageMagick/ImageMagick
- github.com https://github.com/ImageMagick/ImageMagick/commit/1a51eb9af00c36724660e294520878fd1f13e312
- github.com https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-v7g2-m8c5-mf84
- github.com https://github.com/advisories/GHSA-v7g2-m8c5-mf84
- github.com https://github.com/dlemstra/Magick.NET/releases/tag/14.10.3
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-25985.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-5573.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.