{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-59941","published":"2026-07-28T21:17:29.003000Z","last_modified":"2026-08-04T16:34:42.657000Z","status":"Analyzed","cvss":{"version":"4.0","score":6.3,"severity":"MEDIUM","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-400"],"cpes":[{"criteria":"cpe:2.3:a:dompdf_project:dompdf:*:*:*:*:*:*:*:*","part":"a","vendor":"dompdf_project","product":"dompdf","version_end_excluding":"3.1.6"}],"cpes_truncated":false,"vendors":["dompdf_project"],"products":["dompdf_project/dompdf"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-8hg6-c449-896m","ecosystem":"Packagist","name":"dompdf/dompdf","purl":"pkg:composer/dompdf/dompdf","ranges":[{"introduced":"0","fixed":"3.1.6"}],"versions":["v0.6.0","v0.6.1","v0.6.2","v0.7.0","v0.7.0-beta","v0.7.0-beta2","v0.7.0-beta3","v0.8.0","v0.8.1","v0.8.2","v0.8.3","v0.8.4","v0.8.5","v0.8.6","v1.0.0","v1.0.1","v1.0.2","v1.1.0","v1.1.1","v1.2.0","v1.2.1","v1.2.2","v2.0.0","v2.0.1","v2.0.2","v2.0.3","v2.0.4","v2.0.5","v2.0.7","v2.0.8","v3.0.0","v3.0.1","v3.0.2","v3.1.0","v3.1.1","v3.1.2","v3.1.3","v3.1.4","v3.1.5"],"versions_truncated":false}],"severity":"medium","priority_score":53,"links":{"html_es":"/es/cve/CVE-2026-59941/","html_en":"/en/cve/CVE-2026-59941/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-59941","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-59941"},"untrusted":{"vendor_name":"Dompdf Project","product_name":"Dompdf","desc_en":"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 data:image/bmp;base64,… URI inside attacker-controlled HTML, so no upload, no remote fetch, and no chroot-reachable file is required. I measured a 169-byte request driving a dompdf render to ~412 MB peak RSS and ~4.8 s of CPU/wall time, versus ~34 MB for an identically-sized benign request — roughly a 12× memory amplification per request, repeatable and unauthenticated. This issue has been fixed in version 3.16.","affected":[{"untrusted_vendor":"dompdf","untrusted_product":"dompdf","versions":[]}],"references":[{"url":"https://github.com/dompdf/dompdf/commit/7c65e7bbeccf146b2409740405af73949ad129d0","tags":["Patch"]},{"url":"https://github.com/dompdf/dompdf/releases/tag/v3.1.6","tags":["Release Notes"]},{"url":"https://github.com/dompdf/dompdf/security/advisories/GHSA-8hg6-c449-896m","tags":["Exploit","Vendor Advisory"]}]}}