CVE-2023-50251
published medium CVSS 3.1 · 5.3php-svg-lib possible DoS caused by infinite recursion when parsing SVG document
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| dompdf | — | php-svg-lib< 0.5.1 | Affected | Not stated | GitHub_M |
| Debian | bookworm | php-dompdf-svg-lib | Advisory build | 0.5.0-3+deb12u1 | DSA-5642-1 |
Description
php-svg-lib is an SVG file parsing / rendering library. Prior to version 0.5.1, when parsing the attributes passed to a `use` tag inside an svg document, an attacker can cause the system to go to an infinite recursion. Depending on the system configuration and attack pattern this could exhaust the memory available to the executing process and/or to the server itself. An attacker sending multiple request to a system to render the above payload can potentially cause resource exhaustion to the point that the system is unable to handle incoming request. Version 0.5.1 contains a patch for this issue.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| dompdf | php-svg-lib | < 0.5.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-674 CWE-674: Uncontrolled Recursion
References
2Provider assertions
3GitHub_M · cna
php-svg-lib possible DoS caused by infinite recursion when parsing SVG document
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f4fe42e15a0d9476d84237251576e1a4965ca74b4ed57a3947e5e381bedaa5c6
- Ingested
- 23 Sep 2026, 08:13:59 UTC
- Source record
- Official CVE record