
CVE catalog
CVE-2026-110642
xhtml2pdf before 0.2.19 contains an OS command injection vulnerability in pisa.startViewer() that allows attackers to execute commands by interpolating unescaped file names into os.system. Attackers c
- Severity
- High · CVSS 8.5
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 1.13% · Oct 25, 2026
xhtml2pdf before 0.2.19 contains an OS command injection vulnerability in pisa.startViewer() that allows attackers to execute commands by interpolating unescaped file names into os.system. Attackers can supply an input file whose name contains a double quote and shell metacharacters, which runs OS commands as the invoking user when the pisa tool is used with -s/--start-viewer.
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 | xhtml2pdf | sid | 0.2.17+dfsg-1 | vulnerable |
| Debian | xhtml2pdf | forky | 0.2.17+dfsg-1 | vulnerable |
| Debian | xhtml2pdf | trixie | 0.2.17+dfsg-1 | vulnerable |
| Debian | xhtml2pdf | bookworm | 0.2.5-3 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | xhtml2pdf | source | sid | (unfixed) | unimportant | Not reported | [1152196] |
| Debian | xhtml2pdf | source | forky | (unfixed) | unimportant | Not reported | [1152196] |
| Debian | xhtml2pdf | source | trixie | (unfixed) | unimportant | Not reported | [1152196] |
| Debian | xhtml2pdf | source | bookworm | (unfixed) | unimportant | Not reported | [1152196] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-xhtml2pdf]Affected
Source package: [xhtml2pdf]
Details (2)
0.2.5-3· all · bookwormAffected
nvd · xhtml2pdf · debian · bookworm
0.2.5-3· all · bookwormAffected
nvd · xhtml2pdf · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_12160-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-110642]
- [https://osv.dev/vulnerability/CVE-2026-110642]
- [https://security-tracker.debian.org/tracker/CVE-2026-110642]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-110642.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]