CVE-2024-9979: pyo3 · Use After Free
Affects pyo3Source CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 15 Oct 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
crates.iopyo3/pyo3pkg:cargo/pyo3/pyo3Other threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
In the interim, developers should audit their use of weak Python references in PyO3 to avoid unsound borrowing patterns that lead to use-after-free conditions. Employing memory safety tools such as sanitizers (e.g., AddressSanitizer) during development and testing can help detect similar issues early. Restricting local access to systems running vulnerable PyO3 versions can reduce exploitation risk. Additionally, applying strict access controls and isolating development environments can limit the impact of potential exploitation. Monitoring for unusual crashes or memory corruption in applications using PyO3 is recommended. Finally, maintain awareness of updates from PyO3 maintainers and security advisories for timely patch application.
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.