CVE-2024-9979

published 15 Oct 2024 · updated 5 Nov 2026

Pyo3: risk of use-after-free in `borrowed` reads from python weak references

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.22.4.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatAnsible Automation Platform
Red HatEnterprise Linux
>=0.22.0 <0.22.40.22.4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-9979 severity on Zeptric[![CVE-2024-9979](https://zeptric.io/badge/cve/CVE-2024-9979.svg)](https://zeptric.io/cve/CVE-2024-9979)