DEBIAN-CVE-2026-56722
Dompdf is an HTML to PDF converter for PHP. In versions 3.15 and prior, aAn attacker who controls the HTML input can bypass this restriction by embedding a target file path inside an SVG image delivered through a data: URI, because dompdf processes the SVG twice and the second pass does not enforce the same protections as the first. When rendering, dompdf hands the SVG to the separate php-svg-lib library with external references forced on, and that library has no knowledge of the chroot directory, blocks only the phar:// scheme, and ultimately reads the referenced file with no path or protocol validation. This lets an external, unauthenticated attacker read arbitrary image files from the server's file system in the default configuration. This issue has been fixed in version 3.16.
DEBIAN-CVE-2026-56722
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-56722
php-dompdf
Source reference: /affected/0/package/name
- Affected versions
- 2.0.3+dfsg-1
Source reference:
/affected/0/versions2.0.3+dfsg-1+deb12u1Source reference:
/affected/0/versions2.0.3+dfsg-2Source reference:
/affected/0/versions2.0.3+dfsg-3Source reference:
/affected/0/versions2.0.3+dfsg-4Source reference:
/affected/0/versions2.0.4+dfsg-1Source reference:
/affected/0/versions2.0.4+dfsg-2Source reference:
/affected/0/versions2.0.7+dfsg-1Source reference:
/affected/0/versions3.0.0+dfsg-1Source reference:
/affected/0/versions3.0.0+dfsg-2Source reference:
/affected/0/versions3.0.1+dfsg-1Source reference:
/affected/0/versions3.0.2+dfsg-1Source reference:
/affected/0/versions3.1.0+dfsg-1Source reference:
/affected/0/versions3.1.4+dfsg-1Source reference:
/affected/0/versions3.1.4+dfsg-2Source 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-56722.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #57349 · Revision 1
- Added to Heist Feed
- Publisher date