Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-55554— Dompdf: Chroot Validation Bypass

Quick assessment

Affected
dompdf dompdf
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

dompdf是dompdf团队开源的一个 HTML 到 PDF 的转换器。 dompdf 3.1.6之前版本存在输入验证错误漏洞,该漏洞源于validateLocalUri()方法对chroot边界检查不足,由于路径规范化移除尾部斜杠导致前缀匹配绕过,允许攻击者读取允许目录外的敏感文件。

CVSS 2.3 · Low EPSS 0.45% · P37

Possible ATT&CK Techniques 1 AI

T1530 · Data from Cloud Storage

Affected Version Matrix 1

VendorProduct Version RangeStatus
dompdf dompdf < 3.1.6 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-55554

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Dompdf: Chroot Validation Bypass
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
输入验证不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
dompdf 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
dompdf是dompdf团队开源的一个 HTML 到 PDF 的转换器。 dompdf 3.1.6之前版本存在输入验证错误漏洞,该漏洞源于validateLocalUri()方法对chroot边界检查不足,由于路径规范化移除尾部斜杠导致前缀匹配绕过,允许攻击者读取允许目录外的敏感文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
dompdf dompdf < 3.1.6 -

II. Public POCs for CVE-2026-55554

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-55554

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-55554 (1)

Vendor Pages for CVE-2026-55554 (1)

Same Patch Batch · dompdf · 2026-07-28 · 6 CVEs total

CVE-2026-56722 6.3 MEDIUM Dompdf: Local file read due to improper file path validation in SVG images encoded as data
CVE-2026-59941 6.3 MEDIUM Dompdf: Uncontrolled resource consumption based on declared BMP dimensions
CVE-2026-59942 6.3 MEDIUM Dompdf: Denial of Service (DoS) via Resource Exhaustion using Oversized Image Bitmaps
CVE-2026-59943 6.3 MEDIUM Dompdf: Embedded SVG images can leak existence of files and directories within the filesys
CVE-2026-55555 2.3 LOW Dompdf: File existence oracle via font-face stylesheet declaration

IV. Related Vulnerabilities

V. Comments for CVE-2026-55554

No comments yet


Leave a comment