Skip to content
Heist/ feed
Unrated

DEBIAN-CVE-2026-59942

Type: advisorySource: OSV1 source record

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.

Announced Group revision 1
Original source ↗

DEBIAN-CVE-2026-59942

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-59942

php-dompdf

Source reference: /affected/0/package/name

Affected versions
2.0.3+dfsg-1

Source reference: /affected/0/versions

2.0.3+dfsg-1+deb12u1

Source reference: /affected/0/versions

2.0.3+dfsg-2

Source reference: /affected/0/versions

2.0.3+dfsg-3

Source reference: /affected/0/versions

2.0.3+dfsg-4

Source reference: /affected/0/versions

2.0.4+dfsg-1

Source reference: /affected/0/versions

2.0.4+dfsg-2

Source reference: /affected/0/versions

2.0.7+dfsg-1

Source reference: /affected/0/versions

3.0.0+dfsg-1

Source reference: /affected/0/versions

3.0.0+dfsg-2

Source reference: /affected/0/versions

3.0.1+dfsg-1

Source reference: /affected/0/versions

3.0.2+dfsg-1

Source reference: /affected/0/versions

3.1.0+dfsg-1

Source reference: /affected/0/versions

3.1.4+dfsg-1

Source reference: /affected/0/versions

3.1.4+dfsg-2

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "php-dompdf",
      "purl": "pkg:deb/debian/php-dompdf?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "2.0.3+dfsg-1",
      "2.0.3+dfsg-1+deb12u1",
      "2.0.3+dfsg-2",
      "2.0.3+dfsg-3",
      "2.0.3+dfsg-4",
      "2.0.4+dfsg-1",
      "2.0.4+dfsg-2",
      "2.0.7+dfsg-1",
      "3.0.0+dfsg-1",
      "3.0.0+dfsg-2",
      "3.0.1+dfsg-1",
      "3.0.2+dfsg-1",
      "3.1.0+dfsg-1",
      "3.1.4+dfsg-1",
      "3.1.4+dfsg-2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-59942.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#56042 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement