svglib Denial-of-Service Flaw in SVG Fragment Rendering (CVE-2026-137952)
Article Content
- •CVE-2026-137952 (CVSS 8.7) is a denial-of-service flaw in svglib before 2.5.0.
- •Crafted SVGs with mutually referencing or self-referencing internal fragments can cause CPU/memory exhaustion or crashes.
- •The flaw is an unpatched expansion path that bypasses the limits added in svglib 2.3.1 for CVE-2026-132275.
- •Exposed Python SVG-to-document conversion services accepting untrusted uploads are most at risk.
- •Upgrade to svglib 2.5.0 or later, or reject untrusted SVG input until patched.
CVE-2026-137952 affects svglib before 2.5.0, where SvgRenderer.renderNode() recursively renders internal href fragment references without expansion limits or cycle detection. Per Redpacketsecurity, crafted SVGs passed to svg2rlg() with mutually referencing nested groups or self-referencing images can cause exponential resource consumption or Python RecursionError crashes.
A GitHub security advisory (GHSA-cmj4-5g24-pp37) states the flaw is a second expansion path that bypasses the limits added to renderUse() in 2.3.1 under CVE-2026-132275, and describes a roughly 1.5 KB SVG triggering over 131,000 recursive calls.
Redpacketsecurity rates operational risk as high for exposed rendering workflows, noting no KEV, SSVC or EPSS data was available. The CVE is listed with a CVSS score of 8.7 (high).
Exposed Python applications handling untrusted SVG uploads are most affected; mitigations are upgrading to the fixed release, rejecting untrusted SVGs, and running renderers in isolated workers with resource limits. No exploitation in the wild is reported in the sources.
Ask AI about this cluster
Answers cite the sources they use
Timeline
More articles in this cluster (5)
Following this threat?
Track CVE-2026-132275 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.
Free account · no card needed
Common questions
Am I affected?
How urgent is this?
What should we do first?
Continue Reading
Broadcom patches critical VMware vCenter auth bypass flaws Broadcom disclosed VMware Security Advisory VMSA-2026-0009 on November 19, 2026, covering vulnerabilities in VMware vCenter, Tools, and SDDC Manager. CVE-2026-123890, a CVSS 9.8 authentication bypass in the VMware Directory Service, is listed in CISA's KEV catalog, which the verified record gives as 2026-11-20.…
Critical WP Rocket Path Traversal RCE (CVE-2026-125812) Under Active Exploitation CVE-2026-125812 is a path traversal flaw in the WP Rocket WordPress caching plugin, fixed in version 3.24.2, that allows unauthenticated remote code execution. Patchstack scores it CVSS 3.1 9.8 and says every release before 3.24.2 is affected; WP Media states the plugin is installed on more than 5.6 million sites. The…