CVE-2026-55555Dompdf: File existence oracle via font-face stylesheet declaration
Dompdf is an HTML to PDF converter for PHP. Versions 3.15 and prior are vulnerable to a File Existence Oracle attack through the manipulation of the CSS @font-face directive. By providing malicious HTML that references local files via the file:// protocol repeatedly, an attacker can trigger PHP memory exhaustion. Because Dompdf behaves differently depending on whether a referenced local file exists (an existing file is processed repeatedly until it triggers an "Allowed memory size exhausted" crash, whereas a missing file fails fast or is ignored and never hits the memory limit), an attacker can use this observable discrepancy as an oracle to enumerate sensitive files on the server regardless of CHROOT restrictions. Exploitation requires the attacker to supply unrestricted or unsanitized HTML in a request that permits large data, plus a configuration where Dompdf's memory limit is low enough to be exhausted (with $_dompdf_show_warnings=true making the overflow easier to reach). This issue has been fixed in version 3.16.
What to do
Fixed builds are available from Packagist: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | php-dompdf | Under investigation | UBUNTU-CVE-2026-55555 | |
| Ubuntu 20.04 | php-dompdf | Fix pending | UBUNTU-CVE-2026-55555 | |
| Ubuntu 18.04 | php-dompdf | Fix pending | UBUNTU-CVE-2026-55555 | |
| Ubuntu 16.04 | php-dompdf | Fix pending | UBUNTU-CVE-2026-55555 | |
| Debian 12 | php-dompdf | Fix pending | DEBIAN-CVE-2026-55555 | |
| Packagist library | dompdf/dompdf | Fixed | 3.1.6 | GHSA-7x2p-4jvh-6384 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- dompdf: affected: < 3.1.6
References
- https://github.com/dompdf/dompdf/security/advisories/GHSA-7x2p-4jvh-6384
- https://github.com/dompdf/dompdf/commit/75c39a083bf7298044fb27399b4cc183054438b4
- https://github.com/dompdf/dompdf/releases/tag/v3.1.6
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.