Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-12254

published high CVSS 4.0 · 8.7

Unbounded memory buffering in SelectorSocketTransport.writelines()

Published
06 Dec 2024, 15:19:41 UTC
Updated
31 Jul 2026, 14:08:25 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Python Software Foundation — CPython0 to < 3.12.9 · 3.13.0 to < 3.13.2 · 3.14.0a1 to < 3.14.0a3 · Other versions: unaffected · Platforms: MacOS, Linux Affected Not stated PSF
python_software_foundation — cpython3.12.0 to < 3.14.0a1 · Other versions: unknown Affected Not stated CISA-ADP
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-808 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 python3.12 Advisory build 3.12.8-1.el8_10 ALSA-2024:10980
Alpine Linux edge python3 Fixed 3.12.8-r1 Package fix record
Oracle Linux 8 python3.12aarch64 Advisory build 0:3.12.8-1.el8_10 ELSA-2024-10980
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-8 python3.12aarch64 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
AlmaLinux 8 python3.12-debug Advisory build 3.12.8-1.el8_10 ALSA-2024:10980
AlmaLinux 8 python3.12-devel Advisory build 3.12.8-1.el8_10 ALSA-2024:10980
AlmaLinux 8 python3.12-idle Advisory build 3.12.8-1.el8_10 ALSA-2024:10980
AlmaLinux 8 python3.12-libs Advisory build 3.12.8-1.el8_10 ALSA-2024:10980
AlmaLinux 8 python3.12-rpm-macros Advisory build 3.12.8-1.el8_10 ALSA-2024:10980
AlmaLinux 8 python3.12-test Advisory build 3.12.8-1.el8_10 ALSA-2024:10980
AlmaLinux 8 python3.12-tkinter Advisory build 3.12.8-1.el8_10 ALSA-2024:10980
AlmaLinux 9 python3.12 Advisory build 3.12.5-2.el9_5.2 ALSA-2024:10978
AlmaLinux 9 python3.12-debug Advisory build 3.12.5-2.el9_5.2 ALSA-2024:10978
AlmaLinux 9 python3.12-devel Advisory build 3.12.5-2.el9_5.2 ALSA-2024:10978
AlmaLinux 9 python3.12-idle Advisory build 3.12.5-2.el9_5.2 ALSA-2024:10978
AlmaLinux 9 python3.12-libs Advisory build 3.12.5-2.el9_5.2 ALSA-2024:10978
AlmaLinux 9 python3.12-test Advisory build 3.12.5-2.el9_5.2 ALSA-2024:10978
AlmaLinux 9 python3.12-tkinter Advisory build 3.12.5-2.el9_5.2 ALSA-2024:10978
Alpine Linux v3.20 python3 Fixed 3.12.8-r1 Package fix record
Alpine Linux v3.21 python3 Fixed 3.12.8-r1 Package fix record
Alpine Linux v3.22 python3 Fixed 3.12.8-r1 Package fix record
Alpine Linux v3.23 python3 Fixed 3.12.8-r1 Package fix record
Alpine Linux v3.24 python3 Fixed 3.12.8-r1 Package fix record
Oracle Linux 8 python3.12x86_64 Advisory build 0:3.12.8-1.el8_10 ELSA-2024-10980
Oracle Linux 8 python3.12-debugaarch64 Advisory build 0:3.12.8-1.el8_10 ELSA-2024-10980
Oracle Linux 8 python3.12-debugx86_64 Advisory build 0:3.12.8-1.el8_10 ELSA-2024-10980
Oracle Linux 8 python3.12-develaarch64 Advisory build 0:3.12.8-1.el8_10 ELSA-2024-10980
Oracle Linux 8 python3.12-develx86_64 Advisory build 0:3.12.8-1.el8_10 ELSA-2024-10980
Oracle Linux 8 python3.12-idleaarch64 Advisory build 0:3.12.8-1.el8_10 ELSA-2024-10980
Oracle Linux 8 python3.12-idlex86_64 Advisory build 0:3.12.8-1.el8_10 ELSA-2024-10980
Oracle Linux 8 python3.12-libsaarch64 Advisory build 0:3.12.8-1.el8_10 ELSA-2024-10980
Oracle Linux 8 python3.12-libsx86_64 Advisory build 0:3.12.8-1.el8_10 ELSA-2024-10980
Oracle Linux 8 python3.12-rpm-macrosaarch64 Advisory build 0:3.12.8-1.el8_10 ELSA-2024-10980
Oracle Linux 8 python3.12-rpm-macrosx86_64 Advisory build 0:3.12.8-1.el8_10 ELSA-2024-10980
Oracle Linux 8 python3.12-testaarch64 Advisory build 0:3.12.8-1.el8_10 ELSA-2024-10980
Oracle Linux 8 python3.12-testx86_64 Advisory build 0:3.12.8-1.el8_10 ELSA-2024-10980
Oracle Linux 8 python3.12-tkinteraarch64 Advisory build 0:3.12.8-1.el8_10 ELSA-2024-10980
Oracle Linux 8 python3.12-tkinterx86_64 Advisory build 0:3.12.8-1.el8_10 ELSA-2024-10980
Oracle Linux 9 python3.12aarch64 Advisory build 0:3.12.5-2.el9_5.2 ELSA-2024-10978
Oracle Linux 9 python3.12x86_64 Advisory build 0:3.12.5-2.el9_5.2 ELSA-2024-10978
Oracle Linux 9 python3.12-debugaarch64 Advisory build 0:3.12.5-2.el9_5.2 ELSA-2024-10978
Oracle Linux 9 python3.12-debugx86_64 Advisory build 0:3.12.5-2.el9_5.2 ELSA-2024-10978
Oracle Linux 9 python3.12-develaarch64 Advisory build 0:3.12.5-2.el9_5.2 ELSA-2024-10978
Oracle Linux 9 python3.12-develx86_64 Advisory build 0:3.12.5-2.el9_5.2 ELSA-2024-10978
Oracle Linux 9 python3.12-idleaarch64 Advisory build 0:3.12.5-2.el9_5.2 ELSA-2024-10978
Oracle Linux 9 python3.12-idlex86_64 Advisory build 0:3.12.5-2.el9_5.2 ELSA-2024-10978
Oracle Linux 9 python3.12-libsaarch64 Advisory build 0:3.12.5-2.el9_5.2 ELSA-2024-10978
Oracle Linux 9 python3.12-libsx86_64 Advisory build 0:3.12.5-2.el9_5.2 ELSA-2024-10978
Oracle Linux 9 python3.12-testaarch64 Advisory build 0:3.12.5-2.el9_5.2 ELSA-2024-10978
Oracle Linux 9 python3.12-testx86_64 Advisory build 0:3.12.5-2.el9_5.2 ELSA-2024-10978
Oracle Linux 9 python3.12-tkinteraarch64 Advisory build 0:3.12.5-2.el9_5.2 ELSA-2024-10978
Oracle Linux 9 python3.12-tkinterx86_64 Advisory build 0:3.12.5-2.el9_5.2 ELSA-2024-10978
Red Hat Enterprise Linux RHEL-8 python3.12i686 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12ppc64le Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12s390x Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12src Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12x86_64 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-debugaarch64 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-debugi686 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-debugppc64le Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-debugs390x Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-debugx86_64 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-debuginfoaarch64 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-debuginfoi686 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-debuginfoppc64le Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-debuginfos390x Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-debuginfox86_64 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-debugsourceaarch64 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-debugsourcei686 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-debugsourceppc64le Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-debugsources390x Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-debugsourcex86_64 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-develaarch64 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-develi686 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-develppc64le Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-devels390x Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-develx86_64 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-idleaarch64 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-idlei686 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-idleppc64le Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-idles390x Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-idlex86_64 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-libsaarch64 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-libsi686 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-libsppc64le Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-libss390x Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-libsx86_64 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-rpm-macrosnoarch Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-testaarch64 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-testi686 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-testppc64le Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-tests390x Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-testx86_64 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-tkinteraarch64 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-tkinteri686 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-tkinterppc64le Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-tkinters390x Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-8 python3.12-tkinterx86_64 Advisory build 3.12.8-1.el8_10 RHSA-2024:10980
Red Hat Enterprise Linux RHEL-9 python3.12aarch64 Advisory build 3.12.1-4.el9_4.5 RHSA-2024:11035
Red Hat Enterprise Linux RHEL-9 python3.12aarch64 Advisory build 3.12.5-2.el9_5.2 RHSA-2024:10978

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · PSF · cna

Vendor advisories explicitly linked to this CVE.

28

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
8.7 / 10
Severity
high
Provider
PSF · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Scenarios
en: GENERAL

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.5 high CISA-ADP · adp CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Python Software Foundation CPython 0 to < 3.12.9 (affected · python)3.13.0 to < 3.13.2 (affected · python)3.14.0a1 to < 3.14.0a3 (affected · python)Default: unaffected PSF · cna
python_software_foundation cpython 3.12.0 to < 3.14.0a1 (affected · python)Default: unknown CISA-ADP · adp

Weaknesses

3
  • CWE-400 CWE-400 Uncontrolled Resource Consumption (PSF · cna)
  • CWE-770 CWE-770 Allocation of Resources Without Limits or Throttling (PSF · cna)
  • CWE-770 CWE-770 Allocation of Resources Without Limits or Throttling (CISA-ADP · adp)

References

8

Provider assertions

3

PSF · cna

Unbounded memory buffering in SelectorSocketTransport.writelines()

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
c6be451b80cddc74f5ffdd998529d1176c44a480a7fc47f2372c49d071e0e3a2
Ingested
23 Sep 2026, 08:17:21 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected