CVE-2026-59942

MEDIUMPre-NVD 6.36.3
EchelonGraph scoreMEDIUM confidence

This medium-severity CVE scores 6.3 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.4%, top 68% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, secondary
Trending — 3 sources updated this weekElevated
6.3EG
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 6.3Exploit: Elevated riskExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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.

CVSS v3
6.3
EG Score
6.3(medium)
EG Risk
59(Attend)
EG Risk 59/100SSVC: Attend

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity63% × 45%
Exploitation40% × 40%
Automatability100% × 15%
Action: Remediate soon — notable exploitation risk.
EPSS PROB
0%
EPSS %ILE
32%
KEV
Not listed

Published

July 22, 2026

Last Modified

July 30, 2026

Advisory Details (4)

Auto-updated Jul 28, 2026
🔬 Proof of concept available. Patch available. Sources: github_commit, github_release, github.
github_release Patch Available

Dompdf 3.1.6

Patch available: dompdf/dompdf v3.1.6

https://github.com/dompdf/dompdf/releases/tag/v3.1.6
github_commit Patch Available

commit 89164eaabe0b (dompdf/dompdf)

Patch available: dompdf/dompdf v3.1.6 (contains commit 89164eaabe0b)

https://github.com/dompdf/dompdf/commit/89164eaabe0bb50c462f0b24f740044ba5fb0f99
github_commit Patch Available

commit 7c65e7bbeccf (dompdf/dompdf)

Patch available: dompdf/dompdf v3.1.6 (contains commit 7c65e7bbeccf)

https://github.com/dompdf/dompdf/commit/7c65e7bbeccf146b2409740405af73949ad129d0
github Patch Available🟡 PoC Available

Denial of Service (DoS) via Resource Exhaustion using Oversized Image Bitmaps · Advisory · dompdf/dompdf · GitHub

https://github.com/dompdf/dompdf/security/advisories/GHSA-f5gf-2cj8-52g2

Vendor Advisories for CVE-2026-59942(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Affected Packages

(1 across 1 ecosystem)
Packagist(1)
PackageVulnerable rangeFixed inDependents
dompdf/dompdfv0.6.0 ... v3.1.5 (39 versions)3.1.6

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 10× in last 7d / 12× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-30 16:47 UTCEG score recompute
  2. 2026-07-30 16:28 UTCEPSS rescore
  3. 2026-07-30 15:48 UTCEG score recompute
  4. 2026-07-30 01:30 UTCEPSS rescore
  5. 2026-07-30 01:30 UTCEPSS rescore
  6. 2026-07-29 15:24 UTCEG score recompute
  7. 2026-07-29 14:49 UTCEG score recompute
  8. 2026-07-28 21:26 UTCEG score recompute
  9. 2026-07-28 21:02 UTCEG score recompute 6.30
  10. 2026-07-28 21:02 UTCMITRE cvelistV5CVSS v3 → 6.3 · CVSS v4 → 6.3
  11. 2026-07-23 03:21 UTCEG score recompute
  12. 2026-07-22 23:22 UTCEG score recompute

Frequently asked(5)

What is CVE-2026-59942?
CVE-2026-59942 is a medium vulnerability published on July 22, 2026. 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…
When was CVE-2026-59942 disclosed?
CVE-2026-59942 was first published in the National Vulnerability Database on July 22, 2026, with the most recent update on July 30, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-59942 actively exploited?
CVE-2026-59942 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 67.7% of all scored CVEs.
What is the CVSS score of CVE-2026-59942?
CVE-2026-59942 has a CVSS v3 base score of 6.3 (NVD).
How do I remediate CVE-2026-59942?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-59942, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-59942

Explore →

Is Your Infrastructure Affected by CVE-2026-59942?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.