{"id":"CVE-2022-48560","aliases":["CVE-2022-48560","PSF-2023-11","BIT-LIBPYTHON-2022-48560","BIT-PYTHON-2022-48560","BIT-PYTHON-MIN-2022-48560","GHSA-pvw5-cvp6-cv92"],"related":[],"kind":"vulnerability","state":"published","title":"Use-after-free in heappushpop() of heapq module","summary":"A use-after-free exists in Python through 3.9 via heappushpop in heapq.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A use-after-free exists in Python through 3.9 via heappushpop in heapq.","source":"cvelist"}],"published":"2023-08-22T00:00:00.000Z","modified":"2026-11-02T23:17:12.167Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"79f89e6e5a659846d1068e8b1bd8e491ccdef861"},{"type":"git","status":"affected","fixed":"958064f8d2b84062b0582bbae911df8ccfc11fd6"},{"type":"git","status":"affected","fixed":"993811ffe75c2573f97fb3fd1414b34609b8c8db"},{"type":"git","status":"affected","fixed":"c563f409ea30bcb0623d785428c9257917371b76"}],"repo":"https://github.com/python/cpython","source":"psf"},{"ranges":[{"status":"affected","fixed":"3.6.11"},{"status":"affected","introduced":"3.7.0","fixed":"3.7.7"},{"status":"affected","introduced":"3.8.0","fixed":"3.8.2"},{"status":"affected","version":"3.9.0"},{"status":"affected","version":"3.9.0"}],"vendor":"python","product":"python","cpe":"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.6.11"},{"type":"semver","introduced":"3.7.0","status":"affected","fixed":"3.7.7"},{"type":"semver","introduced":"3.8.0","status":"affected","fixed":"3.8.2"}],"ecosystem":"Bitnami","package":"libpython","purl":"pkg:bitnami/libpython","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.6.11"},{"type":"semver","introduced":"3.7.0","status":"affected","fixed":"3.7.7"},{"type":"semver","introduced":"3.8.0","status":"affected","fixed":"3.8.2"}],"ecosystem":"Bitnami","package":"python","purl":"pkg:bitnami/python","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.6.11"},{"type":"semver","introduced":"3.7.0","status":"affected","fixed":"3.7.7"},{"type":"semver","introduced":"3.8.0","status":"affected","fixed":"3.8.2"}],"ecosystem":"Bitnami","package":"python-min","purl":"pkg:bitnami/python-min","source":"bitnami"}],"references":[{"url":"https://bugs.python.org/issue39421","tags":["advisory","exploit","issue-tracking","patch","report","vendor-advisory","x-transferred"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html","tags":["advisory","mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20230929-0008/","tags":["web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00017.html","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VO7Y2YZSDK3UYJD2KBGLXRTGNG6T326J/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JZ5OOBWNYWXFTZDMCGHJVGDLDTHLWITJ/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JZ5OOBWNYWXFTZDMCGHJVGDLDTHLWITJ/","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VO7Y2YZSDK3UYJD2KBGLXRTGNG6T326J/","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-48560","tags":["advisory"],"sources":["psf"]},{"url":"https://github.com/python/cpython/pull/18118","tags":["fix"],"sources":["psf"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48560","tags":["web"],"sources":["bitnami"]}],"credits":["Samuel Henrique"],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-02T22:15:11.577Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48560","url":"https://www.cve.org/CVERecord?id=CVE-2022-48560","licence":"CVE Terms of Use","modified":"2026-11-02T22:15:47.296Z"},{"source":"psf","name":"Python Software Foundation","id":"PSF-2023-11","url":"https://osv.dev/vulnerability/PSF-2023-11","licence":"CC-BY-4.0","modified":"2025-10-09T01:01:25.261Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48560","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48560","licence":"Public domain","modified":"2026-11-02T23:17:12.167Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPYTHON-2022-48560","url":"https://osv.dev/vulnerability/BIT-LIBPYTHON-2022-48560","licence":"Apache-2.0","modified":"2026-09-08T08:48:08.723Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-2022-48560","url":"https://osv.dev/vulnerability/BIT-PYTHON-2022-48560","licence":"Apache-2.0","modified":"2026-09-08T08:48:18.929Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-MIN-2022-48560","url":"https://osv.dev/vulnerability/BIT-PYTHON-MIN-2022-48560","licence":"Apache-2.0","modified":"2026-09-08T08:48:18.751Z"}],"updatedAt":"2026-11-25T22:58:19.579Z","epss":{"score":0.02042,"percentile":0.81721,"date":"2026-12-01T12:00:22.000Z"}}