# CVE-2020-8315: CVE-2020-8315: Unsafe DLL loading in getpathp.c on Windows 7

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.46%, higher than 74% of CVEs (2026-12-01)
- Published: 2020-01-28T18:35:58.000Z
- Modified: 2026-10-14T09:17:21.327Z
- Also known as: PSF-2020-7, BIT-LIBPYTHON-2020-8315, BIT-PYTHON-2020-8315, BIT-PYTHON-MIN-2020-8315
- Weaknesses: CWE-427
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- https://github.com/python/cpython: before 51332c467ed2e07a191f903d554d0c54248e4d88; before 561c59777c8426fde0ef48b57cf02eddaeb2a5b8; before 6a65eba44bfd82ccc8bed4b5c6dd6637549955d5; before ad4a20b87d79a619ffbdea3f26848780899494e5
- python python: from 3.6.0 up to 3.6.10; from 3.7.0 up to 3.7.6; from 3.8.0 up to 3.8.1
- libpython (Bitnami): from 3.6.0 before 3.6.11; from 3.7.0 before 3.7.7; from 3.8.0 before 3.8.2
- python (Bitnami): from 3.6.0 before 3.6.11; from 3.7.0 before 3.7.7; from 3.8.0 before 3.8.2
- python-min (Bitnami): from 3.6.0 before 3.6.11; from 3.7.0 before 3.7.7; from 3.8.0 before 3.8.2

## Every score

- NVD: 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`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://bugs.python.org/issue39401> (advisory, issue-tracking, patch, report, vendor-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-8315> (web)

## Sources

- CVE List: [CVE-2020-8315](https://www.cve.org/CVERecord?id=CVE-2020-8315), CVE Terms of Use, modified 2026-10-14
- Python Software Foundation: [PSF-2020-7](https://osv.dev/vulnerability/PSF-2020-7), CC-BY-4.0, modified 2025-10-09
- NVD: [CVE-2020-8315](https://nvd.nist.gov/vuln/detail/CVE-2020-8315), Public domain, modified 2026-10-14
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2020-8315](https://osv.dev/vulnerability/BIT-LIBPYTHON-2020-8315), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PYTHON-2020-8315](https://osv.dev/vulnerability/BIT-PYTHON-2020-8315), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2020-8315](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2020-8315), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-8315 · Whole record: https://cve.day/CVE-2020-8315.json · Rebuilt by cve.day 2026-11-25T22:57:50.704Z
