{"cve":"CVE-2024-9979","nvd":{"published":"2024-10-15T14:15:05.817","modified":"2026-06-17T08:25:38.010","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3},"cwes":["CWE-416"],"references":["https://access.redhat.com/security/cve/CVE-2024-9979","https://bugzilla.redhat.com/show_bug.cgi?id=2318646","https://crates.io/crates/pyo3","https://github.com/PyO3/pyo3/pull/4590","https://rustsec.org/advisories/RUSTSEC-2024-0378.html"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:55:31.737901711+00:00"},"epss":{"cve":"CVE-2024-9979","score":0.00206,"percentile":0.10601,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6jgw-rgmm-7cv6","url":"https://osv.dev/vulnerability/GHSA-6jgw-rgmm-7cv6","summary":" PyO3 has a risk of use-after-free in `borrowed` reads from Python weak references","modified":"2025-10-28T06:29:04.991816Z","packages":[{"ecosystem":"crates.io","name":"pyo3","purl":"pkg:cargo/pyo3","ranges":[">=0.22.0 <0.22.4"],"fixed":["0.22.4"]}]},{"id":"RUSTSEC-2024-0378","url":"https://osv.dev/vulnerability/RUSTSEC-2024-0378","summary":"Risk of use-after-free in `borrowed` reads from Python weak references","modified":"2025-10-28T06:29:04.991816Z","packages":[{"ecosystem":"crates.io","name":"pyo3","purl":"pkg:cargo/pyo3","ranges":[">=0.22.0 <0.22.4"],"fixed":["0.22.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}