CVE-2026-110642 xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name
HighCVSS 8.5
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
10 packages: 1 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/xhtml2pdf(Debian 12) | = 0.2.5-3; = 0.2.5-4; = 0.2.5-5; = 0.2.15+dfsg-1 +4 more | No fix listed | No fix yet |
| debian/xhtml2pdf(Debian 13) | = 0.2.17+dfsg-1; All versions | No fix listed | No fix yet |
| debian/xhtml2pdf(Debian 14) | = 0.2.17+dfsg-1; All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel8(Red Hat quay 3) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel9(Red Hat quay 3) | All versions | No fix listed | No fix yet |
| ubuntu/xhtml2pdf(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/xhtml2pdf(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/xhtml2pdf(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/xhtml2pdf(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| pypi xhtml2pdf(PyPI) | < 0.2.19 | 0.2.19 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi xhtml2pdf(PyPI) | < 0.2.19 | 0.2.19 |
| redhat/quay/quay-rhel8(Red Hat:quay:3) | All versions | No fix listed |
| redhat/quay/quay-rhel9(Red Hat:quay:3) | All versions | No fix listed |
| debian/xhtml2pdf(Debian:12) | All versions | No fix listed |
| debian/xhtml2pdf(Debian:12) | = 0.2.15+dfsg-1 | No fix listed |
| debian/xhtml2pdf(Debian:12) | = 0.2.15+dfsg-2 | No fix listed |
| debian/xhtml2pdf(Debian:12) | = 0.2.16+dfsg-1 | No fix listed |
| debian/xhtml2pdf(Debian:12) | = 0.2.17+dfsg-1 | No fix listed |
| debian/xhtml2pdf(Debian:12) | = 0.2.5-3 | No fix listed |
| debian/xhtml2pdf(Debian:12) | = 0.2.5-4 | No fix listed |
| debian/xhtml2pdf(Debian:12) | = 0.2.5-5 | No fix listed |
| debian/xhtml2pdf(Debian:13) | All versions | No fix listed |
| debian/xhtml2pdf(Debian:13) | = 0.2.17+dfsg-1 | No fix listed |
| debian/xhtml2pdf(Debian:14) | All versions | No fix listed |
| debian/xhtml2pdf(Debian:14) | = 0.2.17+dfsg-1 | No fix listed |
| ubuntu/xhtml2pdf(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/xhtml2pdf(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/xhtml2pdf(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/xhtml2pdf(Ubuntu:26.10) | All versions | No fix listed |
References
- github.com issue-tracking patch
- github.com patch
- v0.2.19 Release Notes release-notes
- github.com technical-description
- VulnCheck Advisory: xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2552249 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-110642 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-101270 third-party-advisory