CyberRota Analysis
AI-GeneratedDompdf versions 3.15 and earlier are susceptible to a Denial of Service (DoS) attack due to improper handling of oversized images in HTML documents, which can lead to resource exhaustion and crash the PHP process. Attackers can exploit this vulnerability by submitting specially crafted HTML containing high-entropy Base64-encoded images, bypassing internal dimension checks and overwhelming server resources. Applications utilizing Dompdf for HTML to PDF conversion should prioritize updating to version 3.16 to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.
Related CVEs
Other vulnerabilities affecting the same vendor(s)