CVE-2026-117540

published 27 Oct 2026 · updated 2 Nov 2026

svg-sanitizer before 1.1.0 Quadratic CPU-Exhaustion DoS via PHP-Tag Stripping Loop

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.1.0.

svg-sanitizer from 0.5.3 before 1.1.0 contains a denial of service vulnerability in Sanitizer::sanitize() that repeatedly rescans the whole input while stripping PHP tags. Unauthenticated attackers can upload SVGs with many overlapping PHP tag openers and closers, forcing quadratic preg_replace passes that exhaust worker CPU for minutes.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
darylldoyle>=0.5.3 <1.1.01.1.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-117540 severity on Zeptric[![CVE-2026-117540](https://zeptric.io/badge/cve/CVE-2026-117540.svg)](https://zeptric.io/cve/CVE-2026-117540)