CVE-2026-55554

LOW CVSS 4.0: 2.3 EPSS 0.45%
Updated Aug 05, 2026
PHP
Parameter Value
CVSS 2.3 (LOW)
Affected Versions before 3.1.6
Fixed In 3.16
Type CWE-20 (Improper Input Validation)
Vendor PHP
Public PoC No

Dompdf is an HTML to PDF converter for PHP. In versions 3.15 and prior, the validateLocalUri() method enforces chroot boundaries with a strpos() prefix check after normalizing paths with  realpath() . Because normalization strips the trailing directory separator from  $chrootPath , the check only verifies that  $chrootPath  is a string prefix of $realfile, so a chroot of  /var/www  also matches sibling directories like /var/www2 , /var/www-admin, or /var/www_backup.

An attacker who controls part of the rendered HTML could exploit this to escape the chroot and read sensitive files outside the allowed directory. This issue has been fixed in version 3.16.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Dompdf_Project Dompdf
cpe:2.3:a:dompdf_project:dompdf:*:*:*:*:*:*:*:*
— 3.1.6