Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes
CVE-2026-3298Published 21 Apr 2026, 14:45 UTC
Real-world risk
3.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.8
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from PSF)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| CPythonUbiquitous | < 3.11.16; >= 3.12.0, < 3.12.14; >= 3.13.0, < 3.13.14; >= 3.14.0a1, < 3.14.5rc1; >= 3.15.0a1, < 3.15.0b1 | 3.11.16, 3.12.14, 3.13.14, 3.14.5rc1, 3.15.0b1 |
What to do
Update to a fixed version: 3.11.16, 3.12.14, 3.13.14, 3.14.5rc1, 3.15.0b1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.4% chance of exploitation in 30 days (percentile 37), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 1 × threat 0.853.400
- Rounded to one decimal between 0.1 and 103.4
Exploitation and evidence timeline
- 21 Apr 2026 Published
- 3 Dec 2026 Risk 3.4 (cvss fallback)
Weakness
CWE-787
References
- https://github.com/python/cpython/pull/148809patch
- https://github.com/python/cpython/issues/148808issue-tracking
- https://mail.python.org/archives/list/[email protected]/thread/KWTPIQBOOOUNQP7UFSLBI437NJDFLA3F/vendor-advisory
- https://github.com/python/cpython/commit/1274766d3c29007ab77245a72abbf8dce2a9db4dpatch
- https://github.com/python/cpython/commit/27522b7d6e6588f03e61099dd858cd5a9314e2f2patch
- https://github.com/python/cpython/commit/95633d2aad4721e25e4dfd9f43dfb6e1edcbd741patch
- https://github.com/python/cpython/commit/6c8b85b3f1d83d5697ec19880960e1eacee56688patch
- https://github.com/python/cpython/commit/f5ca38739241fe7a40a4b116d5a8a1364dd6fea7patch
- CVE-2026-3298 on CVE.org