Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
Dompdf: Denial of Service (DoS) via Resource Exhaustion using Oversized Image Bitmaps
AV AC AT PR UI VC VI VA CVSS EPSS %ile KEV
N L P N N N N L 6.3 .0050 40.5 —
AFFECTED
Product Versions Fixed
dompdf < 3.1.6 – —
TIMELINE
Jul 7 Reserved by GitHub_M
Jul 28 EXPLOIT PUBLISHED — CVE-2026-59942 (dompdf). Public exploit reference added.
Jul 28 Published (CNA: GitHub_M)
Aug 4 EXPLOIT PUBLISHED — CVE-2026-59942 (dompdf). Public exploit reference added.
Description
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.
Lifecycle
Complete event history — 4 events, chronological
| Date | Event | Detail |
| July 7, 2026 | Reserved | Reserved by GitHub_M |
| July 28, 2026 | EXPLOIT PUBLISHED | EXPLOIT PUBLISHED — CVE-2026-59942 (dompdf). Public exploit reference added. |
| July 28, 2026 | Published | Published (CNA: GitHub_M) |
| August 4, 2026 | EXPLOIT PUBLISHED | EXPLOIT PUBLISHED — CVE-2026-59942 (dompdf). Public exploit reference added. |
Affected
Affected products and packages — 1 row
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| dompdf | dompdf | — | < 3.1.6 | — |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-59942 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.