synced 15 MIN AGO
01 Record

CVE-2024-12254

Unbounded memory buffering in SelectorSocketTransport.writelines()

HighPUBLISHEDCNA: PSF
CNA base score8.7 CVSS v4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

02 Description

Unbounded memory buffering in SelectorSocketTransport.writelines()

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
1.86% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 79.1% of scored records. A rank, not a probability.
NVD base score
8.7 (CVSS v4.0), scored by the NVD independently of the CNA.
NVD CVSS vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD analysis status
Deferred. NVD last modified this record on 2026-07-31.
Red Hat severity
Important. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2024-12-06 15:19Z1 YR AGO
Last updated
2026-07-31 14:08Z3 MO AGO
Reserved
2024-12-05
Assigning CNA
PSF
Record state
PUBLISHED
Severity
High (CVSS 8.7)
CNA CVSS vector
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
Weaknesses
  • CWE-400Uncontrolled Resource ConsumptionClass
  • CWE-770Allocation of Resources Without Limits or ThrottlingBase
Data version
5.2
Document digest
3a38693cf368bf0d9be193c8c1488108f0a597ac893f2150743ecea7aa142897

05 Affected products

VendorProductVersionsPlatforms
Python Software FoundationCPython0 to < 3.12.9, 3.13.0 to < 3.13.2, 3.14.0a1 to < 3.14.0a3MacOS, Linux
python_software_foundationcpython3.12.0 to < 3.14.0a1—

06 References

07 Fixed in

AlmaLinux 8

  • python3.12
    Fixed in 3.12.8-1.el8_10
  • python3.12-debug
    Fixed in 3.12.8-1.el8_10
  • python3.12-devel
    Fixed in 3.12.8-1.el8_10
  • python3.12-idle
    Fixed in 3.12.8-1.el8_10
  • python3.12-libs
    Fixed in 3.12.8-1.el8_10
  • python3.12-rpm-macros
    Fixed in 3.12.8-1.el8_10
  • python3.12-test
    Fixed in 3.12.8-1.el8_10
  • python3.12-tkinter
    Fixed in 3.12.8-1.el8_10

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • python3.12
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-debug
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-devel
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-idle
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-libs
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-test
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-tkinter
    Fixed in 3.12.5-2.el9_5.2

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • python3.12
    Fixed in 3.12.8-1.el8_10
  • python3.12-debug
    Fixed in 3.12.8-1.el8_10
  • python3.12-devel
    Fixed in 3.12.8-1.el8_10
  • python3.12-idle
    Fixed in 3.12.8-1.el8_10
  • python3.12-libs
    Fixed in 3.12.8-1.el8_10
  • python3.12-rpm-macros
    Fixed in 3.12.8-1.el8_10
  • python3.12-test
    Fixed in 3.12.8-1.el8_10
  • python3.12-tkinter
    Fixed in 3.12.8-1.el8_10

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • python3.12
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-debug
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-devel
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-idle
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-libs
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-test
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-tkinter
    Fixed in 3.12.5-2.el9_5.2

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • python3.13
    Fixed in 3.13.1-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • python3.13
    Fixed in 3.13.1-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • python3.12
    Fixed in 3.12.3-1ubuntu0.4

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.