CVE-2026-3298
CVE-2026-3298 · Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.8 · High · EPSS 0.6% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
python
- Versions
- ≥ 0, < 3.11.16: Affected (python)
- ≥ 3.12.0, < 3.12.14: Affected (python)
- ≥ 3.13.0, < 3.13.14: Affected (python)
- ≥ 3.14.0a1, < 3.14.5rc1: Affected (python)
- ≥ 3.15.0a1, < 3.15.0b1: Affected (python)
Update to 3.11.16; Update to 3.12.14; Update to 3.13.14; Update to 3.14.5rc1; Update to 3.15.0b1
Original sources
- https://github.com/python/cpython/pull/148809
- https://github.com/python/cpython/issues/148808
- https://mail.python.org/archives/list/[email protected]/thread/KWTPIQBOOOUNQP7UFSLBI437NJDFLA3F/
- https://github.com/python/cpython/commit/1274766d3c29007ab77245a72abbf8dce2a9db4d
- https://github.com/python/cpython/commit/27522b7d6e6588f03e61099dd858cd5a9314e2f2
- https://github.com/python/cpython/commit/95633d2aad4721e25e4dfd9f43dfb6e1edcbd741
- https://github.com/python/cpython/commit/6c8b85b3f1d83d5697ec19880960e1eacee56688
- https://github.com/python/cpython/commit/f5ca38739241fe7a40a4b116d5a8a1364dd6fea7
- https://nvd.nist.gov/vuln/detail/CVE-2026-3298