Memory allocation with excessive without limits in the internal SVG decoder (ImageMagick ImageMagick)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.55 % · percentile 47 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- Affected products
- ImageMagick · ImageMagick
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-770 — Allocation of Resources Without Limits or Throttling
- CWE-789 — Memory Allocation with Excessive Size Value
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-v7g2-m8c5-mf84
- 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
- https://access.redhat.com/errata/RHSA-2026:5573
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat-SADP |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) |
Advisories
- GHSA-v7g2-m8c5-mf84 — ImageMagick: Memory allocation with excessive without limits in the internal SVG decoder
European references
- ENISA EUVD · EUVD-2026-7423
- GCVE · GCVE-0-2026-25985
CERT-FR advisories
- CERTFR-2026-AVI-1678 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*< 6.9.13-40cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*≥ 7.0.0-0 < 7.1.2-15
Affected products
| Product | Affected versions |
|---|---|
| ImageMagick · ImageMagick | affected : >= 7.0.0, < 7.1.2-15 affected : < 6.9.13-40 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |