Description
A use-after-free exists in Python through 3.9 via heappushpop in heapq.
Affected products
python: python; debian: debian linux
References10
- bugs.python.org/issue39421 ExploitIssue TrackingPatchVendor Advisory
- bugs.python.org/issue39421 ExploitIssue TrackingPatchVendor Advisory
- lists.debian.org/debian-lts-announce/2023/09/msg00022.html Mailing ListThird Party Advisory
- lists.debian.org/debian-lts-announce/2023/10/msg00017.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.…
- lists.fedoraproject.org/archives/list/package-announce%40lists.…
- security.netapp.com/advisory/ntap-20230929-0008/
- lists.debian.org/debian-lts-announce/2023/09/msg00022.html Mailing ListThird Party Advisory
- lists.debian.org/debian-lts-announce/2023/10/msg00017.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.…
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 2% percentile: 81 · as of 5 November 2026
- CWE
- CWE-416
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.