PT-2026-63553

CVE-2026-59941

·

Published

2026-07-22

·

Updated

2026-08-04

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Dompdf versions prior to 3.16
Description Dompdf fails to validate the dimensions of BMP images before processing them. The software relies solely on the declared header dimensions to allocate memory for the image canvas via the imagecreatetruecolor() function or the native imagecreatefrombmp() function, without verifying if the actual image data matches these dimensions. An attacker can provide a small BMP file with excessively large declared dimensions (e.g., 6000x6000) inlined as a data:image/bmp;base64 URI within attacker-controlled HTML. This leads to significant memory amplification and CPU consumption, as the allocation occurs in the GD library's native memory, bypassing PHP's memory limit configuration. This can be exploited by unauthenticated users to exhaust server resources and cause a denial of service.
Recommendations Update Dompdf to version 3.16.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-8HG6-C449-896M
Found an issue in the description? Have something to add? Feel free to write us 👾