CVE-2018-1000802: Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special
CVE-2018-1000802 is a critical-severity flaw (CVSS 9.8) affecting python, ubuntu linux, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in shutil module (make_archive function) that can result in Denial of service, Information gain via injection of arbitrary files on the system or entire drive. This attack appear to be exploitable via Passage of unfiltered user input to the function. This vulnerability appears
Why this priority
- Critical severity
- EPSS top 3%: very likely to be exploited
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 20.1% (top 3%) |
| CISA exploited list | No |
| Weakness | CWE-77 |
| Published | 2018-09-18 |
| Last modified | 2026-10-08 |
Last updated 2026-10-08 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: tna0y/CVE-2018-1000802-PoC (3 stars)
- Write-up: usn.ubuntu.com/3817-2/
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-1000802?
python: upgrade to 2.7.16; ubuntu linux: mitigate or apply the listed mitigation; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-1000802 being exploited?
CVE-2018-1000802 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-1000802 affect?
CVE-2018-1000802 affects python, ubuntu linux, debian linux. Severity is critical (CVSS 9.8). Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in shutil module (make_archive function) that can result in Denial
How urgent is CVE-2018-1000802?
Priority 72/100. Critical severity; EPSS top 3%: very likely to be exploited; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Python vulnerabilities · Ubuntu vulnerabilities · Debian vulnerabilities
Related CVEs
- CVE-2022-48564 MEDIUM 6.5 UPGRADE MITIGATE read_ints in plistlib.py in Python through 3.9.1 is vulnerable to a potential DoS attack via CPU and RAM exhau
- CVE-2022-48560 HIGH 7.5 UPGRADE MITIGATE A use-after-free exists in Python through 3.9 via heappushpop in heapq.
- CVE-2024-9287 HIGH 7.8 UPGRADE A vulnerability has been found in the CPython `venv` module and CLI where path names provided when creating a
- CVE-2026-3087 HIGH 7.5 UPGRADE If `shutil.unpack_archive()` is given a ZIP archive with an absolute Windows path containing a drive (`C:\\...
- CVE-2026-6019 MEDIUM 6.1 UPGRADE http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string co