# CVE-2020-15523: Py_SetPath(): _Py_CheckPython3 uses uninitialized DLL path

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- 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): 0.91%, higher than 61% of CVEs (2026-12-01)
- Published: 2020-07-04T22:54:00.000Z
- Modified: 2026-10-14T10:17:30.327Z
- Also known as: PSF-2020-4, BIT-LIBPYTHON-2020-15523, BIT-PYTHON-2020-15523, BIT-PYTHON-MIN-2020-15523
- Weaknesses: CWE-427, CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

In Python 3.6 through 3.6.10, 3.7 through 3.7.8, 3.8 through 3.8.4rc1, and 3.9 through 3.9.0b4 on Windows, a Trojan horse python3.dll might be used in cases where CPython is embedded in a native application. This occurs because python3X.dll may use an invalid search path for python3.dll loading (after Py_SetPath has been used). NOTE: this issue CANNOT occur when using python.exe from a standard (non-embedded) Python installation on Windows.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- https://github.com/python/cpython: before 110dd153662a13b8ae1bb06348e5b1f118ab26d7; before 46cbf6148a46883110883488d3e9febbe46ba861; before 4981fe36c7477303de830e8dca929a02caaaffe4; before aa7f7756149a10c64d01f583b71e91814db886ab; before dcbaa1b49cd9062fb9ba2b9d49555ac6cd8c60b5; before f205f1000a2d7f8b044caf281041b3705f293480
- python python: from 3.5.0 before 3.5.10; from 3.6.0 before 3.6.12; from 3.7.0 before 3.7.9; from 3.8.0 before 3.8.4; 3.8.4; 3.9.0
- netapp snapcenter: no versions given
- libpython (Bitnami): from 3.5.0 before 3.5.10; from 3.6.0 before 3.6.12; from 3.7.0 before 3.7.9; from 3.8.0 before 3.8.4
- python (Bitnami): from 3.5.0 before 3.5.10; from 3.6.0 before 3.6.12; from 3.7.0 before 3.7.9; from 3.8.0 before 3.8.4
- python-min (Bitnami): from 3.5.0 before 3.5.10; from 3.6.0 before 3.6.12; from 3.7.0 before 3.7.9; from 3.8.0 before 3.8.4

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.9 Medium `AV:L/AC:M/Au:N/C:C/I:C/A:C`
- Bitnami Vulnerability Database: rating High

## References

- <https://bugs.python.org/issue29778> (advisory, issue-tracking, patch, report, vendor-advisory)
- <https://github.com/python/cpython/pull/21297> (advisory, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210312-0004/> (advisory, issue-tracking, patch, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15523> (web)

## Sources

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

---

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