Vulnerability Description
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 Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/deeplook/svglib/blob/f99f799e6ed5841e3a405d0536a0a79ed991331c
- https://github.com/deeplook/svglib/commit/be3c218c35845acb5ad88cca6352a85b0eaad0
- https://github.com/deeplook/svglib/releases/tag/v2.5.0
- https://github.com/deeplook/svglib/security/advisories/GHSA-cmj4-5g24-pp37
- https://www.vulncheck.com/advisories/svglib-before-2.5.0-denial-of-service-via-r
FAQ
What is CVE-2026-137952?
CVE-2026-137952 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 detectio...
How severe is CVE-2026-137952?
CVE-2026-137952 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-137952?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.