All reports
Medium

Reference counting error in pyo3

Affected versions

Version ranges need review.

Rust / Cargopyo3
Affected versions
>= 0.12.0, < 0.12.4
Fixed version
0.12.4
Rust / Cargopyo3
Affected versions
>=0.12.0 <0.12.4
Fixed version
0.12.4

Exploitation

CVE-2020-35917

Probability of exploitation in the next 30 days: 0.39%

FIRST EPSS · 2026-11-20

Description

An issue was discovered in the pyo3 crate before 0.12.4 for Rust. There is a reference-counting error and use-after-free in From<Py>.

Links

Credits

  • tdunlap607