CVE-2026-29074
SVGO: DoS through entity expansion in DOCTYPE (Billion Laughs)
Also known as GHSA-xpqw-6gx7-v673
Mitigation
- Upgrade svgo to one of 2.8.1, 3.3.3, 4.0.1 (or later in the same release line).
Who should check
- Projects that depend on npm package svgo (>= 2.1.0, < 2.8.1)
- Anyone running svgo >= 2.1.0, < 2.8.1; >= 3.0.0, < 3.3.3; = 4.0.0
Vulnerability facts
- Affected
- svgo >= 2.1.0, < 2.8.1
- Fixed in
- 2.8.1, 3.3.3, 4.0.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 1.08% chance of exploitation in 30 days (percentile 65, 2026-11-26)
- CWE
- CWE-776
- Modified
Description
SVGO, short for SVG Optimizer, is a Node.js library and command-line application for optimizing SVG files. From version 2.1.0 to before version 2.8.1, from version 3.0.0 to before version 3.3.3, and before version 4.0.1, SVGO accepts XML with custom entities, without guards against entity expansion or recursion. This can result in a small XML file (811 bytes) stalling the application and even crashing the Node.js process with JavaScript heap out of memory. This issue has been patched in versions 2.8.1, 3.3.3, and 4.0.1.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-29074. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-29074.md Affected: svgo >= 2.1.0, < 2.8.1 Fixed in: 2.8.1, 3.3.3, 4.0.1 Steps: 1. Search this machine and project for svgo (npm), svgo: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://github.com/svg/svgo/security/advisories/GHSA-xpqw-6gx7-v673
- https://access.redhat.com/errata/RHSA-2026:13512
- https://access.redhat.com/errata/RHSA-2026:6277
- https://access.redhat.com/errata/RHSA-2026:7110
- https://access.redhat.com/errata/RHSA-2026:13553
- https://access.redhat.com/errata/RHSA-2026:6309
- https://access.redhat.com/errata/RHSA-2026:13545
- https://access.redhat.com/errata/RHSA-2026:9742
- https://access.redhat.com/errata/RHSA-2026:13826
- https://access.redhat.com/errata/RHSA-2026:5807
- https://access.redhat.com/errata/RHSA-2026:24977
- https://access.redhat.com/errata/RHSA-2026:19712
- https://access.redhat.com/errata/RHSA-2026:21772
- https://access.redhat.com/errata/RHSA-2026:8483
- https://access.redhat.com/errata/RHSA-2026:8484
- https://access.redhat.com/errata/RHSA-2026:8490
- https://access.redhat.com/errata/RHSA-2026:8491
- https://access.redhat.com/errata/RHSA-2026:8493
- https://access.redhat.com/errata/RHSA-2026:11916
- https://access.redhat.com/errata/RHSA-2026:11856
- https://access.redhat.com/errata/RHSA-2026:21017
- https://access.redhat.com/errata/RHSA-2026:6568
- https://access.redhat.com/errata/RHSA-2026:19375
- https://access.redhat.com/errata/RHSA-2026:22465
- https://access.redhat.com/errata/RHSA-2026:48085
- https://access.redhat.com/errata/RHSA-2026:6926
- https://nvd.nist.gov/vuln/detail/CVE-2026-29074
FAQ
Is CVE-2026-29074 being exploited?
There is no confirmed exploitation: CVE-2026-29074 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.08% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-29074?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-29074?
svgo >= 2.1.0, < 2.8.1.
Is there a fix for CVE-2026-29074?
Yes. Fixed in 2.8.1, 3.3.3, 4.0.1. Upgrade svgo to one of 2.8.1, 3.3.3, 4.0.1 (or later in the same release line).
How do I check if I'm affected by CVE-2026-29074?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.