Vulnerability · Published Jul 28, 2026 · Assigned by GitHub_M

CVE-2026-55555Dompdf: File existence oracle via font-face stylesheet declaration

Low 2.3

In plain English

A low-severity security flaw in dompdf from dompdf. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)2.3Low
Exploit odds (30 days)0.5%top 56.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12php-dompdfno fix listedDEBIAN-CVE-2026-55555
Packagistdompdf/dompdf3.1.6GHSA-7x2p-4jvh-6384
Ubuntu:22.04:LTSphp-dompdfno fix listedUBUNTU-CVE-2026-55555

Affected products (as reported)

VendorProductVersions
dompdf dompdf < 3.1.6

Weakness: CWE-203 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

References