Vulnerability · Published Oct 14, 2026 · Assigned by VulnCheck
CVE-2026-110642xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name
High 7.8
In plain English
A high-severity OS command injection in xhtml2pdf from xhtml2pdf. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 67% of all known vulnerabilities).
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | xhtml2pdf | no fix listed | DEBIAN-CVE-2026-110642 |
| Debian:13 | xhtml2pdf | no fix listed | DEBIAN-CVE-2026-110642 |
| Debian:14 | xhtml2pdf | no fix listed | DEBIAN-CVE-2026-110642 |
| Ubuntu:22.04:LTS | xhtml2pdf | no fix listed | UBUNTU-CVE-2026-110642 |
| Ubuntu:24.04:LTS | xhtml2pdf | no fix listed | UBUNTU-CVE-2026-110642 |
| Ubuntu:26.04:LTS | xhtml2pdf | no fix listed | UBUNTU-CVE-2026-110642 |
| Ubuntu:26.10 | xhtml2pdf | no fix listed | UBUNTU-CVE-2026-110642 |
Affected products (as reported)
Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/xhtml2pdf/xhtml2pdf/pull/835 patch, issue-tracking
- https://github.com/xhtml2pdf/xhtml2pdf/commit/f86380dad15b3a6810201d08755a3ee6b19d5063 patch
- v0.2.19 Release Notes release-notes
- https://github.com/xhtml2pdf/xhtml2pdf/blob/v0.2.18/xhtml2pdf/pisa.py#L393-L400 technical-description
- VulnCheck Advisory: xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name third-party-advisory