CVE-2024-9979
Pyo3: risk of use-after-free in `borrowed` reads from python weak references
- State
- Published
- Severity
- 5.3 Medium
- Published
- Oct 15, 2024
- Updated
- Nov 20, 2025
- Reserved
- Oct 15, 2024
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | redhat |
Weaknesses
- CWE-416 Use After Free
Affected Products
| Product | Versions |
|---|---|
pyo3 |
|
Red Hat Ansible Automation Platform 2Red Hat | |
Red Hat Ansible Automation Platform 2Red Hat | |
Red Hat Enterprise Linux 10Red Hat | |
Red Hat Enterprise Linux 8Red Hat | |
Red Hat Enterprise Linux 8Red Hat | |
Red Hat Enterprise Linux 9Red Hat | |
Red Hat Enterprise Linux 9Red Hat |
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.