CVE-2020-15523
CVE-2020-15523 is a high-severity vulnerability in Python with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-427.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- CVSS v2: 6.9
- EPSS exploit prediction: 1% (55th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-427
- Affected product: Python
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2020-15523?
- 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.
- How severe is CVE-2020-15523?
- CVE-2020-15523 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2020-15523 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (55th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2020-15523?
- CVE-2020-15523 primarily affects Python. In total, 13 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2020-15523?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2020-15523 published?
- CVE-2020-15523 was published on 2020-07-04 and last updated on 2026-06-17.
References
- https://bugs.python.org/issue29778
- https://github.com/python/cpython/pull/21297
- https://security.netapp.com/advisory/ntap-20210312-0004/
Affected products (13)
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.8.4:rc1:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.9.0:alpha1:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.9.0:alpha2:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.9.0:alpha3:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.9.0:alpha4:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.9.0:alpha5:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.9.0:alpha6:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.9.0:beta1:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.9.0:beta2:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.9.0:beta3:*:*:*:*:*:*
- cpe:2.3:a:python:python:3.9.0:beta4:*:*:*:*:*:*
- cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:*
More vulnerabilities in Python
- CVE-2008-5031 — Critical (CVSS 10.0): Multiple integer overflows in Python 2.2.3 through 2.5.1, and 2.6, allow context-dependent attackers to have an unknown…
- CVE-2022-48565 — Critical (CVSS 9.8): An XML External Entity (XXE) issue was discovered in Python through 3.9.1. The plistlib module no longer accepts entity…
- CVE-2022-37454 — Critical (CVSS 9.8): The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow…
- CVE-2021-29921 — Critical (CVSS 9.8): In Python before 3,9,5, the ipaddress library mishandles leading zero characters in the octets of an IP address string.…
- CVE-2021-3177 — Critical (CVSS 9.8): Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code…
- CVE-2020-27619 — Critical (CVSS 9.8): In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via…
Other CWE-427 (Uncontrolled Search Path Element) vulnerabilities
- CVE-2025-4981 — Critical (CVSS 9.9): Mattermost versions 10.5.x <= 10.5.5, 9.11.x <= 9.11.15, 10.8.x <= 10.8.0, 10.7.x <= 10.7.2, 10.6.x <= 10.6.5 fail to…
- CVE-2025-69599 — Critical (CVSS 9.8): RayVentory Scan Engine through 12.6 Update 8 allows attackers to gain privileges if they control the value of the PATH…
- CVE-2019-25268 — Critical (CVSS 9.8): NREL BEopt 2.8.0.0 contains a DLL hijacking vulnerability that allows attackers to load arbitrary libraries by tricking…
- CVE-2023-53959 — Critical (CVSS 9.8): FileZilla Client 3.63.1 contains a DLL hijacking vulnerability that allows attackers to execute malicious code by…
- CVE-2025-65741 — Critical (CVSS 9.8): Sublime Text 3 Build 3208 or prior for MacOS is vulnerable to Dylib Injection. An attacker could compile a .dylib file…
- CVE-2024-23054 — Critical (CVSS 9.8): An issue in Plone Docker Official Image 5.2.13 (5221) open-source software that could allow for remote code execution…
Browse all CWE-427 (Uncontrolled Search Path Element) vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 120.28.109.188 (ipv4-addr)
- 120.224.15.67 (ipv4-addr)
- 141.109.168.51 (ipv4-addr)
- 222.88.237.152 (ipv4-addr)