| Name | CVE-2024-9979 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1085296 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| rust-pyo3 (PTS) | bookworm | 0.17.3-1 | fixed |
| trixie | 0.22.6-3 | fixed |
| forky, sid | 0.26.0-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| rust-pyo3 | source | bookworm | (not affected) | | | |
| rust-pyo3 | source | (unstable) | 0.22.5-1 | | | 1085296 |
Notes
[bookworm] - rust-pyo3 <not-affected> (Vulnerable code introduced later)
https://github.com/PyO3/pyo3/pull/4590
https://rustsec.org/advisories/RUSTSEC-2024-0378.html