What’s Vulnerable › Vulnerabilities
CVE-2022-48560
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-08-22 · updated 2026-10-14
- Weakness: CWE-416
Description
A use-after-free exists in Python through 3.9 via heappushpop in heapq.
Affected products
- Debian Linux: 10.0
- Python: before 3.6.11; from 3.7.0 before 3.7.7; from 3.8.0 before 3.8.2; 3.9.0-alpha1, 3.9.0-alpha2 — fixed in 3.6.11, 3.7.7, 3.8.2
How to fix
Upgrade to a fixed version: Python 3.6.11, 3.7.7, 3.8.2. Check the vendor advisory for mitigations.
References
- https://bugs.python.org/issue39421
- https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html
- https://lists.debian.org/debian-lts-announce/2023/10/msg00017.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JZ5OOBWNYWXFTZDMCGHJVGDLDTHLWITJ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VO7Y2YZSDK3UYJD2KBGLXRTGNG6T326J/
- https://security.netapp.com/advisory/ntap-20230929-0008/
- https://bugs.python.org/issue39421
- https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html
- https://lists.debian.org/debian-lts-announce/2023/10/msg00017.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JZ5OOBWNYWXFTZDMCGHJVGDLDTHLWITJ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VO7Y2YZSDK3UYJD2KBGLXRTGNG6T326J/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JZ5OOBWNYWXFTZDMCGHJVGDLDTHLWITJ/
Get alerted when CVE-2022-48560 or the next vulnerability affects your stack