Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
Low
Published: 07/22/2026 (07/22/2026, 21:07:07 UTC)
Source: GCVE Database
Product: dompdf/dompdf

Description

Dompdf versions prior to 3.1.6 are vulnerable to a file existence oracle attack via the CSS @font-face directive. An attacker who can supply unsanitized HTML input referencing local files using the file:// protocol can cause Dompdf to behave differently depending on whether the file exists, leading to PHP memory exhaustion errors. This behavior allows attackers to confirm the presence of sensitive files on the server by observing if the PDF generation crashes or completes normally. Exploitation requires the ability to submit large HTML payloads and system memory limits low enough to trigger the overflow. The vulnerability enables information disclosure by revealing file existence without direct file access.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Packagistghsa
dompdf/dompdf
Affected versions
<3.1.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 23:40:26 UTC

Technical Analysis

Dompdf before version 3.1.6 is susceptible to a file existence oracle attack through manipulation of the CSS @font-face directive referencing local files via file:// URLs. When processing malicious HTML input, Dompdf attempts to load local files repeatedly. If the file exists, Dompdf exhausts PHP memory limits and crashes; if not, it fails quickly without exhausting memory. This discrepancy allows attackers to enumerate sensitive files on the server by submitting crafted HTML payloads and analyzing the PDF generation outcome. Exploitation requires the ability to provide unsanitized HTML input and system conditions that allow memory exhaustion. This vulnerability leads to information disclosure by confirming file existence remotely.

Potential Impact

The vulnerability allows remote attackers to confirm the existence of sensitive local files on a server running vulnerable Dompdf versions by causing memory exhaustion errors when files exist and normal rendering when they do not. This information disclosure can aid attackers in mapping the server's file system and identifying sensitive files such as configuration files or keys. There is no direct code execution or file content disclosure, but the file existence oracle can facilitate further attacks.

Mitigation Recommendations

No official patch or fix is currently confirmed for this vulnerability. Users should check the vendor advisory for updates. Until a fix is available, mitigate risk by sanitizing and validating all user-supplied HTML input to prevent injection of malicious CSS referencing local files. Additionally, configure PHP memory limits and Dompdf options to reduce the likelihood of memory exhaustion errors triggered by crafted inputs. Avoid allowing unrestricted HTML input to Dompdf rendering endpoints.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-7x2p-4jvh-6384
Osv Schema Version
1.4.0
Aliases
["CVE-2026-55555"]
Ecosystems
["Packagist"]
Database Specific Severity
LOW
Cvss Version
4.0

Threat ID: 6a6150ed9c2644c7f8da2c98

Added to database: 07/22/2026, 23:23:25 UTC

Last enriched: 07/22/2026, 23:40:26 UTC

Last updated: 07/23/2026, 01:04:55 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses