SCA: security update for dompdf/dompdf (GHSA-8hg6-c449-896m)

medium Tenable Self-Hosted Container Security Plugin ID 445147

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 accept a BMP image and generates a
PDF-compatible PNG based only on its declared header dimensions and never bounds width × height before the
image is converted through GD. A 58-byte BMP whose header declares e.g. 6000×6000 is accepted and later
drives imagecreatetruecolor($width, $height) (and PHP's native BMP decoder) to allocate the full pixel
canvas. A payload can fit in a single HTTP request: the BMP can be inlined as a data:image/bmp;base64,…
URI inside attacker-controlled HTML, so no upload, no remote fetch, and no chroot-reachable file is
required. I measured a 169-byte request driving a dompdf render to ~412 MB peak RSS and ~4.8 s of CPU/wall
time, versus ~34 MB for an identically-sized benign request — roughly a 12× memory amplification per
request, repeatable and unauthenticated. This issue has been fixed in version 3.16. (CVE-2026-59941)

Solution

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

See Also

https://github.com/advisories/GHSA-8hg6-c449-896m

Plugin Details

Severity: Medium

ID: 445147

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-59941

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-59941

cwe: CWE-400