CVE-2024-9979

Source
https://cve.org/CVERecord?id=CVE-2024-9979
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-9979.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-9979
Aliases
Downstream
Published
2024-10-15T14:01:54.309Z
Modified
2026-07-15T01:49:00.698679365Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
Pyo3: risk of use-after-free in `borrowed` reads from python weak references
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-416"
    ],
    "cna_assigner": "redhat",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9979.json"
}
References

Affected packages

Git / github.com/pyo3/pyo3

Affected ranges

Type
GIT
Repo
https://github.com/pyo3/pyo3
Events
Database specific
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "0.22.0"
        },
        {
            "fixed": "0.22.4"
        }
    ]
}

Affected versions

v0.*
v0.22.0
v0.22.1
v0.22.2
v0.22.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-9979.json"