CVE-2020-8315
In Python (CPython) 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1, an insecure...
In Python (CPython) 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1, an insecure dependency load upon launch on Windows 7 may result in an attacker's copy of api-ms-win-core-path-l1-1-0.dll being loaded and used instead of the system's copy. Windows 8 and later are unaffected.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.5
In Python (CPython) 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1, an insecure dependency load upon launch on Windows 7 may result in an attacker's copy of api-ms-win-core-path-l1-1-0.dll being loaded and used instead of the system's copy. Windows 8 and later are unaffected.
- Record
CVE-2020-8315- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-427
- Updated
- 2026-11-02
CVE List No score
In Python (CPython) 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1, an insecure dependency load upon launch on Windows 7 may result in an attacker's copy of api-ms-win-core-path-l1-1-0.dll being loaded and used instead of the system's copy. Windows 8 and later are unaffected.
- Record
CVE-2020-8315- Updated
- 2026-11-02
EUVDEUVD-2020-29182 No score
In Python (CPython) 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1, an insecure dependency load upon launch on Windows 7 may result in an attacker's copy of api-ms-win-core-path-l1-1-0.dll being loaded and used instead of the system's copy. Windows 8 and later are unaffected.
- Record
EUVD-2020-29182- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-646c-5wg7-pw2g
5.5
In Python (CPython) 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1, an insecure...
In Python (CPython) 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1, an insecure dependency load upon launch on Windows 7 may result in an attacker's copy of api-ms-win-core-path-l1-1-0.dll being loaded and used instead of the system's copy. Windows 8 and later are unaffected.
- Record
GHSA-646c-5wg7-pw2g- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Weakness
- CWE-20, CWE-427
- Updated
- 2026-11-02
OSVALPINE-CVE-2020-8315
5.5
In Python (CPython) 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1, an insecure dependency load upon launch on Windows 7 may result in an attacker's copy of api-ms-win-core-path-l1-1-0.dll being loaded and used instead of the system's copy. Windows 8 and later are unaffected.
- Record
ALPINE-CVE-2020-8315- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVBELL-CVE-2020-8315
5.5
CVE-2020-8315 does not affect BellSoft software
- Record
BELL-CVE-2020-8315- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
Show 5 moreShow less
OSV
5.5
In Python (CPython) 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1, an insecure dependency load upon launch on Windows 7 may result in an attacker's copy of api-ms-win-core-path-l1-1-0.dll being loaded and used instead of the system's copy. Windows 8 and later are unaffected.
- Record
CVE-2020-8315- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-10
OSVBIT-libpython-2020-8315 No score
In Python (CPython) 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1, an insecure dependency load upon launch on Windows 7 may result in an attacker's copy of api-ms-win-core-path-l1-1-0.dll being loaded and used instead of the system's copy. Windows 8 and later are unaffected.
- Record
BIT-libpython-2020-8315- Updated
- 2026-11-02
OSVBIT-python-2020-8315 No score
In Python (CPython) 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1, an insecure dependency load upon launch on Windows 7 may result in an attacker's copy of api-ms-win-core-path-l1-1-0.dll being loaded and used instead of the system's copy. Windows 8 and later are unaffected.
- Record
BIT-python-2020-8315- Updated
- 2026-11-02
OSVBIT-python-min-2020-8315 No score
In Python (CPython) 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1, an insecure dependency load upon launch on Windows 7 may result in an attacker's copy of api-ms-win-core-path-l1-1-0.dll being loaded and used instead of the system's copy. Windows 8 and later are unaffected.
- Record
BIT-python-min-2020-8315- Updated
- 2026-11-02
OSVPSF-2020-7 No score
CVE-2020-8315: Unsafe DLL loading in getpathp.c on Windows 7
In Python (CPython) 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1, an insecure dependency load upon launch on Windows 7 may result in an attacker's copy of api-ms-win-core-path-l1-1-0.dll being loaded and used instead of the system's copy. Windows 8 and later are unaffected.
- Record
PSF-2020-7- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
python3Alpine:v3.10 |
before 3.7.7-r0 | 3.7.7-r0 |
python3Alpine:v3.11 |
before 3.8.2-r0 | 3.8.2-r0 |
python3Alpine:v3.12 |
before 3.8.2-r0 | 3.8.2-r0 |
python3Alpine:v3.13 |
before 3.8.2-r0 | 3.8.2-r0 |
python3Alpine:v3.14 |
before 3.8.2-r0 | 3.8.2-r0 |
python3Alpine:v3.15 |
before 3.8.2-r0 | 3.8.2-r0 |
python3Alpine:v3.16 |
before 3.8.2-r0 | 3.8.2-r0 |
python3Alpine:v3.17 |
before 3.8.2-r0 | 3.8.2-r0 |
python3Alpine:v3.18 |
before 3.8.2-r0 | 3.8.2-r0 |
python3Alpine:v3.19 |
before 3.8.2-r0 | 3.8.2-r0 |
Show 8 moreShow less
| Package | Affected | Fixed |
|---|---|---|
python3Alpine:v3.20 |
before 3.8.2-r0 | 3.8.2-r0 |
python3Alpine:v3.21 |
before 3.8.2-r0 | 3.8.2-r0 |
python3Alpine:v3.22 |
before 3.8.2-r0 | 3.8.2-r0 |
python3Alpine:v3.23 |
before 3.8.2-r0 | 3.8.2-r0 |
python3Alpine:v3.24 |
before 3.8.2-r0 | 3.8.2-r0 |
libpythonBitnami |
3.6.0 up to 3.6.11, 3.7.0 up to 3.7.7, 3.8.0 up to 3.8.2 | 3.6.113.7.73.8.2 |
pythonBitnami |
3.6.0 up to 3.6.11, 3.7.0 up to 3.7.7, 3.8.0 up to 3.8.2 | 3.6.113.7.73.8.2 |
python-minBitnami |
3.6.0 up to 3.6.11, 3.7.0 up to 3.7.7, 3.8.0 up to 3.8.2 | 3.6.113.7.73.8.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-8315 is a medium vulnerability (CVSS 5.5) in Python, published January 28, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.46%, the 73rd percentile. Fixed in python3 3.7.7-r0.