CVE-2024-12254: Unbounded memory buffering in SelectorSocketTransport.writelines()
Python Software Foundation · CPython
Vendor fix available · Affected: Python Software Foundation CPython · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 79% of scored CVEs
DescriptionCVE.org
Starting in Python 3.12.0, the asyncio._SelectorSocketTransport.writelines() method would not "pause" writing and signal to the Protocol to drain the buffer to the wire once the write buffer reached the "high-water mark". Because of this, Protocols would not periodically drain the write buffer potentially leading to memory exhaustion. This vulnerability likely impacts a small number of users, you must be using Python 3.12.0 or later, on macOS or Linux, using the asyncio module with protocols, and using .writelines() method which had new zero-copy-on-write behavior in Python 3.12.0 and later. If not all of these factors are true then your usage of Python is unaffected.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- Python Software Foundation · CPythonbefore 3.12.9; from 3.13.0 before 3.13.2; from 3.14.0a1 before 3.14.0a3
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Published
- December 2024
CoverageNo articles yet
No CyberSIXT article names CVE-2024-12254 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-770cwe.mitre.org
- Patchgithub.com
- Vendor advisorymail.python.org
- Patchgithub.com
- Patchgithub.com
- Patchgithub.com
- Issue trackergithub.com
- openwall.com/lists/oss-security/2024/12/06/1openwall.com
- security.netapp.com/advisory/ntap-20250404-0010security.netapp.com