What’s Vulnerable › Vulnerabilities
CVE-2018-1000117
- Severity: medium (CVSS 6.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-03-07 · updated 2026-06-17
- Weakness: CWE-120
Description
Python Software Foundation CPython version From 3.2 until 3.6.4 on Windows contains a Buffer Overflow vulnerability in os.symlink() function on Windows that can result in Arbitrary code execution, likely escalation of privilege. This attack appears to be exploitable via a python script that creates a symlink with an attacker controlled name or location. This vulnerability appears to have been fixed in 3.7.0 and 3.6.5.
Affected products
- Python: from 3.2.0 before 3.4.9; from 3.5.0 before 3.5.6; from 3.6.0 before 3.6.5; 3.7.0-beta1, 3.7.0-beta2, 3.7.0-beta3, 3.7.0-beta4, 3.7.0-beta5 — fixed in 3.4.9, 3.5.6, 3.6.5
How to fix
Upgrade to a fixed version: Python 3.4.9, 3.5.6, 3.6.5. Check the vendor advisory for mitigations.
References
- https://bugs.python.org/issue33001
- https://github.com/python/cpython/pull/5989
- https://bugs.python.org/issue33001
- https://github.com/python/cpython/pull/5989
Get alerted when CVE-2018-1000117 or the next vulnerability affects your stack