CVE-2026-55554CWE-20

CVE-2026-55554

High · published July 29, 2026

CVSS v3.1
7.5
EPSS
0%
Percentile
38.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00451 · 38.2th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2026-07-29T00:17Z
Affected products (1)
ProductVersionsFixed in
dompdf_project/dompdf< 3.1.63.1.6
References (3)
EPSS history
Timeline
  • 28 JUL 19:28Z
    Dompdf: Chroot Validation Bypass
    cvelistv5