Uncontrolled recursion in svglib enables denial of service
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-674.
Summary
svglib before 2.5.0 is affected. Its SvgRenderer.renderNode() function recursively renders internal image href fragment references without expansion limits or cycle detection (CWE-674). A remote attacker who supplies a crafted SVG to svg2rlg() can cause exponential resource consumption or RecursionError crashes, without authentication or user interaction.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade svglib to version 2.5.0, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA svglib (deeplook) Fixed in 2.5.0
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 2 products
- Red Hat Quay 3
- Red Hat Quay 5
Timeline
- 2026-11-27 Threatist record created from CVE-2026-137952
- 2026-11-27 Alias added: GHSA-fvj4-9rvp-wvfc
- 2026-11-28 Affected versions changed · Red Hat
- 2026-11-28 CVSS score added · Red Hat
- 2026-11-30 CISA SSVC decision points changed
References
More deeplook vulnerabilities
- TI-2026-95941 Exponential resource consumption in svglib via nested use references CVSS 3.1HIGH 7.5
Sources
- CVE-2026-137952 · CVE Program
- CVE-2026-137952 · NVD
- FIRST EPSS
- GHSA-fvj4-9rvp-wvfc · GitHub Advisory Database · CC BY 4.0
- CVE-2026-137952 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences