SecurityContext

CVE-2023-50251: php-svg-lib - Denial of Service

  • Cve: CVE-2023-50251
  • Name: php-svg-lib - Denial of Service
  • 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.
  • Impact: Attackers can cause resource exhaustion leading to denial of service, making the system unresponsive or crashing.
  • Remediation: Update to version 0.5.1 or later.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00878
  • Epss percentile: 0.59784
  • Assignee: [email protected]
  • Published at: 2023-12-12T21:15:08Z
  • Age in days: 1078
  • Modified at: 2026-06-17T06:39:23Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-50251
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-674Uncontrolled Recursion

Public exploits

UrlSourceAdded date
https://github.com/dompdf/php-svg-lib/security/advisories/GHSA-ff5x-7qg5-vwf2nvd2023-12-12

References

UrlSourceTags
https://github.com/dompdf/php-svg-lib/commit/88163cbe562d9b391b3a352e54d9c89d02d77ee0nvdPatch
https://github.com/dompdf/php-svg-lib/security/advisories/GHSA-ff5x-7qg5-vwf2nvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
dompdf:php-svg-lib< 0.5.1nonvd/v1/products/dompdf/php-svg-lib

Projects

RepositoryLink kindsIndexedUrl
dompdf/php-svg-libcommit, fix, package, security_advisoryyes/v1/repositories/dompdf/php-svg-lib

Index

  • Repositories: 11
  • Repositories high signal: 9
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-12-12
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts