CVEfocus › CVE database › CVE-2026-55554

CVE-2026-55554Dompdf: Chroot Validation Bypass

CVSS 2.3 LowEPSS 0.5% (higher than 40% of CVEs)Published 2026-07-28Updated 2026-07-29Assigner: GitHub_M

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.

CWE-20

What to do

Fixed builds are available from Packagist: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
4Fix pending
1Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04php-dompdfUnder investigationUBUNTU-CVE-2026-55554
Ubuntu 20.04php-dompdfFix pendingUBUNTU-CVE-2026-55554
Ubuntu 18.04php-dompdfFix pendingUBUNTU-CVE-2026-55554
Ubuntu 16.04php-dompdfFix pendingUBUNTU-CVE-2026-55554
Debian 12php-dompdfFix pendingDEBIAN-CVE-2026-55554
Packagist librarydompdf/dompdfFixed3.1.6GHSA-wvh6-f5jh-8gw4

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.