CVE-2026-3298

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.

Credits

GGAutomaton (https://github.com/GGAutomaton)
Victor Stinner (https://github.com/vstinner)
Seth Larson (https://github.com/sethmlarson)

References