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.
Conclusion & alert: CVE-2024-12254 is rated Moderate Risk (61.7/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.88%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-07-01 | 1.84% | 1.88% | +0.04% |
| 2 | 2026-06-15 | 0.25% | 1.84% | +1.60% |
| 3 | 2026-04-25 | — | 0.25% | — |
Full EPSS history (13 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.7 | 4.0 | HIGH |
|
— | — | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
high | CVE-2024-12254: 1 source package rows (python3); 4 state rows across 4 repos (3.20-main, 3.21-main, 3.22-main, edge-main); fixed 4, open 0. | https://security.alpinelinux.org/vuln/CVE-2024-12254 |
debian
|
unimportant | CVE-2024-12254 unimportant priority: Debian including 3 source packages (python3.11, python3.13, python3.9), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2024-12254 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2024-12254 |
suse
|
high | CVE-2024-12254 severity important: SUSE including 103 source package names (libpython3_12-1_0-3.12.9-150600.3.18.1, libpython3_12-1_0-32bit-3.12.9-150600.3.18.1, …), 396 product×package rows across 48 product lines (SUSE Liberty Linux 8, SUSE Liberty Linux 9, … (48 product lines)): Known Not Affected 301, Fixed 95. | https://www.suse.com/security/cve/CVE-2024-12254/ |
ubuntu
|
medium | CVE-2024-12254 medium priority: Ubuntu including 11 source packages (python2.7, python3.10, …), 110 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 79, not-affected 26, needs-triage 2, released 2, ignored 1. | https://ubuntu.com/security/CVE-2024-12254 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| No affected products in dataset. | |||