CVE-2026-3298: Python Software Foundation CPython · Out-of-bounds Write
Affects Python Software Foundation CPythonSource CVE Database V5
Not known to be exploited · CVSS 8.8 High · fixed in 3.15.0b1 : patch Python Software Foundation CPython soon.
Data as of 29 Oct 2026, 19:04 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 33% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.15.0b1, 3.14.5rc1, 3.13.14 +2
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
PyPIcpythonpkg:pypi/cpythonOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, users should consider avoiding the use of asyncio.ProactorEventLoop's sock_recvfrom_into() method with untrusted data on Windows or apply other protective measures as recommended by the Python Software Foundation once available.
Description
The method "sock_recvfrom_into()" of "asyncio.ProacterEventLoop" (Windows only) was missing a boundary check for the data buffer when using nbytes parameter. This allowed for an out-of-bounds buffer write if data was larger than the buffer size. Non-Windows platforms are not affected.
References
- github.com/python/cpython/pull/148809 (opens in a new tab)
- github.com/python/cpython/issues/148808 (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/KWTPIQBOOOUNQP7UFSLBI437NJDFLA3F/ (opens in a new tab)
- github.com/python/cpython/commit/1274766d3c29007ab77245a72abbf8dce2a9db4d (opens in a new tab)
- github.com/python/cpython/commit/27522b7d6e6588f03e61099dd858cd5a9314e2f2 (opens in a new tab)
- github.com/python/cpython/commit/95633d2aad4721e25e4dfd9f43dfb6e1edcbd741 (opens in a new tab)
- github.com/python/cpython/commit/6c8b85b3f1d83d5697ec19880960e1eacee56688 (opens in a new tab)
- github.com/python/cpython/commit/f5ca38739241fe7a40a4b116d5a8a1364dd6fea7 (opens in a new tab)