CVE catalog

CVE-2024-12254

Python vulnerability

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.87% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython3.11bookworm3.11.2-6+deb12u8not affected
Debianpython3.11bookworm-security3.11.2-6+deb12u9not affected
Ubuntupython3.11nobleNot reportednot affected
Ubuntupython3.12noble3.12.3-1ubuntu0.4fixed
Ubuntuidle-python3.12noble3.12.3-1ubuntu0.4fixed
Ubuntulibpython3.12-devnoble3.12.3-1ubuntu0.4fixed
Ubuntulibpython3.12-minimalnoble3.12.3-1ubuntu0.4fixed
Ubuntulibpython3.12-stdlibnoble3.12.3-1ubuntu0.4fixed
Ubuntulibpython3.12-testsuitenoble3.12.3-1ubuntu0.4fixed
Ubuntulibpython3.12t64noble3.12.3-1ubuntu0.4fixed
Ubuntupython3.12-devnoble3.12.3-1ubuntu0.4fixed
Ubuntupython3.12-docnoble3.12.3-1ubuntu0.4fixed
Ubuntupython3.12-examplesnoble3.12.3-1ubuntu0.4fixed
Ubuntupython3.12-fullnoble3.12.3-1ubuntu0.4fixed
Ubuntupython3.12-minimalnoble3.12.3-1ubuntu0.4fixed
Ubuntupython3.12-nopienoble3.12.3-1ubuntu0.4fixed
Ubuntupython3.12-venvnoble3.12.3-1ubuntu0.4fixed
Alpinepython33.203.12.8-r1fixed
Alpinepython33.213.12.8-r1fixed
Alpinepython33.223.12.8-r1fixed
Alpinepython33.233.12.8-r1fixed
Alpinepython33.243.12.8-r1fixed
Ubuntupython3.1224.043.12.0-1vulnerable
Ubuntupython3.1224.043.12.0-5vulnerable
Ubuntupython3.1224.043.12.0-6vulnerable
Ubuntupython3.1224.043.12.0-7vulnerable
Ubuntupython3.1224.043.12.1-2vulnerable
Ubuntupython3.1224.043.12.2-1vulnerable
Ubuntupython3.1224.043.12.2-4build3vulnerable
Ubuntupython3.1224.043.12.2-4build4vulnerable
Ubuntupython3.1224.043.12.2-5ubuntu3vulnerable
Ubuntupython3.1224.043.12.3-1vulnerable
Ubuntupython3.1224.043.12.3-1ubuntu0.1vulnerable
Ubuntupython3.1224.043.12.3-1ubuntu0.2vulnerable
Ubuntupython3.1224.043.12.3-1ubuntu0.3vulnerable
Ubuntupython3.1224.043.12.3-1ubuntu0.4fixed
Ubuntupython3.1224.043.12.0-1vulnerable
Ubuntupython3.1224.043.12.0-5vulnerable
Ubuntupython3.1224.043.12.0-6vulnerable
Ubuntupython3.1224.043.12.0-7vulnerable
Ubuntupython3.1224.043.12.1-2vulnerable
Ubuntupython3.1224.043.12.2-1vulnerable
Ubuntupython3.1224.043.12.2-4build3vulnerable
Ubuntupython3.1224.043.12.2-4build4vulnerable
Ubuntupython3.1224.043.12.2-5ubuntu3vulnerable
Ubuntupython3.1224.043.12.3-1vulnerable
Ubuntupython3.1224.043.12.3-1ubuntu0.1vulnerable
Ubuntupython3.1224.043.12.3-1ubuntu0.2vulnerable
Ubuntupython3.1224.043.12.3-1ubuntu0.3vulnerable
Ubuntupython3.1224.043.12.3-1ubuntu0.4fixed
Opensusepython313tumbleweed3.13.1-1.1fixed
Opensusepython-aiohttptumbleweed3.11.16-1.1fixed
Susepython312linux enterprise module for python 3 15 sp63.12.8-150600.3.12.1fixed
Susepython312-corelinux enterprise module for python 3 15 sp63.12.8-150600.3.12.1fixed
Opensusepython312leap 15.63.12.8-150600.3.12.1fixed
Opensusepython312-coreleap 15.63.12.8-150600.3.12.1fixed
Opensusepython312-documentationleap 15.63.12.8-150600.3.12.1fixed
Opensusepython312tumbleweed3.12.8-1.1fixed
Susepython313linux enterprise module for python 3 15 sp73.13.5-150700.4.11.1fixed
Susepython313-corelinux enterprise module for python 3 15 sp73.13.5-150700.4.11.1fixed
Susepython312linux enterprise module for python 3 15 sp63.12.9-150600.3.18.1fixed
Susepython312-corelinux enterprise module for python 3 15 sp63.12.9-150600.3.18.1fixed
Opensusepython312leap 15.63.12.9-150600.3.18.1fixed
Opensusepython312-coreleap 15.63.12.9-150600.3.18.1fixed
Opensusepython312-documentationleap 15.63.12.9-150600.3.18.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython3.11sourcebookwormNot affectedunimportantNot reportedNot reported
Ubuntupython3.12debnoble3.12.3-1ubuntu0.4Not reportedNot reportedNot reported
Ubuntuidle-python3.12debnoble3.12.3-1ubuntu0.4Not reportedNot reportedNot reported
Ubuntulibpython3.12-devdebnoble3.12.3-1ubuntu0.4Not reportedNot reportedNot reported
Ubuntulibpython3.12-minimaldebnoble3.12.3-1ubuntu0.4Not reportedNot reportedNot reported
Ubuntulibpython3.12-stdlibdebnoble3.12.3-1ubuntu0.4Not reportedNot reportedNot reported
Ubuntulibpython3.12-testsuitedebnoble3.12.3-1ubuntu0.4Not reportedNot reportedNot reported
Ubuntulibpython3.12t64debnoble3.12.3-1ubuntu0.4Not reportedNot reportedNot reported
Ubuntupython3.12-devdebnoble3.12.3-1ubuntu0.4Not reportedNot reportedNot reported
Ubuntupython3.12-docdebnoble3.12.3-1ubuntu0.4Not reportedNot reportedNot reported
Ubuntupython3.12-examplesdebnoble3.12.3-1ubuntu0.4Not reportedNot reportedNot reported
Ubuntupython3.12-fulldebnoble3.12.3-1ubuntu0.4Not reportedNot reportedNot reported
Ubuntupython3.12-minimaldebnoble3.12.3-1ubuntu0.4Not reportedNot reportedNot reported
Ubuntupython3.12-nopiedebnoble3.12.3-1ubuntu0.4Not reportedNot reportedNot reported
Ubuntupython3.12-venvdebnoble3.12.3-1ubuntu0.4Not reportedNot reportedNot reported
Alpinepython3apk3.203.12.8-r1Not reportedALPINE-CVE-2024-12254Not reported
Alpinepython3apk3.213.12.8-r1Not reportedALPINE-CVE-2024-12254Not reported
Alpinepython3apk3.223.12.8-r1Not reportedALPINE-CVE-2024-12254Not reported
Alpinepython3apk3.233.12.8-r1Not reportedALPINE-CVE-2024-12254Not reported
Alpinepython3apk3.243.12.8-r1Not reportedALPINE-CVE-2024-12254Not reported
Ubuntupython3.12deb24.043.12.3-1ubuntu0.4Not reportedUBUNTU-CVE-2024-12254Not reported
Ubuntupython3.12deb24.043.12.3-1ubuntu0.4Not reportedUSN-7219-1Not reported
Opensusepython313rpmtumbleweed3.13.1-1.1Not reportedOPENSUSE-SU-2025:14691-1Not reported
Opensusepython-aiohttprpmtumbleweed3.11.16-1.1Not reportedOPENSUSE-SU-2025:14998-1Not reported
Susepython312rpmlinux enterprise module for python 3 15 sp63.12.8-150600.3.12.1Not reportedSUSE-SU-2024:4291-1Not reported
Susepython312-corerpmlinux enterprise module for python 3 15 sp63.12.8-150600.3.12.1Not reportedSUSE-SU-2024:4291-1Not reported
Opensusepython312rpmleap 15.63.12.8-150600.3.12.1Not reportedSUSE-SU-2024:4291-1Not reported
Opensusepython312-corerpmleap 15.63.12.8-150600.3.12.1Not reportedSUSE-SU-2024:4291-1Not reported
Opensusepython312-documentationrpmleap 15.63.12.8-150600.3.12.1Not reportedSUSE-SU-2024:4291-1Not reported
Opensusepython312rpmtumbleweed3.12.8-1.1Not reportedOPENSUSE-SU-2024:14581-1Not reported
Susepython313rpmlinux enterprise module for python 3 15 sp73.13.5-150700.4.11.1Not reportedSUSE-SU-2025:02074-1Not reported
Susepython313-corerpmlinux enterprise module for python 3 15 sp73.13.5-150700.4.11.1Not reportedSUSE-SU-2025:02074-1Not reported
Susepython312rpmlinux enterprise module for python 3 15 sp63.12.9-150600.3.18.1Not reportedSUSE-SU-2025:0521-1Not reported
Susepython312-corerpmlinux enterprise module for python 3 15 sp63.12.9-150600.3.18.1Not reportedSUSE-SU-2025:0521-1Not reported
Opensusepython312rpmleap 15.63.12.9-150600.3.18.1Not reportedSUSE-SU-2025:0521-1Not reported
Opensusepython312-corerpmleap 15.63.12.9-150600.3.18.1Not reportedSUSE-SU-2025:0521-1Not reported
Opensusepython312-documentationrpmleap 15.63.12.9-150600.3.18.1Not reportedSUSE-SU-2025:0521-1Not reported

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [python312]

    Details (1)
    • 3.12.13-9.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.12.8-1.1

      Version impact unknown

      usn · python312 · opensuse · tumbleweed

  • Source package: [python312]

    Details (1)
    • 3.12.13-9.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.12.8-1.1

      Version impact unknown

      usn · python312 · opensuse · tumbleweed

  • [python312-dbm]Unknown

    Source package: [python312]

    Details (1)
    • 3.12.13-9.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.12.8-1.1

      Version impact unknown

      usn · python312 · opensuse · tumbleweed

  • Source package: [python312]

    Details (1)
    • 3.12.13-9.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.12.8-1.1

      Version impact unknown

      usn · python312 · opensuse · tumbleweed

  • [python312-tk]Unknown

    Source package: [python312]

    Details (1)
    • 3.12.13-9.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.12.8-1.1

      Version impact unknown

      usn · python312 · opensuse · tumbleweed

  • Source package: [python312]

    Details (1)
    • 3.12.13-9.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.12.8-1.1

      Version impact unknown

      usn · python312 · opensuse · tumbleweed

  • Source package: [python313]

    Details (1)
    • 3.13.14-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.13.1-1.1

      Version impact unknown

      usn · python313 · opensuse · tumbleweed

  • Source package: [python-aiohttp]

    Details (1)
    • 3.14.3-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.11.16-1.1

      Version impact unknown

      usn · python-aiohttp · opensuse · tumbleweed

  • Source package: [python313]

    Details (1)
    • 3.13.14-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.13.1-1.1

      Version impact unknown

      usn · python313 · opensuse · tumbleweed

  • [python313-dbm]Unknown

    Source package: [python313]

    Details (1)
    • 3.13.14-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.13.1-1.1

      Version impact unknown

      usn · python313 · opensuse · tumbleweed

  • Source package: [python313]

    Details (1)
    • 3.13.14-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.13.1-1.1

      Version impact unknown

      usn · python313 · opensuse · tumbleweed

  • [python313-tk]Unknown

    Source package: [python313]

    Details (1)
    • 3.13.14-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.13.1-1.1

      Version impact unknown

      usn · python313 · opensuse · tumbleweed

  • Source package: [python313]

    Details (1)
    • 3.13.14-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.13.1-1.1

      Version impact unknown

      usn · python313 · opensuse · tumbleweed

  • Source package: [python-aiohttp]

    Details (1)
    • 3.14.3-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.11.16-1.1

      Version impact unknown

      usn · python-aiohttp · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • [idle-python3.11]Not affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · all · bookworm

      Not affected

      usn · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u8 · all · bookworm

      Not affected

      usn · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · all · bookworm-security

      Not affected

      usn · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · all · bookworm-security

      Not affected

      usn · python3.11 · debian · bookworm

  • [libpython3.11]Not affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Not affected

      usn · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Not affected

      usn · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Not affected

      usn · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Not affected

      usn · python3.11 · debian · bookworm

  • [libpython3.11-dbg]Not affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Not affected

      usn · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Not affected

      usn · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Not affected

      usn · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Not affected

      usn · python3.11 · debian · bookworm

  • [libpython3.11-dev]Not affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Not affected

      usn · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Not affected

      usn · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Not affected

      usn · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Not affected

      usn · python3.11 · debian · bookworm

  • [libpython3.11-minimal]Not affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Not affected

      usn · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Not affected

      usn · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Not affected

      usn · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Not affected

      usn · python3.11 · debian · bookworm

  • [libpython3.11-stdlib]Not affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Not affected

      usn · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Not affected

      usn · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Not affected

      usn · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Not affected

      usn · python3.11 · debian · bookworm

Next results

Observed:

References