Multiple security vulnerabilities have been identified in svglib, an SVG rendering library, and in related SVG rendering contexts where untrusted documents can cause denial of service through excessive CPU and memory consumption. The primary issue affects SVG rendering paths that expand nested references without sufficient bounds, and it can also be reached through dependent HTML-to-PDF workflows. The affected version range includes 1.5.1 and versions up to 2.3.0, creating a high-risk availability problem for applications that render user-supplied graphics.
CVE-2026-132275: The SVG renderer expands nested use references without a total expansion limit, so a small attacker-controlled SVG can cause exponential growth of rendered nodes. This can exhaust CPU and memory in svglib and in dependent HTML-to-PDF conversion workflows, enabling denial of service.[/subscribe_to_unlock_form]
Multiple security vulnerabilities have been identified in svglib, an SVG rendering library, and in related SVG rendering contexts where untrusted documents can cause denial of service through excessive CPU and memory consumption. The primary issue affects SVG rendering paths that expand nested references without sufficient bounds, and it can also be reached through dependent HTML-to-PDF workflows. The affected version range includes 1.5.1 and versions up to 2.3.0, creating a high-risk availability problem for applications that render user-supplied graphics.
CVE-2026-132275: The SVG renderer expands nested use references without a total expansion limit, so a small attacker-controlled SVG can cause exponential growth of rendered nodes. This can exhaust CPU and memory in svglib and in dependent HTML-to-PDF conversion workflows, enabling denial of service.[emaillocker id="1283"]
CVE-2019-20446: This identifier describes a related SVG rendering denial-of-service issue in the same resource-exhaustion class. It involves a crafted SVG document causing excessive resource consumption in an SVG rendering component.
These vulnerabilities collectively present a significant availability risk for systems that render untrusted SVG content, especially thumbnail generation, preview services, and HTML-to-PDF conversion pipelines. The most exposed environments are those that accept user-supplied graphics or embedded images without strict resource limits. Organizations should treat such input as hostile and ensure their rendering workflows are protected against excessive expansion.
We recommend you to update svglib to version 2.3.1.
The following reports contain further technical details:
[/emaillocker]