CVE Explorer
CVE-2026-59942
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"dompdf","vendor":"dompdf","versions":[{"status":"affected","version":"< 3.1.6"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:4ed082c9b91610834dba6e91cde0f191cd562c8a9bc5f073c00e8fc62a0f8ace · sha256:a2e422b36fbae560… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6.3,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:4ed082c9b91610834dba6e91cde0f191cd562c8a9bc5f073c00e8fc62a0f8ace · sha256:a2e422b36fbae560… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-400","description":"CWE-400: Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4ed082c9b91610834dba6e91cde0f191cd562c8a9bc5f073c00e8fc62a0f8ace · sha256:a2e422b36fbae560… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"name":"https://github.com/dompdf/dompdf/commit/7c65e7bbeccf146b2409740405af73949ad129d0","tags":["x_refsource_MISC"],"url":"https://github.com/dompdf/dompdf/commit/7c65e7bbeccf146b2409740405af73949ad129d0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4ed082c9b91610834dba6e91cde0f191cd562c8a9bc5f073c00e8fc62a0f8ace · sha256:a2e422b36fbae560… · /containers/cna/references/1
{"name":"https://github.com/dompdf/dompdf/commit/89164eaabe0bb50c462f0b24f740044ba5fb0f99","tags":["x_refsource_MISC"],"url":"https://github.com/dompdf/dompdf/commit/89164eaabe0bb50c462f0b24f740044ba5fb0f99"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4ed082c9b91610834dba6e91cde0f191cd562c8a9bc5f073c00e8fc62a0f8ace · sha256:a2e422b36fbae560… · /containers/cna/references/2
{"name":"https://github.com/dompdf/dompdf/releases/tag/v3.1.6","tags":["x_refsource_MISC"],"url":"https://github.com/dompdf/dompdf/releases/tag/v3.1.6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4ed082c9b91610834dba6e91cde0f191cd562c8a9bc5f073c00e8fc62a0f8ace · sha256:a2e422b36fbae560… · /containers/cna/references/3
{"tags":["exploit"],"url":"https://github.com/dompdf/dompdf/security/advisories/GHSA-f5gf-2cj8-52g2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4ed082c9b91610834dba6e91cde0f191cd562c8a9bc5f073c00e8fc62a0f8ace · sha256:a2e422b36fbae560… · /containers/adp/0/references/0
{"name":"https://github.com/dompdf/dompdf/security/advisories/GHSA-f5gf-2cj8-52g2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/dompdf/dompdf/security/advisories/GHSA-f5gf-2cj8-52g2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4ed082c9b91610834dba6e91cde0f191cd562c8a9bc5f073c00e8fc62a0f8ace · sha256:a2e422b36fbae560… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.