p PatchFirst

CVE-2026-29074

CVE-2026-29074 · SVGO: DoS through entity expansion in DOCTYPE (Billion Laughs)

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

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.

CVSS 7.5 · High · EPSS 0.6% · Fix available

Published
Updated

Stack: system · node

Affected products and versions

  • svgo

    Versions
    • >= 2.1.0, < 2.8.1: Affected
    • >= 3.0.0, < 3.3.3: Affected
    • = 4.0.0: Affected

    No fix published

  • node-svgo Debian:14

    Versions
    • 3.3.2+ds-1
    Affected ranges
    • ECOSYSTEM: < 3.3.5+ds-1

    Update to 3.3.5+ds-1

  • svgo npm

    Affected ranges
    • SEMVER: ≥ 2.1.0, < 2.8.1

    Update to 2.8.1

  • svgo npm

    Affected ranges
    • SEMVER: ≥ 3.0.0, < 3.3.3

    Update to 3.3.3

  • svgo npm

    Versions
    • 4.0.0
    Affected ranges
    • SEMVER: ≥ 4.0.0, < 4.0.1

    Update to 4.0.1

Original sources

Check your server →