svglib before 2.5.0 contains a denial of service vulnerability in SvgRenderer.renderNode() that recursively renders internal href fragment references...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:22.04:LTSpython-svglib |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSpython-svglib |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10python-svglib |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSpython-svglib |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
svglib before 2.5.0 contains a denial of service vulnerability in SvgRenderer.renderNode() that recursively renders internal 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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com