7.5
HIGH CVSS 3.1
CVE-2022-48560
"Python heapq heappushpop Use-After-Free Vulnerability"
Description

A use-after-free exists in Python through 3.9 via heappushpop in heapq.

INFO

Published Date :

Aug. 22, 2023, 7:16 p.m.

Last Modified :

Nov. 21, 2024, 7:33 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2022-48560 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Python python
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Solution
This vulnerability requires updating Python packages to address a use-after-free issue.
  • Update the affected Python packages to the latest version.
  • Consult vendor advisories for specific package updates.
Public PoC/Exploit Available at Github

CVE-2022-48560 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-48560.

URL Resource
https://bugs.python.org/issue39421 Exploit Issue Tracking Patch Vendor Advisory
https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html Mailing List Third Party Advisory
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 Exploit Issue Tracking Patch Vendor Advisory
https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html Mailing List Third Party Advisory
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/[email protected]/message/JZ5OOBWNYWXFTZDMCGHJVGDLDTHLWITJ/
https://lists.fedoraproject.org/archives/list/[email protected]/message/VO7Y2YZSDK3UYJD2KBGLXRTGNG6T326J/
https://security.netapp.com/advisory/ntap-20230929-0008/
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-48560 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-48560 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

CVE-Reproducer-System :一个基于大模型的漏打智能复现系统,采用五阶段流水线结构:CVE信息收集,RAG证据增强融合,环境配置生成,PoC代码生成,Validator容器化执行确认即迭代修复,此处公开了部分测试生成结果

Shell Python

Updated: 16 hours, 8 minutes ago
0 stars 0 fork 0 watcher
Born at : May 2, 2026, 9:16 a.m. This repo has been linked 41 different CVEs too.

Autonomous AI security intelligence system. Deep code analysis, attack path reasoning, vulnerability chain detection, white-hat simulation, self-improvement. 290 tests. 8 modules.

ai-security attack-graph autonomous-security code-analysis cvss cybersecurity penetration-testing python security security-research self-improving-ai static-analysis threat-modeling vulnerability-scanners white-hat

Python JavaScript HTML Go

Updated: 1 week ago
1 stars 0 fork 0 watcher
Born at : April 14, 2026, 2:12 p.m. This repo has been linked 2 different CVEs too.

Use-after-free in Python

Updated: 3 months, 1 week ago
10 stars 0 fork 0 watcher
Born at : Jan. 16, 2026, 6:32 p.m. This repo has been linked 1 different CVEs too.

CLI utility to query Shodan's CVE DB

cve-search shodan shodan-client

Go

Updated: 1 year, 1 month ago
3 stars 0 fork 0 watcher
Born at : May 12, 2024, 10 a.m. This repo has been linked 31 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-48560 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-48560 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://bugs.python.org/issue39421
    Added Reference https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html
    Added Reference https://lists.debian.org/debian-lts-announce/2023/10/msg00017.html
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JZ5OOBWNYWXFTZDMCGHJVGDLDTHLWITJ/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VO7Y2YZSDK3UYJD2KBGLXRTGNG6T326J/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/JZ5OOBWNYWXFTZDMCGHJVGDLDTHLWITJ/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/VO7Y2YZSDK3UYJD2KBGLXRTGNG6T326J/
    Added Reference https://security.netapp.com/advisory/ntap-20230929-0008/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Dec. 08, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VO7Y2YZSDK3UYJD2KBGLXRTGNG6T326J/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JZ5OOBWNYWXFTZDMCGHJVGDLDTHLWITJ/ [No types assigned]
  • CVE Modified by [email protected]

    Oct. 11, 2023

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2023/10/msg00017.html [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 29, 2023

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20230929-0008/ [No Types Assigned]
  • Modified Analysis by [email protected]

    Sep. 28, 2023

    Action Type Old Value New Value
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html No Types Assigned https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html Mailing List, Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.7.0 up to (including) 3.9.0 OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (excluding) 3.6.11 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.7.0 up to (excluding) 3.7.7 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.8.0 up to (excluding) 3.8.2 *cpe:2.3:a:python:python:3.9.0:alpha1:*:*:*:*:*:* *cpe:2.3:a:python:python:3.9.0:alpha2:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Sep. 20, 2023

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Aug. 26, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://bugs.python.org/issue39421 No Types Assigned https://bugs.python.org/issue39421 Exploit, Issue Tracking, Patch, Vendor Advisory
    Added CWE NIST CWE-416
    Added CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.7.0 up to (including) 3.9.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.