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.
{
"cna_assigner": "PSF",
"cwe_ids": [
"CWE-787"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3298.json"
}{
"source": [
"AFFECTED_FIELD",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "3.11.0"
},
{
"fixed": "3.13.14"
},
{
"introduced": "3.14.0a1"
},
{
"fixed": "3.14.5rc1"
},
{
"introduced": "3.15.0a1"
},
{
"fixed": "3.15.0b1"
}
]
}[
{
"digest": {
"function_hash": "227761299143883810241791832005353540525",
"length": 1323.0
},
"id": "CVE-2026-3298-43f81bdd",
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/python/cpython/commit/1274766d3c29007ab77245a72abbf8dce2a9db4d",
"target": {
"file": "Modules/overlapped.c",
"function": "_overlapped_Overlapped_WSARecvFromInto_impl"
}
},
{
"digest": {
"function_hash": "227761299143883810241791832005353540525",
"length": 1323.0
},
"id": "CVE-2026-3298-5a70f488",
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/python/cpython/commit/27522b7d6e6588f03e61099dd858cd5a9314e2f2",
"target": {
"file": "Modules/overlapped.c",
"function": "_overlapped_Overlapped_WSARecvFromInto_impl"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"166616786060588068590821112215786932896",
"238830455504565871423658759957963106381",
"264894183483622387247292261699288876946"
]
},
"id": "CVE-2026-3298-7396bb9a",
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/python/cpython/commit/27522b7d6e6588f03e61099dd858cd5a9314e2f2",
"target": {
"file": "Modules/overlapped.c"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"166616786060588068590821112215786932896",
"238830455504565871423658759957963106381",
"264894183483622387247292261699288876946"
]
},
"id": "CVE-2026-3298-ac113189",
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/python/cpython/commit/1274766d3c29007ab77245a72abbf8dce2a9db4d",
"target": {
"file": "Modules/overlapped.c"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"166616786060588068590821112215786932896",
"238830455504565871423658759957963106381",
"264894183483622387247292261699288876946"
]
},
"id": "CVE-2026-3298-cbc25d9f",
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/python/cpython/commit/95633d2aad4721e25e4dfd9f43dfb6e1edcbd741",
"target": {
"file": "Modules/overlapped.c"
}
},
{
"digest": {
"function_hash": "227761299143883810241791832005353540525",
"length": 1323.0
},
"id": "CVE-2026-3298-d35edddb",
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/python/cpython/commit/95633d2aad4721e25e4dfd9f43dfb6e1edcbd741",
"target": {
"file": "Modules/overlapped.c",
"function": "_overlapped_Overlapped_WSARecvFromInto_impl"
}
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-3298.json"
"2026-06-18T09:56:31Z"