Skip to content
Heist/ feed
Back to feed
HighFix available

php-dompdf-svg-lib — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-50251

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.

Products
php-dompdf-svg-lib
Affected versions
0.5.0-3
Fixed versions
0.5.0-3+deb12u1
CVEs
CVE-2023-50251
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 16:06 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-50251

core-osv · Original source

Published 12 Dec 2023, 21:15 UTC

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.

osv:DEBIAN-CVE-2023-50251

php-dompdf-svg-lib

Fixed versions: 0.5.0-3+deb12u1

Complete source record
{
  "id": "17bb0770f8560e85cb407970c503c9fd1a6e5fd6b13ade4ca6ef736cd75e9ca0",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-50251",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-50251",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2023-50251",
    "products": [
      {
        "name": {
          "value": "php-dompdf-svg-lib",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.5.0-3+deb12u1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.5.0-3",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2023-50251",
      "aliases": [
        "DEBIAN-CVE-2023-50251"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.5.0-3+deb12u1"
                }
              ]
            }
          ],
          "package": {
            "name": "php-dompdf-svg-lib",
            "purl": "pkg:deb/debian/php-dompdf-svg-lib?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "0.5.0-3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-50251.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:02:42.285064160Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-50251"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-50251"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-50251",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 456641,
  "published_at": "2023-12-12T21:15:08.453+00:00"
}