Skip to content

CVE-2026-3298 Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes

HighCVSS 8.8 EPSS 0.41%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Debian

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
Python Software Foundation CPython < 3.11.16; >= 3.12.0, < 3.12.14; >= 3.13.0, < 3.13.14; >= 3.14.0a1, < 3.14.5rc1 +1 more 3.11.16, 3.12.14, 3.13.14, 3.14.5rc1, 3.15.0b1 Fixed

Affected products

ProductAffected versionsFixed in
Python Software Foundation CPython < 3.11.16 3.11.16
Python Software Foundation CPython >= 3.12.0, < 3.12.14 3.12.14
Python Software Foundation CPython >= 3.13.0, < 3.13.14 3.13.14
Python Software Foundation CPython >= 3.14.0a1, < 3.14.5rc1 3.14.5rc1
Python Software Foundation CPython >= 3.15.0a1, < 3.15.0b1 3.15.0b1

References