CVE-2026-59942CWE-400denial-of-service

CVE-2026-59942

High · published July 29, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
59.3
In the wild
Unconfirmed
What it is

Dompdf is an HTML to PDF converter for PHP. Versions 3.15 and prior are vulnerable to a Denial of Service (DoS) attack via resource exhaustion. An attacker can crash the PHP process by providing a specially crafted HTML document containing a single image with massive dimensions (e.g., 30,000x30,000 pixels). While Dompdf implements internal checks to validate image dimensions, these can be bypassed by using a high-entropy image (such as random noise) encoded in Base64 and wrapped in specific CSS containers. The vulnerability exists because the dimension validation happens early, but the resource allocation for calculating the object's bounding box and internal buffers during the rendering phase does not strictly limit the cumulative CPU time or memory usage for a single object that has passed the initial check. An unauthenticated remote attacker can cause a complete Denial of Service on the web server by submitting a crafted HTML string. This affects any application that allows users to provide HTML content or URLs that are subsequently converted to PDF using Dompdf. This issue has been fixed in version 3.16.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00900 · 59.3th percentile
Weakness
CWE-400 · Uncontrolled Resource Consumption
Published
2026-07-29T01:17Z
Affected products (1)
ProductVersionsFixed in
dompdf_project/dompdf< 3.1.63.1.6
References (5)
EPSS history
Timeline
  • 28 JUL 20:41Z
    Dompdf: Denial of Service (DoS) via Resource Exhaustion using Oversized Image Bitmaps
    cvelistv5