pyo3 is vulnerable to Undefined Behavior
20
Low Risk
Affected versions of this package are vulnerable to memory corruption when extending native Python types (e.g., #[pyclass(extends=PyList)]) on Python 3.12+ with the abi3 feature enabled. Subclasses incorrectly use their own type when accessing base class data, leading to improper memory access. The issue is fixed by ensuring the correct base type is used during data access.
You are affected if you are using a version that falls within the vulnerable range.
pyo3 is vulnerable to Undefined Behavior in versions 0.28.0 - 0.28.1.
Upgrade the pyo3 library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant