CVE-2026-3298 PUBLISHED

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

Assigner: PSF
Reserved: 26.02.2026 Published: 21.04.2026 Updated: 21.04.2026

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.

Metrics

CVSS 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
CVSS Score: 8.8

Product Status

Vendor Python Software Foundation
Product CPython
Versions Default: unaffected
  • affected from 3.11.0 to 3.15.0 (excl.)

Credits

  • GGAutomaton (https://github.com/GGAutomaton) reporter
  • Victor Stinner (https://github.com/vstinner) remediation reviewer
  • Seth Larson (https://github.com/sethmlarson) coordinator

References

Problem Types

  • CWE-787 Out-of-bounds write CWE