CVE-2026-137952
published high CVSS 4.0 · 8.7svglib before 2.5.0 Denial of Service via Recursive Image Fragment References
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| deeplook | — | svglib0 to < 2.5.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| deeplook | svglib | 0 to < 2.5.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-674 Uncontrolled Recursion
References
5- https://github.com/deeplook/svglib/blob/f99f799e6ed5841e3a405d0536a0a79ed991331c/src/svglib/svglib.py#L1427-L1440
- https://github.com/deeplook/svglib/commit/be3c218c35845acb5ad88cca6352a85b0eaad00e
- svglib v2.5.0 Release Notes https://github.com/deeplook/svglib/releases/tag/v2.5.0
- GitHub Security Advisory (GHSA-cmj4-5g24-pp37) https://github.com/deeplook/svglib/security/advisories/GHSA-cmj4-5g24-pp37
- VulnCheck Advisory: svglib before 2.5.0 Denial of Service via Recursive Image Fragment References https://www.vulncheck.com/advisories/svglib-before-2.5.0-denial-of-service-via-recursive-image-fragment-references
Provider assertions
2VulnCheck · cna
svglib before 2.5.0 Denial of Service via Recursive Image Fragment References
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e93d124507aad1f0484a435c97277d2db4836416e24e74fa9980bff3901bea7c
- Ingested
- 30 Nov 2026, 18:37:20 UTC
- Source record
- Official CVE record