
CVE catalog
CVE-2026-59943
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
- Severity
- Medium · CVSS 6.3
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.42% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | php-dompdf | sid | 3.1.4+dfsg-2 | vulnerable |
| Debian | php-dompdf | bookworm | 2.0.3+dfsg-1+deb12u1 | vulnerable |
| Composer | dompdf/dompdf | Not reported | 3.1.6 | fixed |
| Ubuntu | php-dompdf | pro | 0.6.2+dfsg-3 | vulnerable |
| Ubuntu | php-dompdf | pro | 0.6.2+dfsg-3ubuntu0.18.04.1~esm1 | vulnerable |
| Ubuntu | php-dompdf | 20.04 | 0.6.2+dfsg-3 | vulnerable |
| Ubuntu | php-dompdf | 20.04 | 0.6.2+dfsg-3ubuntu0.20.04.1 | vulnerable |
| Ubuntu | php-dompdf | 22.04 | 0.6.2+dfsg-3.1 | vulnerable |
| Ubuntu | php-dompdf | 22.04 | 0.6.2+dfsg-3.1ubuntu0.1 | vulnerable |
Fixed-version evidence
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [php-dompdf]Affected
Details (2)
2.0.3+dfsg-1+deb12u1· all · bookwormAffected
nvd · php-dompdf · debian · bookworm; nvd · php-dompdf · debian · 12
2.0.3+dfsg-1+deb12u1· all · bookwormAffected
nvd · php-dompdf · debian · bookworm; nvd · php-dompdf · debian · 12
Observed:
References
- [https://github.com/advisories/GHSA-j8qw-6jw8-r297]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-59943]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-59943]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-59943]
- [https://security-tracker.debian.org/tracker/CVE-2026-59943]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-3403.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database]