CVE-2026-55554
Published:July 28, 2026
Updated:August 04, 2026
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.
Affected Packages
https://github.com/dompdf/dompdf.git (GITHUB):
Affected version(s) >=v0.5.2 <v3.1.6Fix Suggestion:
Update to version v3.1.6dompdf/dompdf (PHP):
Affected version(s) >=dev-adapter-factory <v3.1.6Fix Suggestion:
Update to version v3.1.6dompdf/dompdf (PHP):
Affected version(s) >=v0.5.2 <v3.1.6Fix Suggestion:
Update to version v3.1.6Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
2.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.28