CVE-2022-48560

published 22 Aug 2023 · updated 2 Nov 2026

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

8.5HighCVSS 7.5EPSS 2%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 3.6.11, 3.7.7 and 3.8.2.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Pythonpython<3.6.11, >=3.7.0 <3.7.7, >=3.8.0 <3.8.2, =3.9.03.6.11, 3.7.7, 3.8.2
debiandebian_linux=10.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-48560 severity on Zeptric[![CVE-2022-48560](https://zeptric.io/badge/cve/CVE-2022-48560.svg)](https://zeptric.io/cve/CVE-2022-48560)