The method "sockrecvfrominto()" 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.
{
"cwe_ids": []
}[
{
"digest": {
"length": 1323.0,
"function_hash": "227761299143883810241791832005353540525"
},
"id": "PSF-0000-CVE-2026-3298-43f81bdd",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/python/cpython/commit/1274766d3c29007ab77245a72abbf8dce2a9db4d",
"target": {
"function": "_overlapped_Overlapped_WSARecvFromInto_impl",
"file": "Modules/overlapped.c"
}
},
{
"digest": {
"length": 1323.0,
"function_hash": "227761299143883810241791832005353540525"
},
"id": "PSF-0000-CVE-2026-3298-5a70f488",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/python/cpython/commit/27522b7d6e6588f03e61099dd858cd5a9314e2f2",
"target": {
"function": "_overlapped_Overlapped_WSARecvFromInto_impl",
"file": "Modules/overlapped.c"
}
},
{
"source": "https://github.com/python/cpython/commit/27522b7d6e6588f03e61099dd858cd5a9314e2f2",
"id": "PSF-0000-CVE-2026-3298-7396bb9a",
"signature_version": "v1",
"target": {
"file": "Modules/overlapped.c"
},
"signature_type": "Line",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"166616786060588068590821112215786932896",
"238830455504565871423658759957963106381",
"264894183483622387247292261699288876946"
]
}
},
{
"source": "https://github.com/python/cpython/commit/1274766d3c29007ab77245a72abbf8dce2a9db4d",
"target": {
"file": "Modules/overlapped.c"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"166616786060588068590821112215786932896",
"238830455504565871423658759957963106381",
"264894183483622387247292261699288876946"
]
},
"id": "PSF-0000-CVE-2026-3298-ac113189"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"166616786060588068590821112215786932896",
"238830455504565871423658759957963106381",
"264894183483622387247292261699288876946"
]
},
"target": {
"file": "Modules/overlapped.c"
},
"deprecated": false,
"id": "PSF-0000-CVE-2026-3298-cbc25d9f",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/python/cpython/commit/95633d2aad4721e25e4dfd9f43dfb6e1edcbd741"
},
{
"digest": {
"length": 1323.0,
"function_hash": "227761299143883810241791832005353540525"
},
"id": "PSF-0000-CVE-2026-3298-d35edddb",
"signature_version": "v1",
"source": "https://github.com/python/cpython/commit/95633d2aad4721e25e4dfd9f43dfb6e1edcbd741",
"signature_type": "Function",
"target": {
"function": "_overlapped_Overlapped_WSARecvFromInto_impl",
"file": "Modules/overlapped.c"
},
"deprecated": false
}
]
"https://github.com/psf/advisory-database/blob/main/advisories/python/PSF-0000-CVE-2026-3298.json"
"2026-04-22T02:02:36Z"