CVE Explorer
CVE-2026-59941
Dompdf is an HTML to PDF converter for PHP. Versions 3.15 and prior accept a BMP image and generates a PDF-compatible PNG based only on its declared header dimensions and never bounds width × height before the image is converted through GD. A 58-byte BMP whose header declares e.g. 6000×6000 is accepted and later drives imagecreatetruecolor($width, $height) (and PHP's native BMP decoder) to allocate the full pixel canvas. A payload can fit in a single HTTP request: the BMP can be inlined as a dat
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:5e2d01a10d69aff9ec594ab3180aa0cadfa51513569ce4ed3c3a171c8cb0c381 · sha256:b006fa33765279e8… · /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:5e2d01a10d69aff9ec594ab3180aa0cadfa51513569ce4ed3c3a171c8cb0c381 · sha256:b006fa33765279e8… · /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:5e2d01a10d69aff9ec594ab3180aa0cadfa51513569ce4ed3c3a171c8cb0c381 · sha256:b006fa33765279e8… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 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:5e2d01a10d69aff9ec594ab3180aa0cadfa51513569ce4ed3c3a171c8cb0c381 · sha256:b006fa33765279e8… · /containers/cna/references/1
{"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:5e2d01a10d69aff9ec594ab3180aa0cadfa51513569ce4ed3c3a171c8cb0c381 · sha256:b006fa33765279e8… · /containers/cna/references/2
{"tags":["exploit"],"url":"https://github.com/dompdf/dompdf/security/advisories/GHSA-8hg6-c449-896m"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5e2d01a10d69aff9ec594ab3180aa0cadfa51513569ce4ed3c3a171c8cb0c381 · sha256:b006fa33765279e8… · /containers/adp/0/references/0
{"name":"https://github.com/dompdf/dompdf/security/advisories/GHSA-8hg6-c449-896m","tags":["x_refsource_CONFIRM"],"url":"https://github.com/dompdf/dompdf/security/advisories/GHSA-8hg6-c449-896m"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5e2d01a10d69aff9ec594ab3180aa0cadfa51513569ce4ed3c3a171c8cb0c381 · sha256:b006fa33765279e8… · /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.