7.5
CWE
416
Advisory Published
Updated

CVE-2022-48560: Use After Free

First published: Tue Aug 22 2023(Updated: )

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

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Python Python<3.6.11
Python Python>=3.7.0<3.7.7
Python Python>=3.8.0<3.8.2
Python Python=3.9.0-alpha1
Python Python=3.9.0-alpha2
Debian Debian Linux=10.0
debian/python2.7<=2.7.16-2+deb10u1
2.7.16-2+deb10u3
2.7.18-8+deb11u1
debian/python3.7<=3.7.3-2+deb10u3
3.7.3-2+deb10u6
debian/python3.9
3.9.2-1
ubuntu/python2.7<2.7.17-1~18.04ubuntu1.13+
2.7.17-1~18.04ubuntu1.13+
ubuntu/python2.7<2.7.6-8ubuntu0.6+
2.7.6-8ubuntu0.6+
ubuntu/python2.7<2.7.12-1ubuntu0~16.04.18+
2.7.12-1ubuntu0~16.04.18+
ubuntu/python3.5<3.5.2-2ubuntu0~16.04.13+
3.5.2-2ubuntu0~16.04.13+
ubuntu/python3.6<3.6.11
3.6.11
ubuntu/python3.7<3.7.7
3.7.7
ubuntu/python3.8<3.8.2
3.8.2
redhat/python<3.9.0
3.9.0
redhat/python<3.8.2
3.8.2
redhat/python<3.7.7
3.7.7
redhat/python<3.6.11
3.6.11

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2022-48560?

    CVE-2022-48560 is a use-after-free vulnerability in Python through version 3.9.

  • How does the use-after-free vulnerability in Python CVE-2022-48560 occur?

    The use-after-free vulnerability in Python CVE-2022-48560 occurs through the heappushpop function in the heapq module.

  • Which versions of Python are affected by CVE-2022-48560?

    Python versions 3.7 to 3.9 are affected by CVE-2022-48560.

  • What is the severity of CVE-2022-48560?

    CVE-2022-48560 has a severity rating of 7.5 (high).

  • How can I fix the use-after-free vulnerability in Python CVE-2022-48560?

    To fix the use-after-free vulnerability in Python CVE-2022-48560, update to a version of Python that is not affected by the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203