CVE-2023-50251: Denial of service caused by infinite recursion when parsing SVG document

medium Affects phenx/php-svg-lib. Feed 2026.10.29.1, updated 2026-10-28; published ; advisory modified .

Denial of service caused by infinite recursion when parsing SVG document

Package
phenx/php-svg-lib Composer
Affected versions
<0.5.1
Fixed in
0.5.1
Severity
medium  CVSS 5.3
Exploitation
not on CISA KEV · EPSS 1% (58.9th percentile)
Published
2023-12-13
Source
osv.dev

References

CWE-674
NVD recordphenx/php-svg-lib advisories

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# one-time install
pip install phpwarden

# then
phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories