CVE-2026-137952
svglib before 2.5.0 Denial of Service via Recursive Image Fragment References
CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-674 |
| Vendor | deeplook |
| Product | svglib |
| Published | Nov 27, 2026 |
Stay Ahead of the Next One
Get instant alerts for deeplook svglib
Be the first to know when new high vulnerabilities affecting deeplook svglib are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Affected Versions
deeplook / svglib
0 < 2.5.0
References
github.com: https://github.com/deeplook/svglib/security/advisories/GHSA-cmj4-5g24-pp37 github.com: https://github.com/deeplook/svglib/commit/be3c218c35845acb5ad88cca6352a85b0eaad00e github.com: https://github.com/deeplook/svglib/releases/tag/v2.5.0 github.com: https://github.com/deeplook/svglib/blob/f99f799e6ed5841e3a405d0536a0a79ed991331c/src/svglib/svglib.py#L1427-L1440 vulncheck.com: https://www.vulncheck.com/advisories/svglib-before-2.5.0-denial-of-service-via-recursive-image-fragment-references
Credits
GeniusKangaroo