Vulnerabilities · 2022 · Python
CVE-2022-48560
Python vulnerability
A use-after-free exists in Python through 3.9 via heappushpop in heapq.
Affected products
Python, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.python.org/issue39421 · Exploit
- lists.debian.org/debian-lts-announce/2023/09/msg00022.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2023/10/msg00017.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V
- security.netapp.com/advisory/ntap-20230929-0008/
- lists.fedoraproject.org/archives/list/[email protected]/message/JZ5
- lists.fedoraproject.org/archives/list/[email protected]/message/VO7
- nvd.nist.gov/vuln/detail/CVE-2022-48560
- cve.org/CVERecord?id=CVE-2022-48560
More vulnerabilities in Python products
CVE-2026-21441CVE-2025-66471CVE-2025-66418CVE-2025-50182CVE-2025-50181CVE-2025-48379CVE-2025-47273CVE-2025-13837All 231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.