CVE-2024-25117: php-svg-lib is a scalable vector graphics (SVG) file parsing/rendering library
CVE-2024-25117 is a medium-severity flaw (CVSS 6.8) affecting php-svg-lib. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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::fro
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-25117?
php-svg-lib: upgrade to 0.5.2. Exact commands for each OS are on this page.
Is CVE-2024-25117 being exploited?
CVE-2024-25117 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-25117 affect?
CVE-2024-25117 affects php-svg-lib. Severity is medium (CVSS 6.8). 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 i
How urgent is CVE-2024-25117?
Priority 39/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2023-50252 HIGH 8.3 UPGRADE php-svg-lib is an SVG file parsing / rendering library
- CVE-2023-50251 MEDIUM 5.3 UPGRADE php-svg-lib is an SVG file parsing / rendering library