svglib before 2.5.0 contains a denial of service vulnerability in SvgRenderer.renderNode() that recursively renders
Source GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 2.5.0 soon.
Data as of 27 Nov 2026, 20:15 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.5 |
- Patch
- Available – fixed in 2.5.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade svglib to 2.5.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| deeplooksvglib | Affected
| Fixed in
|
PyPIsvglibpkg:pypi/svglibOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should avoid processing untrusted SVG files with svglib versions prior to 2.5.0.
Description
svglib versions prior to 2.5.0 have a denial of service vulnerability in the SvgRenderer.renderNode() function. This function recursively processes internal <image> href fragment references without limits or cycle detection, allowing crafted SVG files with nested or self-referencing groups to cause excessive resource consumption or recursion crashes.
References
- github.com/deeplook/svglib/security/advisories/GHSA-cmj4-5g24-pp37 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-137952 (opens in a new tab)
- github.com/deeplook/svglib/commit/be3c218c35845acb5ad88cca6352a85b0eaad00e (opens in a new tab)
- github.com/deeplook/svglib/blob/f99f799e6ed5841e3a405d0536a0a79ed991331c/src/svglib/svglib.py (opens in a new tab)
- github.com/deeplook/svglib/releases/tag/v2.5.0 (opens in a new tab)
- vulncheck.com/advisories/svglib-before-2.5.0-denial-of-service-via-recursive-image-fragment-references (opens in a new tab)