CVE-2026-55555 Details
Description
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.
A file existence oracle vulnerability has been identified in Dompdf, an HTML to PDF converter for PHP, affecting versions through 3.15. This vulnerability arises from the manipulation of the CSS @font-face directive. By sending malicious HTML that references local files via the file:// protocol, an attacker can cause PHP memory exhaustion. Dompdf's behavior varies based on the existence of the referenced file: existing files are processed repeatedly until they exhaust the memory limit, causing a crash, while non-existent files are quickly ignored. This discrepancy allows for the enumeration of sensitive files on the server, bypassing CHROOT restrictions. Exploitation requires the ability to send unrestricted or unsanitized HTML, a low memory limit, and the right conditions to trigger the overflow, such as having the Dompdf warning display enabled.
Users are advised to update to Dompdf version 3.1.6, which addresses this vulnerability by validating stylesheet URLs to prevent such attacks.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/dompdf/dompdf/security/advisories/GHSA-7x2p-4jvh-6384 | CISA-ADP | ExploitVendor Advisory |
| https://github.com/dompdf/dompdf/commit/75c39a083bf7298044fb27399b4cc183054438b4 | [email protected] | Patch |
| https://github.com/dompdf/dompdf/releases/tag/v3.1.6 | [email protected] | Release Notes |
| https://github.com/dompdf/dompdf/security/advisories/GHSA-7x2p-4jvh-6384 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-203 | Observable Discrepancy | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| dompdf project dompdf | < 3.16 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 5, 2026 | Initial Analysis | [email protected] |
| Jul 28, 2026 | New CVE Received | [email protected] |
| Jul 28, 2026 | CVE Modified | CISA-ADP |