SCA: security update for dompdf/dompdf (GHSA-f5gf-2cj8-52g2)

medium Tenable Self-Hosted Container Security Plugin ID 445145

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-59942)

Solution

Update the dompdf/dompdf library and its related packages to version 3.1.6 or later.

See Also

https://github.com/advisories/GHSA-f5gf-2cj8-52g2

Plugin Details

Severity: Medium

ID: 445145

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 7/23/2026

Updated: 8/5/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.74

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2026-59942

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.3

Threat Score: 2.9

Threat Vector: CVSS:4.0/E:P

Vector: 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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/22/2026

Vulnerability Publication Date: 7/22/2026

Reference Information

CVE: CVE-2026-59942