Out-of-bounds Write Affecting cpython package, versions [3.11.9,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-CPYTHON-16134974
  • published26 Apr 2026
  • disclosed21 Apr 2026
  • creditUnknown

Introduced: 21 Apr 2026

CVE-2026-3298  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write through asyncio.AbstractEventLoop.sock_recvfrom_into in the Windows ProactorEventLoop datagram receive path. An attacker can trigger a ValueError-free out-of-bounds receive by supplying an nbytes value larger than the destination buffer length when a program calls sock_recvfrom_into on a UDP socket. This can cause the event loop to read past the end of the provided buffer, leading to process crashes or memory corruption in applications that expose this API to untrusted input.

Notes

  • This vulnerability only affects Windows systems and is tied to the asyncio.ProactorEventLoop datagram receive path; the selector-based event loops used on non-Windows platforms are not in scope.

CVSS Base Scores

version 4.0
version 3.1