Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2023-50252: php-svg-lib is an SVG file parsing / rendering library

64
This week
HIGH 8.3REMOTEUPGRADE

CVE-2023-50252 is a high-severity flaw (CVSS 8.3) 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 an SVG file parsing / rendering library. Prior to version 0.5.1, when handling `<use>` tag that references an `<image>` tag, it merges the attributes from the `<use>` tag to the `<image>` tag. The problem pops up especially when the `href` attribute from the `<use>` tag has not been sanitized. This can lead to an unsafe file read that can cause PHAR Deserialization vulnerability in PHP prior to version 8. Version 0.5.1 contains a p

Why this priority

  • High severity
  • EPSS top 2%: very likely to be exploited
  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score8.3 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance23.9% (top 2%)
CISA exploited listNo
WeaknessCWE-15, CWE-502
Published2023-12-12
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: dompdf

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

dompdf php-svg-lib UPGRADE
Affected: < 0.5.1
Fixed in: 0.5.1
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy php-svg-lib || rpm -q php-svg-lib || php-svg-lib --version
2. UPGRADE to 0.5.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade php-svg-lib
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade php-svg-lib
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
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-2023-50252?

php-svg-lib: upgrade to 0.5.1. Exact commands for each OS are on this page.

Is CVE-2023-50252 being exploited?

CVE-2023-50252 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-2023-50252 affect?

CVE-2023-50252 affects php-svg-lib. Severity is high (CVSS 8.3). php-svg-lib is an SVG file parsing / rendering library. Prior to version 0.5.1, when handling `<use>` tag that references an `<image>` tag, it merges the attributes from the `<use>` tag to the `<image>` tag. The problem pops up especially w

How urgent is CVE-2023-50252?

Priority 64/100. High severity; EPSS top 2%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action

Software pages

PHP vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.