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.
CVE-2026-59941
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 0.5%, top 58% 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).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EG Risk
- 50(Track)EG Risk 50/100SSVC: Track
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 computedSeverity75% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 1%
- EPSS %ILE
- 42%
- KEV
- Not listed
Published
July 22, 2026
Last Modified
August 4, 2026
Advisory Details (3)
Auto-updated Jul 28, 2026Dompdf 3.1.6
Patch available: dompdf/dompdf v3.1.6
https://github.com/dompdf/dompdf/releases/tag/v3.1.6commit 7c65e7bbeccf (dompdf/dompdf)
Patch available: dompdf/dompdf v3.1.6 (contains commit 7c65e7bbeccf)
https://github.com/dompdf/dompdf/commit/7c65e7bbeccf146b2409740405af73949ad129d0Uncontrolled resource consumption based on declared BMP dimensions · Advisory · dompdf/dompdf · GitHub
https://github.com/dompdf/dompdf/security/advisories/GHSA-8hg6-c449-896mVendor Advisories for CVE-2026-59941(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(3 across 3 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| php-dompdf | 0.6.2+dfsg-3.1 ... 3.1.4+dfsg-2 (19 versions) | — | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| php-dompdf | 2.0.3+dfsg-1 ... 3.1.4+dfsg-2 (15 versions) | — | — |
Packagist(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| dompdf/dompdf | v0.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 9× in last 7d / 48× 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.
- 2026-09-15 03:11 UTCEPSS rescore
- 2026-09-14 02:03 UTCEG score recompute
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-13 01:21 UTCEG score recompute
- 2026-09-11 21:56 UTCEG score recompute
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-10 21:14 UTCEG score recompute
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-09 09:11 UTCEG score recompute
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 21:39 UTCEG score recompute
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-05 19:33 UTCEG score recompute
- 2026-09-05 07:06 UTCEG score recompute
- 2026-09-04 13:39 UTCEG score recompute
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 23:36 UTCEG score recompute
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-31 01:32 UTCEG score recompute
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 13:11 UTCEG score recompute
- 2026-08-30 01:22 UTCEPSS rescore
Show 66 moreShow fewer
- 2026-08-30 00:50 UTCEG score recompute
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-27 14:30 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-27 02:00 UTCEG score recompute
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-26 01:18 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 00:31 UTCEG score recompute
- 2026-08-24 12:10 UTCEG score recompute
- 2026-08-23 11:17 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 10:36 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 09:45 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 20:42 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 19:09 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-18 01:54 UTCEG score recompute
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 01:12 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 12:51 UTCEG score recompute
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 12:09 UTCEG score recompute
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-13 23:06 UTCEG score recompute
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-12 22:25 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-11 21:43 UTCEG score recompute
- 2026-08-11 09:22 UTCEG score recompute
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-09 20:19 UTCEG score recompute
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-08 19:38 UTCEG score recompute
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-07 18:56 UTCEG score recompute
- 2026-08-06 18:14 UTCEG score recompute
- 2026-08-06 13:47 UTCEPSS rescore
- 2026-08-06 05:53 UTCEG score recompute
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 16:48 UTCEG score recompute▲ 1.20
- 2026-08-04 16:47 UTCNVD updateCVSS v3 → 7.5 · severity → HIGH
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 14:59 UTCEG score recompute
- 2026-08-04 10:39 UTCEPSS rescore
- 2026-08-03 15:21 UTCEG score recompute
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-02 15:43 UTCEG score recompute
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 16:06 UTCEG score recompute
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-30 16:46 UTCEG score recompute
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 13:00 UTCEG score recompute
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-29 13:19 UTCEG score recompute
- 2026-07-28 21:26 UTCEG score recompute
- 2026-07-28 21:02 UTCEG score recompute▲ 6.30
- 2026-07-28 21:02 UTCMITRE cvelistV5CVSS v3 → 6.3 · CVSS v4 → 6.3
- 2026-07-23 03:21 UTCEG score recompute
- 2026-07-22 23:22 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-400
Frequently asked(5)
What is CVE-2026-59941?
When was CVE-2026-59941 disclosed?
Is CVE-2026-59941 actively exploited?
What is the CVSS score of CVE-2026-59941?
How do I remediate CVE-2026-59941?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-59941
Is Your Infrastructure Affected by CVE-2026-59941?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.