Technical impact
The fault resides in Svglib's rendering engine, where the SvgRenderer.renderNode() routine processes <image> elements without enforcing a recursion limit or detecting cycles. Attackers can craft SVG files that contain nested group elements or self‑referencing image fragments, which cause svg2rlg() to recurse until system resources are exhausted or a RecursionError terminates the process. This leads to a denial of service that affects service availability but not confidentiality or integrity.
Affected Systems
The flaw affects the deeplook svglib library, specifically all releases earlier than 2.5.0. Any application that imports svglib and invokes svg2rlg() is potentially vulnerable. Users relying on older svglib versions should verify the package version and apply updates.
Risk and Exploitability
The vulnerability received a CVSS score of 8.7, indicating high severity. The EPSS score is not available, and the flaw is not listed in the CISA KEV catalog, suggesting that, while exploitation is plausible, widespread attacks have not yet been observed. Assuming the code processes external SVG input, the likely attack vector involves uploading or embedding a crafted SVG into a system that renders it via svglib. In environments where svglib is exposed to untrusted data, an attacker can trigger the recursion and force a service interruption.