UBUNTU-CVE-2026-110642

Source
https://ubuntu.com/security/CVE-2026-110642
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110642.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-110642
Upstream
Published
2026-10-15T00:00:00Z
Modified
2026-10-17T12:59:52Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • 8.5 (High) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:18.04:LTS
xhtml2pdf

Package

Name
xhtml2pdf
Purl
pkg:deb/ubuntu/xhtml2pdf?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.2b-1
0.2b-2
0.2.1-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python-xhtml2pdf",
            "binary_version":  "0.2.1-1"
        },
        {
            "binary_name":  "python3-xhtml2pdf",
            "binary_version":  "0.2.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110642.json"
Ubuntu:20.04:LTS
xhtml2pdf

Package

Name
xhtml2pdf
Purl
pkg:deb/ubuntu/xhtml2pdf?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.2.2-3
0.2.2-3build1
0.2.2-5
0.2.4-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-xhtml2pdf",
            "binary_version":  "0.2.4-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110642.json"
Ubuntu:22.04:LTS
xhtml2pdf

Package

Name
xhtml2pdf
Purl
pkg:deb/ubuntu/xhtml2pdf?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.2.4-1
0.2.4-1ubuntu1
0.2.5-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-xhtml2pdf",
            "binary_version":  "0.2.5-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110642.json"
Ubuntu:24.04:LTS
xhtml2pdf

Package

Name
xhtml2pdf
Purl
pkg:deb/ubuntu/xhtml2pdf?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.2.5-3
0.2.5-5

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-xhtml2pdf",
            "binary_version":  "0.2.5-5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110642.json"
Ubuntu:26.04:LTS
xhtml2pdf

Package

Name
xhtml2pdf
Purl
pkg:deb/ubuntu/xhtml2pdf?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.2.17+dfsg-1ubuntu1
0.2.17+dfsg-1ubuntu2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-xhtml2pdf",
            "binary_version":  "0.2.17+dfsg-1ubuntu2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110642.json"
Ubuntu:26.10
xhtml2pdf

Package

Name
xhtml2pdf
Purl
pkg:deb/ubuntu/xhtml2pdf?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.2.17+dfsg-1ubuntu2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-xhtml2pdf",
            "binary_version":  "0.2.17+dfsg-1ubuntu2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110642.json"