CVE-2024-9979
Pyo3: risk of use-after-free in `borrowed` reads from python weak references
CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th
A flaw was found in PyO3. This vulnerability causes a use-after-free issue, potentially leading to memory corruption or crashes via unsound borrowing from weak Python references.
| CWE | CWE-416 |
| Published | Oct 15, 2024 |
| Last Updated | Nov 20, 2025 |
Stay Ahead of the Next One
Get instant alerts for
Be the first to know when new medium vulnerabilities are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
Affected Versions
Red Hat / Red Hat Ansible Automation Platform 2
All versions affected Red Hat / Red Hat Ansible Automation Platform 2
All versions affected Red Hat / Red Hat Enterprise Linux 10
All versions affected Red Hat / Red Hat Enterprise Linux 8
All versions affected Red Hat / Red Hat Enterprise Linux 8
All versions affected Red Hat / Red Hat Enterprise Linux 9
All versions affected Red Hat / Red Hat Enterprise Linux 9
All versions affected References
access.redhat.com: https://access.redhat.com/security/cve/CVE-2024-9979 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2318646 crates.io: https://crates.io/crates/pyo3 github.com: https://github.com/PyO3/pyo3/pull/4590 rustsec.org: https://rustsec.org/advisories/RUSTSEC-2024-0378.html