Live threats

All CVEs / Pyo3 Project

CVE-2020-35917Pyo3 Project Pyo3

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
0.4%
probability of exploitation in 30 days · percentile 36
Auth required
Yes
Published
Dec 31, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-416
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

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<T>>.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pyo3.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io pyo3 ≥ 0.12.0 < 0.12.4 0.12.4 cargo update -p pyo3 --precise 0.12.4
crates.io pyo3 ≥ 0.12.0 < 0.12.4 0.12.4 cargo update -p pyo3 --precise 0.12.4

Per OSV / GitHub Advisories (GHSA-2vx6-fcw6-hpr6, RUSTSEC-2020-0074). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pyo3_projectpyo3< 0.12.4

Official sources

References

Links published by the sources. Open them with care.