CVE-2024-25117
MEDIUMDescription
php-svg-lib is a scalable vector graphics (SVG) file parsing/rendering library. Prior to version 0.5.2, php-svg-lib fails to validate that font-family doesn't contain a PHAR url, which might leads to RCE on PHP < 8.0, and doesn't validate if external references are allowed. This might leads to bypass of restrictions or RCE on projects that are using it, if they do not strictly revalidate the fontName that is passed by php-svg-lib. The `Style::fromAttributes(`), or the `Style::parseCssStyle()` should check the content of the `font-family` and prevents it to use a PHAR url, to avoid passing an invalid and dangerous `fontName` value to other libraries. The same check as done in the `Style::fromStyleSheets` might be reused. Libraries using this library as a dependency might be vulnerable to some bypass of restrictions, or even remote code execution, if they do not double check the value of the `fontName` that is passed by php-svg-lib. Version 0.5.2 contains a fix for this issue.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Exploit Intelligence
Moderate risk: more likely to be exploited than 57% of all known CVEs.
References
Related Vulnerabilities
Other CWE-73 (External Control of File Name or Path) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2022-39952 | Critical | 9.8 | 100% | - | Fix |
| CVE-2024-8517 | Critical | 9.8 | 95% | - | Fix |
| CVE-2025-33053 | High | 8.8 | 86% | KEV | Fix |
| CVE-2023-4634 | Critical | 9.8 | 83% | - | Fix |
| CVE-2018-17246 | Critical | 9.8 | 82% | - | Fix |
| CVE-2024-43451 | Medium | 6.5 | 82% | KEV | Fix |
Common questions
How do I fix CVE-2024-25117?
Upgrade php-dompdf-svg-lib on debian 12 to 0.5.0-3+deb12u1 or later.
Is CVE-2024-25117 being actively exploited?
Not that we know of. CVE-2024-25117 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.93% is the estimated probability that it will be exploited in the next 30 days. That is higher than 57% of all scored CVEs.
How severe is CVE-2024-25117?
CVE-2024-25117 has a CVSS v3 base score of 6.8, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2024-25117 affect?
Published advisories record a fix for php-dompdf-svg-lib (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2024-25117
Markdown
[](https://tridentstack.com/cve/CVE-2024-25117)HTML
<a href="https://tridentstack.com/cve/CVE-2024-25117"><img src="https://tridentstack.com/cve/badge/CVE-2024-25117.svg" alt="CVE-2024-25117"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-02-05.