What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Python 3.11.16, 3.12.14, 3.13.14, 3.14.5rc1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-3298 or the next vulnerability affects your stack