{"id":"CVE-2026-3298","aliases":["CVE-2026-3298","PSF-0000-CVE-2026-3298","BIT-LIBPYTHON-2026-3298","BIT-PYTHON-2026-3298","BIT-PYTHON-MIN-2026-3298","PSF-2026-20"],"related":[],"kind":"vulnerability","state":"published","title":"Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"El método ’sock_recvfrom_into()’ de ’asyncio.ProacterEventLoop’ (solo Windows) carecía de una comprobación de límites para el búfer de datos al usar el parámetro nbytes. Esto permitía una escritura de búfer fuera de límites si los datos eran mayores que el tamaño del búfer. Las plataformas que no son Windows no se ven afectadas.","source":"nvd"}],"published":"2026-04-21T14:45:01.919Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"PSF","scheme":"CVSS: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","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"PSF","scheme":"CVSS: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","score":8.8,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"python","introduced":"0","fixed":"3.11.16","status":"affected"},{"type":"python","introduced":"3.12.0","fixed":"3.12.14","status":"affected"},{"type":"python","introduced":"3.13.0","fixed":"3.13.14","status":"affected"},{"type":"python","introduced":"3.14.0a1","fixed":"3.14.5rc1","status":"affected"},{"type":"python","introduced":"3.15.0a1","fixed":"3.15.0b1","status":"affected"}],"vendor":"Python Software Foundation","product":"CPython","repo":"https://github.com/python/cpython","source":"cvelist"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"1274766d3c29007ab77245a72abbf8dce2a9db4d"},{"type":"git","status":"affected","fixed":"27522b7d6e6588f03e61099dd858cd5a9314e2f2"},{"type":"git","status":"affected","fixed":"95633d2aad4721e25e4dfd9f43dfb6e1edcbd741"}],"repo":"https://github.com/python/cpython","source":"psf"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"1274766d3c29007ab77245a72abbf8dce2a9db4d"},{"type":"git","status":"affected","fixed":"27522b7d6e6588f03e61099dd858cd5a9314e2f2"},{"type":"git","status":"affected","fixed":"95633d2aad4721e25e4dfd9f43dfb6e1edcbd741"},{"type":"git","status":"affected","fixed":"6c8b85b3f1d83d5697ec19880960e1eacee56688"},{"type":"git","status":"affected","fixed":"f5ca38739241fe7a40a4b116d5a8a1364dd6fea7"}],"repo":"https://github.com/python/cpython","source":"psf"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.11.16"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.14"},{"type":"semver","introduced":"3.13.0","status":"affected","fixed":"3.13.14"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.5"}],"ecosystem":"Bitnami","package":"libpython","purl":"pkg:bitnami/libpython","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.11.16"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.14"},{"type":"semver","introduced":"3.13.0","status":"affected","fixed":"3.13.14"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.5"}],"ecosystem":"Bitnami","package":"python","purl":"pkg:bitnami/python","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.11.16"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.14"},{"type":"semver","introduced":"3.13.0","status":"affected","fixed":"3.13.14"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.5"}],"ecosystem":"Bitnami","package":"python-min","purl":"pkg:bitnami/python-min","source":"bitnami"}],"references":[{"url":"https://github.com/python/cpython/pull/148809","tags":["patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/issues/148808","tags":["issue-tracking","report","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/KWTPIQBOOOUNQP7UFSLBI437NJDFLA3F/","tags":["advisory","vendor-advisory","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/1274766d3c29007ab77245a72abbf8dce2a9db4d","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/27522b7d6e6588f03e61099dd858cd5a9314e2f2","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/95633d2aad4721e25e4dfd9f43dfb6e1edcbd741","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/6c8b85b3f1d83d5697ec19880960e1eacee56688","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/f5ca38739241fe7a40a4b116d5a8a1364dd6fea7","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3298","tags":["web"],"sources":["bitnami"]}],"credits":["GGAutomaton (https://github.com/GGAutomaton)","Victor Stinner (https://github.com/vstinner)","Seth Larson (https://github.com/sethmlarson)"],"assigner":"PSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-21T19:15:36.206Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-3298","url":"https://www.cve.org/CVERecord?id=CVE-2026-3298","licence":"CVE Terms of Use","modified":"2026-08-13T00:27:55.667Z"},{"source":"psf","name":"Python Software Foundation","id":"PSF-0000-CVE-2026-3298","url":"https://osv.dev/vulnerability/PSF-0000-CVE-2026-3298","licence":"CC-BY-4.0","modified":"2026-07-06T16:11:35.785Z"},{"source":"psf","name":"Python Software Foundation","id":"PSF-2026-20","url":"https://osv.dev/vulnerability/PSF-2026-20","licence":"CC-BY-4.0","modified":"2026-08-10T14:03:59.543Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-3298","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3298","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPYTHON-2026-3298","url":"https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-3298","licence":"Apache-2.0","modified":"2026-08-19T09:45:12.131Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-2026-3298","url":"https://osv.dev/vulnerability/BIT-PYTHON-2026-3298","licence":"Apache-2.0","modified":"2026-08-19T09:45:21.802Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-MIN-2026-3298","url":"https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-3298","licence":"Apache-2.0","modified":"2026-08-19T09:45:20.711Z"}],"updatedAt":"2026-11-25T22:59:19.108Z","epss":{"score":0.00407,"percentile":0.37097,"date":"2026-12-01T12:00:22.000Z"}}