Skip to main content

Svglib

2 CVEs product

Monthly

CVE-2026-137952 Nov 27, 15:22 HIGH PATCH This Week

Uncontrolled recursion in svglib's SvgRenderer.renderNode() lets a crafted SVG crash or stall any application that converts untrusted SVG into PDF via svg2rlg(). Affected are svglib up to and including 2.4.0; the internal <image href="#..."> fragment path renders referenced groups recursively without the cycle detection and expansion budgets that renderUse() gained in 2.3.1, so a roughly 2 KB binary-tree payload amplifies exponentially (2^n) into CPU and memory exhaustion, while a two-line self- or mutually-referencing <image> raises an unhandled RecursionError. The vendor shipped svglib 2.5.0 to fix it; no confirmed active exploitation (CISA KEV) and no independently verified working exploit code is reported, though the advisory publishes detailed proof-of-concept scripts, and the flaw requires no authentication (CVSS 4.0 PR:N/UI:N), with impact limited to availability (VA:H, VC:N/VI:N).

Denial Of Service Red Hat Svglib
NVD GitHub
CVSS 4.0
8.7
EPSS
0.8%
CVE-2020-10799 Mar 20, 23:15 PyPI CRITICAL POC PATCH Act Now

The svglib package through 0.9.3 for Python allows XXE attacks via an svg2rlg call. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Python XXE Svglib
NVD GitHub
CVSS 3.1
9.8
EPSS
1.4%
EPSS 1% CVSS 8.7
HIGH PATCH This Week

Uncontrolled recursion in svglib's SvgRenderer.renderNode() lets a crafted SVG crash or stall any application that converts untrusted SVG into PDF via svg2rlg(). Affected are svglib up to and including 2.4.0; the internal <image href="#..."> fragment path renders referenced groups recursively without the cycle detection and expansion budgets that renderUse() gained in 2.3.1, so a roughly 2 KB binary-tree payload amplifies exponentially (2^n) into CPU and memory exhaustion, while a two-line self- or mutually-referencing <image> raises an unhandled RecursionError. The vendor shipped svglib 2.5.0 to fix it; no confirmed active exploitation (CISA KEV) and no independently verified working exploit code is reported, though the advisory publishes detailed proof-of-concept scripts, and the flaw requires no authentication (CVSS 4.0 PR:N/UI:N), with impact limited to availability (VA:H, VC:N/VI:N).

Denial Of Service Red Hat Svglib
NVD GitHub
EPSS 1% CVSS 9.8
CRITICAL POC PATCH Act Now

The svglib package through 0.9.3 for Python allows XXE attacks via an svg2rlg call. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Python XXE Svglib
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy