CVE-2026-137952
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 8.7 (HIGH)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 7.5)
CVSS v3.1 Base Metrics — Score 7.5 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh
Affected & Patched Versions
- deeplook svglib < 2.5.0
- deeplook svglib 2.5.0
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run deeplook svglib and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 27, 2026Published
- Nov 27, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new deeplook svglib CVEsYou are reading CVE-2026-137952. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/deeplook/svglib/security/advisories/GHSA-cmj4-5g24-pp37
- Patchhttps://github.com/deeplook/svglib/commit/be3c218c35845acb5ad88cca6352a85b0eaad00e
- Referencehttps://github.com/deeplook/svglib/releases/tag/v2.5.0
- Referencehttps://github.com/deeplook/svglib/blob/f99f799e6ed5841e3a405d0536a0a79ed991331c/src/svglib/svglib.py#L1427-L1440
- Referencehttps://www.vulncheck.com/advisories/svglib-before-2.5.0-denial-of-service-via-recursive-image-fragment-references
Data last checked: Nov 30, 2026 00:09 UTC