Buffer overflow in Python Software Foundation Cpython
CVE-2026-3298
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.
Vulnerability class: Buffer Overflow
Published · last modified .
EPSS exploit prediction
EPSS 0.004, 33.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python Software Foundation Cpython — versions 0, 3.13.0, 3.14.0a1
Weakness classification (CWE)
References
- github.com/python/cpython/pull/148809 (patch)
- github.com/python/cpython/issues/148808 (issue-tracking)
- mail.python.org/archives/list/security-announce@python.org/thread/KWTPIQBOOOUNQ… (vendor-advisory)
- github.com/python/cpython/commit/1274766d3c29007ab77245a72abbf8dce2a9db4d (patch)
- github.com/python/cpython/commit/27522b7d6e6588f03e61099dd858cd5a9314e2f2 (patch)
- github.com/python/cpython/commit/95633d2aad4721e25e4dfd9f43dfb6e1edcbd741 (patch)
- github.com/python/cpython/commit/6c8b85b3f1d83d5697ec19880960e1eacee56688 (patch)
- github.com/python/cpython/commit/f5ca38739241fe7a40a4b116d5a8a1364dd6fea7 (patch)