{"id":"CVE-2026-3298","published":"2026-04-21T14:45:01Z","modified":"2026-08-13T00:27:55Z","title":"Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes","vendor":"Python Software Foundation","product":"CPython","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00407,"percentile":0.35901,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/python/cpython/pull/148809","tags":["patch"]},{"url":"https://github.com/python/cpython/issues/148808","tags":["issue-tracking"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/KWTPIQBOOOUNQP7UFSLBI437NJDFLA3F/","tags":["vendor-advisory"]},{"url":"https://github.com/python/cpython/commit/1274766d3c29007ab77245a72abbf8dce2a9db4d","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/27522b7d6e6588f03e61099dd858cd5a9314e2f2","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/95633d2aad4721e25e4dfd9f43dfb6e1edcbd741","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/6c8b85b3f1d83d5697ec19880960e1eacee56688","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/f5ca38739241fe7a40a4b116d5a8a1364dd6fea7","tags":["patch"]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":7.18},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"python-software-foundation","affectedVersions":[{"vendor":"Python Software Foundation","product":"CPython","versions":["< 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"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-21T19:15:36.206348Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-24136","exploited":false,"provenance":"source"}}