
CVE catalog
CVE-2026-113718
python-virtualenv: CVE-2026-113718
- Severity
- High · CVSS 7.1
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:A/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
- Source
- [NVD] · [CVE record]
- EPSS
- 0.18% · Oct 25, 2026
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, POSIX xonsh activation quote() uses repr() to write printable non-ASCII prompt or destination data into UTF-8 activate.xsh, while xonsh can read that script using $XONSH_ENCODING. Under a legacy multibyte codec such as GBK or Big5, a UTF-8 trail byte can consume the backslash before an adjacent quote, allowing the literal to close and attacker-influenced statements to execute when the user sources the generated script. This issue is fixed in version 21.14.9.
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 | python-virtualenv | sid | 21.5.1+ds-1 | vulnerable |
| Debian | python-virtualenv | forky | 21.5.1+ds-1 | vulnerable |
| Debian | python-virtualenv | trixie | 20.31.2+ds-1+deb13u1 | vulnerable |
| Debian | python-virtualenv | bookworm | 20.17.1+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 14.04 | 1.10.1-1 | vulnerable |
| Ubuntu | python-virtualenv | 14.04 | 1.11-1 | vulnerable |
| Ubuntu | python-virtualenv | 14.04 | 1.11-2 | vulnerable |
| Ubuntu | python-virtualenv | 14.04 | 1.11.4-1 | vulnerable |
| Ubuntu | python-virtualenv | 14.04 | 1.11.4-1ubuntu1 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 1.11.6+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 14.0.5+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 14.0.5+ds-2 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 14.0.5+ds-4 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.0+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.0+ds-2 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.1+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.1+ds-2 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.1+ds-3 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.1+ds-3ubuntu1 | vulnerable |
| Ubuntu | python-virtualenv | 16.04 | 15.0.1+ds-3ubuntu1.1 | vulnerable |
| Ubuntu | python-virtualenv | 18.04 | 15.1.0+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 18.04 | 15.1.0+ds-1.1 | vulnerable |
| Ubuntu | python-virtualenv | pro | 20.24.1+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | pro | 20.24.6+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | pro | 20.24.6+ds-2 | vulnerable |
| Ubuntu | python-virtualenv | pro | 20.25.0+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | pro | 20.25.0+ds-2 | vulnerable |
| Ubuntu | python-virtualenv | pro | 20.25.0+ds-2ubuntu0.1~esm1 | vulnerable |
| Ubuntu | python-virtualenv | 26.10 | 20.36.1+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 26.10 | 21.4.1+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 26.10 | 21.5.1+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 26.04 | 20.31.2+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 26.04 | 20.35.3+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 26.04 | 20.35.4+ds-1 | vulnerable |
| Ubuntu | python-virtualenv | 26.04 | 20.36.1+ds-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-virtualenv | source | sid | (unfixed) | not yet assigned | Not reported | [1151685] |
| Debian | python-virtualenv | source | forky | (unfixed) | not yet assigned | Not reported | [1151685] |
| Debian | python-virtualenv | source | trixie | (unfixed) | not yet assigned | Not reported | [1151685] |
| Debian | python-virtualenv | source | bookworm | (unfixed) | not yet assigned | Not reported | [1151685] |
Notes
[trixie] python-virtualenv: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-virtualenv]Affected
Source package: [python-virtualenv]
Details (2)
20.17.1+ds-1· all · bookwormAffected
dsa · python-virtualenv · debian · bookworm; dsa · python-virtualenv · debian · 12
20.17.1+ds-1· all · bookwormAffected
dsa · python-virtualenv · debian · bookworm; dsa · python-virtualenv · debian · 12
- [virtualenv]Affected
Source package: [python-virtualenv]
Details (2)
20.17.1+ds-1· all · bookwormAffected
dsa · python-virtualenv · debian · bookworm; dsa · python-virtualenv · debian · 12
20.17.1+ds-1· all · bookwormAffected
dsa · python-virtualenv · debian · bookworm; dsa · python-virtualenv · debian · 12
[Debian 13 (Trixie)]
- [python3-virtualenv]Affected
Source package: [python-virtualenv]
Details (2)
20.31.2+ds-1+deb13u1· all · trixieAffected
dsa · python-virtualenv · debian · 13
20.31.2+ds-1+deb13u1· all · trixieAffected
dsa · python-virtualenv · debian · 13
- [virtualenv]Affected
Source package: [python-virtualenv]
Details (2)
20.31.2+ds-1+deb13u1· all · trixieAffected
dsa · python-virtualenv · debian · 13
20.31.2+ds-1+deb13u1· all · trixieAffected
dsa · python-virtualenv · debian · 13
Observed:
References
- [https://github.com/pypa/virtualenv/commit/e5fc2e6e189a877ff559af288919e3525d13e5e0]
- [https://github.com/pypa/virtualenv/pull/3432]
- [https://github.com/pypa/virtualenv/releases/tag/21.14.9]
- [https://github.com/pypa/virtualenv/security/advisories/GHSA-394h-qwmc-48pf]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-113718]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-113718]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-113718]
- [https://security-tracker.debian.org/tracker/CVE-2026-113718]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-113718.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]