{"id":"CVE-2026-137952","aliases":["GHSA-cmj4-5g24-pp37"],"title":"svglib before 2.5.0 Denial of Service via Recursive Image Fragment References","originalDescription":"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.","severity":{"cvss":8.7,"vector":"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","label":"high"},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"svglib","range":">=0, <2.5.0","fixed":"2.5.0"}],"references":[{"url":"https://github.com/deeplook/svglib/security/advisories/GHSA-cmj4-5g24-pp37","type":"vendor-advisory"},{"url":"https://github.com/deeplook/svglib/commit/be3c218c35845acb5ad88cca6352a85b0eaad00e","type":"patch"},{"url":"https://github.com/deeplook/svglib/releases/tag/v2.5.0","type":"release-notes"},{"url":"https://github.com/deeplook/svglib/blob/f99f799e6ed5841e3a405d0536a0a79ed991331c/src/svglib/svglib.py#L1427-L1440","type":"technical-description"},{"url":"https://www.vulncheck.com/advisories/svglib-before-2.5.0-denial-of-service-via-recursive-image-fragment-references","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137952.json","type":"advisory"},{"url":"https://github.com/deeplook/svglib","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137952","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-27T16:27:13.695Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137952","license":"NVD terms of use","firstSeenAt":"2026-11-27T16:27:13.695Z"},{"name":"osv","at":"2026-11-28T13:54:54.442Z","url":"https://osv.dev/vulnerability/CVE-2026-137952","license":"CC-BY 4.0","firstSeenAt":"2026-11-28T13:21:52.891Z"},{"name":"cvelistV5","at":"2026-11-28T15:31:02.848Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-137952","license":"CVE Terms of Use","firstSeenAt":"2026-11-27T15:51:32.265Z"}],"firstSeenAt":"2026-11-27T15:51:32.265Z","publishedAt":"2026-11-27T15:22:31.879Z","modifiedAt":"2026-11-28T13:00:08.791Z"}