Packagist (PHP)Worst: Critical20 advisories
dompdf/dompdf: known vulnerabilities
dompdf/dompdf has 20 reviewed security advisories in the GitHub Advisory Database — 5 critical, 3 high, 10 moderate, 2 low. The most recent was published 2026-07-22. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the dompdf/dompdf versions running across your servers, containers and images, and ranks what to patch first.
How to fix dompdf/dompdf
Upgrade dompdf/dompdf to a release at or above the fixed version shown for each advisory below. For Packagist (PHP):
composer require dompdf/dompdf:^3.1.6 (composer audit)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (20)
Dompdf: File existence oracle via font-face stylesheet declaration
Low CWE-203
— Affected: before 3.1.6. Fixed in 3.1.6. Published 2026-07-22. GHSA-7x2p-4jvh-6384 · CVE-2026-55555
Dompdf: Uncontrolled resource consumption based on declared BMP dimensions
Moderate CWE-400
— Affected: before 3.1.6. Fixed in 3.1.6. Published 2026-07-22. GHSA-8hg6-c449-896m · CVE-2026-59941
Dompdf: Local file read due to improper file path validation in SVG images encoded as data-URI
Moderate CWE-20 CWE-22
— Affected: before 3.1.6. Fixed in 3.1.6. Published 2026-07-22. GHSA-cx96-42px-69fm · CVE-2026-56722
Dompdf: Denial of Service (DoS) via Resource Exhaustion using Oversized Image Bitmaps
Moderate CWE-400 CWE-770
— Affected: before 3.1.6. Fixed in 3.1.6. Published 2026-07-22. GHSA-f5gf-2cj8-52g2 · CVE-2026-59942
Dompdf: Embedded SVG images can leak existence of files and directories within the filesystem
Moderate CWE-209
— Affected: before 3.1.6. Fixed in 3.1.6. Published 2026-07-22. GHSA-j8qw-6jw8-r297 · CVE-2026-59943
Dompdf: Chroot Validation Bypass
Low CWE-20 CWE-22
— Affected: before 3.1.6. Fixed in 3.1.6. Published 2026-07-22. GHSA-wvh6-f5jh-8gw4 · CVE-2026-55554
Improper Restriction of XML External Entity Reference in dompdf/dompdf
Critical 9.8 CWE-611
— Affected: before 2.0.0. Fixed in 2.0.0. Published 2024-11-15. GHSA-3vjh-xrhf-v9xh · CVE-2021-3902
Deserialization of Untrusted Data in dompdf/dompdf
Critical 9.8 CWE-502
— Affected: before 2.0.0. Fixed in 2.0.0. Published 2024-11-15. GHSA-577p-7j7h-2jgf · CVE-2021-3838
Denial of service caused by infinite recursion when parsing SVG images
Moderate 5.3 CWE-20
— Affected: before 2.0.4. Fixed in 2.0.4. Published 2023-12-13. GHSA-3qx2-6f78-w2j2 · CVE-2023-50262
URI validation failure on SVG parsing. Bypass of CVE-2023-23924
Critical 10.0 CWE-436
— Affected: from 2.0.2 up to 2.0.3. Fixed in 2.0.3. Published 2023-02-07. GHSA-56gj-mvh6-rp75 · CVE-2023-24813
Dompdf vulnerable to URI validation failure on SVG parsing
Critical 10.0 CWE-551 CWE-863
— Affected: before 2.0.2. Fixed in 2.0.2. Published 2023-02-01. GHSA-3cw5-7cxw-v5qg · CVE-2023-23924
Dompdf allows remote file inclusion because URI validation failure does not halt font registration
High 7.5 CWE-552
— Affected: before 2.0.1. Fixed in 2.0.1. Published 2022-09-25. GHSA-6x28-7h8c-chx4 · CVE-2022-41343
Dompdf before v2.0.0 vulnerable to chroot check bypass
Moderate 5.3 CWE-73
— Affected: before 2.0.0. Fixed in 2.0.0. Published 2022-07-18. GHSA-5qj8-6xxj-hp9h · CVE-2022-2400
Server-Side Request Forgery in dompdf/dompdf
Moderate 5.3 CWE-918
— Affected: before 2.0.0. Fixed in 2.0.0. Published 2022-06-28. GHSA-pf6p-25r2-fx45 · CVE-2022-0085
Remote code injection in dompdf/dompdf
Critical 9.8 CWE-79
— Affected: before 1.2.1. Fixed in 1.2.1. Published 2022-04-03. GHSA-x752-qjv4-c4hc · CVE-2022-28368
DOMPDF Remote Code Execution
High 8.8 CWE-94
— Affected: from 0.6 up to 0.6.2. Fixed in 0.6.2. Published 2020-01-10. GHSA-jjwj-w3gc-gcw4 · CVE-2014-5013
DOMPDF Information Disclosure
Moderate 6.5 CWE-200
— Affected: from 0.6 up to 0.6.2. Fixed in 0.6.2. Published 2020-01-10. GHSA-jwf8-mjj8-r8hq · CVE-2014-5011
DOMPDF denial of service vulnerability
Moderate 6.5 CWE-400
— Affected: from 0.6 up to 0.6.2. Fixed in 0.6.2. Published 2020-01-10. GHSA-q83c-64c9-c42m · CVE-2014-5012
DOMPDF Arbitrary File Read
Moderate CWE-200
— Affected: from 0.6.0 up to 0.6.1. Fixed in 0.6.1. Published 2014-04-28. GHSA-qr6q-w4gj-3865 · CVE-2014-2383
DOMPDF Remote File Inclusion Vulnerability
High CWE-94
— Affected: from 0.6 up to 0.6.1. Fixed in 0.6.1. Published 2011-10-07. GHSA-48r9-4v93-x4wh · CVE-2010-4879
Find dompdf/dompdf across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.