CVE-2026-55554

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

Configuration 1 (hide)

cpe:2.3:a:dompdf_project:dompdf:*:*:*:*:*:*:*:*

History

05 Aug 2026, 16:37

Type Values Removed Values Added
CPE cpe:2.3:a:dompdf_project:dompdf:*:*:*:*:*:*:*:*
First Time Dompdf Project
Dompdf Project dompdf
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
References () https://github.com/dompdf/dompdf/releases/tag/v3.1.6 - () https://github.com/dompdf/dompdf/releases/tag/v3.1.6 - Release Notes
References () https://github.com/dompdf/dompdf/security/advisories/GHSA-wvh6-f5jh-8gw4 - () https://github.com/dompdf/dompdf/security/advisories/GHSA-wvh6-f5jh-8gw4 - Exploit, Third Party Advisory

29 Jul 2026, 16:17

Type Values Removed Values Added
References () https://github.com/dompdf/dompdf/security/advisories/GHSA-wvh6-f5jh-8gw4 - () https://github.com/dompdf/dompdf/security/advisories/GHSA-wvh6-f5jh-8gw4 -

28 Jul 2026, 20:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-28 20:17

Updated : 2026-08-05 16:37


NVD link : CVE-2026-55554

Mitre link : CVE-2026-55554

CVE.ORG link : CVE-2026-55554


JSON object : View

Products Affected

dompdf_project

  • dompdf
CWE
CWE-20

Improper Input Validation