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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-59942— Dompdf: Denial of Service (DoS) via Resource Exhaustion using Oversized Image Bitmaps

CVSS 6.3 · Medium EPSS 0.40% · P32

Affected Version Matrix 1

VendorProductVersion RangeStatus
dompdfdompdf< 3.1.6affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-59942

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: Denial of Service (DoS) via Resource Exhaustion using Oversized Image Bitmaps
Source: CVE Program / CVE List V5
Vulnerability Description
Dompdf is an HTML to PDF converter for PHP. Versions 3.15 and prior are vulnerable to a Denial of Service (DoS) attack via resource exhaustion. An attacker can crash the PHP process by providing a specially crafted HTML document containing a single image with massive dimensions (e.g., 30,000x30,000 pixels). While Dompdf implements internal checks to validate image dimensions, these can be bypassed by using a high-entropy image (such as random noise) encoded in Base64 and wrapped in specific CSS containers. The vulnerability exists because the dimension validation happens early, but the resource allocation for calculating the object's bounding box and internal buffers during the rendering phase does not strictly limit the cumulative CPU time or memory usage for a single object that has passed the initial check. An unauthenticated remote attacker can cause a complete Denial of Service on the web server by submitting a crafted HTML string. This affects any application that allows users to provide HTML content or URLs that are subsequently converted to PDF using Dompdf. 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:N/VC:N/VI:N/VA:L/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.16之前版本存在资源管理错误漏洞,该漏洞源于资源分配不当,导致远程未认证攻击者通过提交特制的HTML文档(包含超大尺寸图像)造成拒绝服务。
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

VendorProductAffected VersionsCPESubscribe
dompdfdompdf < 3.1.6 -

II. Public POCs for CVE-2026-59942

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-59942

登录查看更多情报信息。

Patches & Fixes for CVE-2026-59942 (1)

Vendor Advisories for CVE-2026-59942 (1)

Vendor Pages for CVE-2026-59942 (1)

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

CVE-2026-567226.3 MEDIUMDompdf: Local file read due to improper file path validation in SVG images encoded as data
CVE-2026-599416.3 MEDIUMDompdf: Uncontrolled resource consumption based on declared BMP dimensions
CVE-2026-599436.3 MEDIUMDompdf: Embedded SVG images can leak existence of files and directories within the filesys
CVE-2026-555542.3 LOWDompdf: Chroot Validation Bypass
CVE-2026-555552.3 LOWDompdf: File existence oracle via font-face stylesheet declaration

IV. Related Vulnerabilities

V. Comments for CVE-2026-59942

No comments yet


Leave a comment