PT-2026-153055
CVE-2026-132275
·
Published
2026-11-20
·
Updated
2026-11-22
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
svglib versions prior to 2.3.1
Description
svglib is susceptible to a denial of service attack via CPU and memory exhaustion. The
svg2rlg() renderer recursively expands nested SVG <use> references by deep-copying each referenced subtree. While the xlink href target() function in SvgRenderer.renderUse() rejects direct cycles, it allows acyclic reference graphs with repeated fan-out. An attacker can provide a small SVG file that triggers exponential node expansion, consuming excessive system resources. This issue also affects HTML-to-PDF workflows using xhtml2pdf when an embedded data:image/svg+xml image within an HTML img element is processed by pisa.CreatePDF(). This behavior is similar to the XML billion laughs attack.Recommendations
Update svglib to version 2.3.1.
As a temporary mitigation, restrict the rendering of SVG files from untrusted sources.
Found an issue in the description? Have something to add? Feel free to write us 👾