p PatchFirst

PatchFirst · Latest vulnerabilities

python-svglib vulnerabilities

Vulnerabilities published for python-svglib in the last 30 days: 2. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 2

  1. CVE-2026-137952

    High · CVSS 8.7No fix published

    svglib before 2.5.0 Denial of Service via Recursive Image Fragment References

    svglib before 2.5.0 contains a denial of service vulnerability in SvgRenderer.renderNode() that recursively renders internal <image> href fragment references without expansion limits or cycle detection. Attackers can supply crafted SVGs to svg2rlg() with nested groups referencing each other twice or self-referencing images to cause exponential resource consumption or RecursionError crashes.

    Published Updated
  2. CVE-2026-132275

    High · CVSS 7.5EPSS 0.61%Public exploitNo fix published

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

    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 ima

    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →