CVE-2026-3298: Python Software Foundation CPython Buffer Overflow

CVE-2026-3298

NVD

Vulnerability Summary

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.
Severity Level
UNKNOWN
Published Date
Apr 21, 2026
Last Modified
Aug 13, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.39%Probability
Root Weakness (CWE)
The product writes data past the end, or before the beginning, of the intended buffer.
CVSS v4.0 Base Metrics — Score 8.8 (HIGH)
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
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)Low
Integrity (Vulnerable System)Low
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None

Affected & Patched Versions

Affected Versions
  • Python Software Foundation CPython < 3.11.16
  • Python Software Foundation CPython >= 3.12.0 and < 3.12.14
  • Python Software Foundation CPython >= 3.13.0 and < 3.13.14
  • Python Software Foundation CPython >= 3.14.0a1 and < 3.14.5rc1
  • Python Software Foundation CPython >= 3.15.0a1 and < 3.15.0b1
Patched Versions
  • Python Software Foundation CPython 3.11.16
  • Python Software Foundation CPython 3.12.14
  • Python Software Foundation CPython 3.13.14
  • Python Software Foundation CPython 3.14.5rc1
  • Python Software Foundation CPython 3.15.0b1

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Python Software Foundation CPython and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Apr 21, 2026Published
  • Aug 13, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Python Software Foundation CPython CVEsYou are reading CVE-2026-3298. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 2, 2026 01:10 UTC