Python Software Foundation CPython
Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA · CWE-787
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
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
- >= 3.15.0a1, < 3.15.0b1
Fixed in 3.11.16, 3.12.14, 3.13.14, 3.14.5rc1, 3.15.0b1
Mitigation
Upgrade CPython to 3.11.16 or 3.12.14 or 3.13.14 or 3.14.5rc1 or 3.15.0b1 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.