CVE-2022-48560: Python - Use After Free
- Cve: CVE-2022-48560
- Name: Python - Use After Free
- Description: A use-after-free exists in Python through 3.9 via heappushpop in heapq.
- Impact: Attackers can cause crashes or execute arbitrary code through crafted heap operations, leading to denial of service or remote code execution.
- Remediation: Update to Python 3.10 or later where the issue is fixed.
- Vulnerability type: use_after_free
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.02042
- Epss percentile: 0.81659
- Assignee: [email protected]
- Published at: 2023-08-22T19:16:31Z
- Age in days: 1190
- Modified at: 2026-11-02T23:17:12Z
- Patch available: yes
- Public exploits total: 1
- References total: 9
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-48560
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-416 | Use After Free |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://bugs.python.org/issue39421 | nvd | 2023-08-22 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| python:python | = 3.9.0 alpha1; = 3.9.0 alpha2; >= 3.8.0, < 3.8.2; >= 3.7.0, < 3.7.7; < 3.6.11 | no | nvd | /v1/products/python/python |
| debian:debian_linux | = 10.0 | no | nvd | /v1/products/debian/debian_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| python/cpython | fix | yes | /v1/repositories/python/cpython |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2023-08-22
- Remote: yes
- Exposed hosts: 5115604
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports