Skip to content
OpenAdvisories
High · 7.5 CVE-2026-29074 EUVD-2026-10022GHSA-xpqw-6gx7-v673

SVGO: DoS through entity expansion in DOCTYPE (Billion Laughs)

Published Mar 6, 2026 · Updated Sep 10, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
svg svgo >= 2.1.0, < 2.8.1, >= 3.0.0, < 3.3.3, = 4.0.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-svgo 3.3.5+ds-1 —
ReleasePackageFixed inAdvisory
Red Hat Ansible Automation Platform Inside 2 receptor 1.6.4-2.el8ap RHSA-2026:13512
Red Hat Ansible Automation Platform Developer 2 receptor 1.6.4-2.el8ap RHSA-2026:13512
Red Hat Ansible Automation Platform 2 automation-controller-venv-tower 4.6.28-3.el8ap RHSA-2026:13512
Red Hat Ansible Automation Platform 2 automation-gateway-proxy +1 2.5.10-5.el8ap RHSA-2026:13512, RHSA-2026:6277
Red Hat Ansible Automation Platform 2 automation-gateway-server +11 2.5.20260422-2.el8ap RHSA-2026:13512
Red Hat Ansible Automation Platform 2 automation-platform-ui 2.6.7-1.el9ap RHSA-2026:6277
Red Hat Ansible Automation Platform 2 python3.12-jwcrypto 1.5.7-1.el8ap RHSA-2026:13512
Red Hat Ansible Automation Platform 2 python3.12-markdown 3.10.2-1.el8ap RHSA-2026:13512
Red Hat Ansible Automation Platform 2 python3.12-pillow 12.1.1-1.el9ap RHSA-2026:6277
Red Hat Ansible Automation Platform 2 python3.12-pyOpenSSL 26.0.0-1.el8ap RHSA-2026:13512
Red Hat Ansible Automation Platform 2 python3.12-pyasn1 0.6.3-1.el8ap RHSA-2026:13512
Red Hat Ansible Automation Platform 2 python3.12-pyjwt +1 2.12.1-1.el8ap RHSA-2026:13512
Red Hat Ansible Automation Platform 2 receptor 1.6.4-2.el8ap RHSA-2026:13512
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed velociraptor 0.76.7.0.git145.b60ef1146-1.1 openSUSE-SU-2026:12070-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling vitess-23 23.0.3-r7 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm svgo >= 2.1.0, < 2.8.1 2.8.1 GHSA-xpqw-6gx7-v673
npm svgo >= 3.0.0, < 3.3.3 3.3.3 GHSA-xpqw-6gx7-v673
npm svgo >= 4.0.0, < 4.0.1 4.0.1 GHSA-xpqw-6gx7-v673

Advisories 4

References