Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2020-35917: An issue was discovered in the pyo3 crate before 0.12.4 for Rust

33
Routine
MEDIUM 5.5UPGRADE

CVE-2020-35917 is a medium-severity flaw (CVSS 5.5) affecting pyo3. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score5.5 (Medium)
Attack vectorLocal
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.4% (top 67%)
CISA exploited listNo
WeaknessCWE-416
Published2020-12-31
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: pyo3 project

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

pyo3 project pyo3 UPGRADE
Affected: < 0.12.4
Fixed in: 0.12.4
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy pyo3 || rpm -q pyo3 || pyo3 --version
2. UPGRADE to 0.12.4 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade pyo3
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade pyo3
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2020-35917?

pyo3: upgrade to 0.12.4. Exact commands for each OS are on this page.

Is CVE-2020-35917 being exploited?

CVE-2020-35917 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2020-35917 affect?

CVE-2020-35917 affects pyo3. Severity is medium (CVSS 5.5). 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>>.

How urgent is CVE-2020-35917?

Priority 33/100. Public exploit reference

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.