๐Ÿ” CVE Alert

CVE-2026-132275

HIGH 7.5

svglib: Exponential resource consumption via nested <use> references in svg2rlg

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

svglib reads SVG files and converts them to other formats. Prior to 2.3.1, the svg2rlg() renderer recursively expands nested SVG <use> references by deep-copying each referenced subtree; SvgRenderer.renderUse() in src/svglib/svglib.py calls xlink_href_target(), which rejects direct cycles but permits acyclic reference graphs with repeated fan-out. A small attacker-controlled SVG can therefore trigger exponentially increasing node expansion, consuming excessive CPU and memory in any application that renders it without a non-default option; HTML-to-PDF workflows using xhtml2pdf can reach the same renderer when an embedded data:image/svg+xml image in an HTML img element is passed to pisa.CreatePDF(). This issue is fixed in 2.3.1.

CWE CWE-400 CWE-776
Vendor deeplook
Product svglib
Published Nov 20, 2026
Last Updated Nov 20, 2026
Stay Ahead of the Next One

Get instant alerts for deeplook svglib

Be the first to know when new high vulnerabilities affecting deeplook svglib are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

deeplook / svglib
< 2.3.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/deeplook/svglib/security/advisories/GHSA-555j-qj3j-c8jv github.com: https://github.com/deeplook/svglib/commit/7380d3c3836940fd75f8e203fff80077b7d5a425 github.com: https://github.com/deeplook/svglib/releases/tag/v2.3.1