# CVE-2023-50262: Denial of service caused by infinite recursion when parsing SVG images

Source: https://junglewise.ai/threats/cve-2023-50262-denial-of-service-caused-by-infinite-recursion-when-parsing-svg  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-12-13  
License: CC BY 4.0 with a link back

CVE-2023-50262 · Severity: low · CVSS 3.1 · Published 2023-12-13

Denial of service caused by infinite recursion when parsing SVG images

Technologies: [dompdf/dompdf (Packagist)](https://junglewise.ai/threats/technologies/dompdf-dompdf). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2023-50262 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-50262 being exploited in the wild.

**How severe is CVE-2023-50262?** Low severity, with a CVSS score of 3.1, published 13 December 2023.

**Which products and versions are affected?** dompdf/dompdf (Packagist) ECOSYSTEM:introduced=0,fixed=2.0.4.

**Is there a fix for CVE-2023-50262?** Yes. dompdf/dompdf (Packagist): upgrade to 2.0.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-50262?** Check whether you run dompdf/dompdf (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- dompdf/dompdf (Packagist): upgrade to 2.0.4 or later

  ```sh
  composer require dompdf/dompdf:^2.0.4
  ```


## Affected products

- dompdf/dompdf (Packagist) ECOSYSTEM:introduced=0,fixed=2.0.4

## Identifiers

- CVE-2023-50262
- GHSA-3qx2-6f78-w2j2

## Related threats

- [Dompdf information disclosure via SVG image references](https://junglewise.ai/threats/cve-2026-59943-dompdf-information-disclosure-via-svg-image-references)
- [Dompdf resource exhaustion Denial of Service via oversized images](https://junglewise.ai/threats/cve-2026-59942-dompdf-resource-exhaustion-denial-of-service-via-oversized-images)
- [Dompdf uncontrolled resource consumption in BMP processing](https://junglewise.ai/threats/cve-2026-59941-dompdf-uncontrolled-resource-consumption-in-bmp-processing)
- [Dompdf local file read via SVG data-URI bypass](https://junglewise.ai/threats/cve-2026-56722-dompdf-local-file-read-via-svg-data-uri-bypass)
- [Dompdf file existence oracle in CSS @font-face directive](https://junglewise.ai/threats/cve-2026-55555-dompdf-file-existence-oracle-in-css-font-face-directive)
