Vulnerability · Published Apr 21, 2026 · Assigned by PSF
CVE-2026-3298Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes
High 8.8
In plain English
A high-severity out-of-bounds write in CPython from Python Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities).
Severity (CVSS 4.0)8.8High
Exploit odds (30 days)0.4%top 66.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | python3.10 | no fix listed | UBUNTU-CVE-2026-3298 |
| Ubuntu:24.04:LTS | python3.12 | no fix listed | UBUNTU-CVE-2026-3298 |
| Ubuntu:25.10 | python3.13 | no fix listed | UBUNTU-CVE-2026-3298 |
| Ubuntu:25.10 | python3.14 | no fix listed | UBUNTU-CVE-2026-3298 |
| Ubuntu:26.04:LTS | python3.14 | no fix listed | UBUNTU-CVE-2026-3298 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Python Software Foundation | CPython | 0 – before 3.11.163.12.0 – before 3.12.143.13.0 – before 3.13.143.14.0a1 – before 3.14.5rc13.15.0a1 – before 3.15.0b1 |
Weakness: CWE-787 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/python/cpython/pull/148809 patch
- https://github.com/python/cpython/issues/148808 issue-tracking
- https://mail.python.org/archives/list/security-announce@python.org/thread/KWTPIQBOOOUNQP7UFSLBI437NJDFLA3F/ vendor-advisory
- https://github.com/python/cpython/commit/1274766d3c29007ab77245a72abbf8dce2a9db4d patch
- https://github.com/python/cpython/commit/27522b7d6e6588f03e61099dd858cd5a9314e2f2 patch
- https://github.com/python/cpython/commit/95633d2aad4721e25e4dfd9f43dfb6e1edcbd741 patch
- https://github.com/python/cpython/commit/6c8b85b3f1d83d5697ec19880960e1eacee56688 patch
- https://github.com/python/cpython/commit/f5ca38739241fe7a40a4b116d5a8a1364dd6fea7 patch