CVE-2026-3298: CWE-787 Out-of-bounds write in Python Software Foundation CPython
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.
AI Analysis
Technical Summary
The vulnerability CVE-2026-3298 involves an out-of-bounds write in the sock_recvfrom_into() method of asyncio.ProactorEventLoop on Windows platforms in CPython versions 3.11.0 and 3.15.0a1. The method fails to properly check buffer boundaries when the nbytes parameter is used, allowing data larger than the buffer to overwrite adjacent memory. This is classified as CWE-787 (Out-of-bounds Write). The flaw is specific to Windows and does not affect other operating systems. The CVSS 4.0 base score is 8.8, reflecting network attack vector, low attack complexity, no privileges or user interaction required, and high impact on availability. No patch or official fix has been documented as of the publication date.
Potential Impact
An attacker can cause an out-of-bounds write in memory on affected Windows CPython environments by sending data larger than the buffer size to the sock_recvfrom_into() method. This can lead to memory corruption, potentially causing application crashes or other unpredictable behavior. The vulnerability does not require privileges or user interaction to exploit and can be triggered remotely over the network. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the Python Software Foundation advisory for current remediation guidance. Until an official fix is released, users should consider avoiding the use of asyncio.ProactorEventLoop's sock_recvfrom_into() method on Windows or apply any recommended workarounds from the vendor. Monitor official Python security channels for updates.
CVE-2026-3298: CWE-787 Out-of-bounds write in Python Software Foundation CPython
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.
CVSS v4.0
Score 8.8high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-3298 involves an out-of-bounds write in the sock_recvfrom_into() method of asyncio.ProactorEventLoop on Windows platforms in CPython versions 3.11.0 and 3.15.0a1. The method fails to properly check buffer boundaries when the nbytes parameter is used, allowing data larger than the buffer to overwrite adjacent memory. This is classified as CWE-787 (Out-of-bounds Write). The flaw is specific to Windows and does not affect other operating systems. The CVSS 4.0 base score is 8.8, reflecting network attack vector, low attack complexity, no privileges or user interaction required, and high impact on availability. No patch or official fix has been documented as of the publication date.
Potential Impact
An attacker can cause an out-of-bounds write in memory on affected Windows CPython environments by sending data larger than the buffer size to the sock_recvfrom_into() method. This can lead to memory corruption, potentially causing application crashes or other unpredictable behavior. The vulnerability does not require privileges or user interaction to exploit and can be triggered remotely over the network. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the Python Software Foundation advisory for current remediation guidance. Until an official fix is released, users should consider avoiding the use of asyncio.ProactorEventLoop's sock_recvfrom_into() method on Windows or apply any recommended workarounds from the vendor. Monitor official Python security channels for updates.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PSF
- Date Reserved
- 2026-02-26T20:12:47.041Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e7913319fe3cd2cddd4302
Added to database: 4/21/2026, 3:01:07 PM
Last enriched: 5/14/2026, 2:54:10 AM
Last updated: 6/5/2026, 10:45:48 PM
Views: 361
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.