UBUNTU-CVE-2022-48560
Advisory lineage Upstream: 1 Downstream: 4
Upstream
Downstream
Published: 22 Aug 2023, 19:16
Last modified:22 Apr 2026, 13:33
Vulnerability Summary
Overall Risk (default)
medium
30/100 CVSS Score
7.5 HIGH
3.1 (osv_ubuntu)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
22 Aug 2023, 19:16
Published
Vulnerability first disclosed
22 Apr 2026, 13:33
Last Modified
Vulnerability information updated
Description
A use-after-free exists in Python through 3.9 via heappushpop in heapq.
CVSS Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Systems
- ubuntu•python2.7
< 2.7.6-8ubuntu0.6+esm17 | < 2.7.12-1ubuntu0~16.04.18+esm8 | < 2.7.17-1~18.04ubuntu1.13+esm3 | < 2.7.18-1~20.04.7 | < 2.7.18-13ubuntu1.5
- ubuntu•python3.4
all
- ubuntu•python3.5
< 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1 | < 3.5.2-2ubuntu0~16.04.13+esm10
- ubuntu•python3.6
< 3.6.9-1~18.04ubuntu1.13+esm2
- ubuntu•python3.7
< 3.7.5-2ubuntu1~18.04.2+esm3
- ubuntu•python3.8
< 3.8.0-3ubuntu1~18.04.2+esm2
References (10)
- https://ubuntu.com/security/CVE-2022-48560
- https://github.com/python/cpython/issues/83602
- https://github.com/python/cpython/commit/79f89e6e5a659846d1068e8b1bd8e491ccdef861
- https://github.com/python/cpython/commit/958064f8d2b84062b0582bbae911df8ccfc11fd6
- https://bugs.python.org/issue39421
- https://ubuntu.com/security/notices/USN-6394-1
- https://ubuntu.com/security/notices/USN-6394-2
- https://www.cve.org/CVERecord?id=CVE-2022-48560
- https://ubuntu.com/security/notices/USN-6891-1
- https://ubuntu.com/security/notices/USN-7180-1