ADVISORIES

Vulnerability

CVE-2024-9979

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.

5 advisories report this vulnerability, across 4 ecosystems.

Advisories in crates.io

  • GHSA-6jgw-rgmm-7cv6

    PyO3 has a risk of use-after-free in `borrowed` reads from Python weak references

    Moderate CVE-2024-9979 crates.io Updated 28 October 2025
  • RUSTSEC-2024-0378

    Risk of use-after-free in `borrowed` reads from Python weak references

    CVE-2024-9979 crates.io Updated 28 October 2025

References