CVEfocus › CVE database › CVE-2026-59943

CVE-2026-59943Dompdf: Embedded SVG images can leak existence of files and directories within the…

CVSS 6.3 MediumEPSS 0.4% (higher than 28% of CVEs)Published 2026-07-28Updated 2026-07-29Assigner: GitHub_M

Dompdf is an HTML to PDF converter for PHP. In versions 3.15 and prior, if a malicious actor can supply unrestricted content for rendering by Dompdf they can utilize the SVG rendering functionality to leak filesystem information when rendering PDF files using image references within a data-URI encoded SVG document. Using an <image> element inside a data-URI embedded SVG, an attacker can attempt to embed other files via the href or xlink:href attributes. When processing a file that does not exist (e.g. file:///DOESNOTEXIST), dompdf behaves differently than it does when accessing a file or directory that actually exists on the filesystem. This issue has been fixed in version 3.16.

CWE-209

What to do

Fixed builds are available from Packagist: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
4Fix pending
1Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04php-dompdfUnder investigationUBUNTU-CVE-2026-59943
Ubuntu 20.04php-dompdfFix pendingUBUNTU-CVE-2026-59943
Ubuntu 18.04php-dompdfFix pendingUBUNTU-CVE-2026-59943
Ubuntu 16.04php-dompdfFix pendingUBUNTU-CVE-2026-59943
Debian 12php-dompdfFix pendingDEBIAN-CVE-2026-59943
Packagist librarydompdf/dompdfFixed3.1.6GHSA-j8qw-6jw8-r297

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.