# CVE-2026-137952: svglib before 2.5.0 Denial of Service via Recursive Image Fragment References

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-27T15:22:31.879Z
- Modified: 2026-11-30T17:18:47.373Z
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- deeplook svglib: before 2.5.0

## Every score

- VulnCheck: CVSS:4.0 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:N`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/deeplook/svglib/security/advisories/GHSA-cmj4-5g24-pp37> (exploit, vendor-advisory)
- <https://github.com/deeplook/svglib/commit/be3c218c35845acb5ad88cca6352a85b0eaad00e> (patch)
- <https://github.com/deeplook/svglib/releases/tag/v2.5.0> (release-notes)
- <https://github.com/deeplook/svglib/blob/f99f799e6ed5841e3a405d0536a0a79ed991331c/src/svglib/svglib.py#L1427-L1440> (technical-description)
- <https://www.vulncheck.com/advisories/svglib-before-2.5.0-denial-of-service-via-recursive-image-fragment-references> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-137952](https://www.cve.org/CVERecord?id=CVE-2026-137952), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-137952](https://nvd.nist.gov/vuln/detail/CVE-2026-137952), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-137952 · Whole record: https://cve.day/CVE-2026-137952.json · Rebuilt by cve.day 2026-11-30T17:32:19.107Z
