SVG File Processing Vulnerability in svglib Affected by Deep-Copying Subtree References
CVE-2026-132275
7.5HIGH
What is CVE-2026-132275?
The svglib library, which converts SVG files to various formats, exhibits a vulnerability that allows attackers to exploit nested SVG references. The renderer's implementation facilitates excessive node expansion due to deep-copying referenced subtrees. A malicious SVG can trigger significant CPU and memory consumption when rendered, particularly in applications like HTML-to-PDF workflows using the xhtml2pdf library. This flaw is mitigated in versions starting from 2.3.1, emphasizing the need for users to upgrade to protect their systems.
Affected Version(s)
svglib < 2.3.1
