Security mailing lists by PureSourceCode

CVE-2020-35917

MEDIUM 5.5CVSS 3.1

Reference counting error in pyo3

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

Published
31 Dec 2020
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-416
Also known as
GHSA-2vx6-fcw6-hpr6RUSTSEC-2020-0074
Sources
NVDJSONOSV GHSA-2vx6-fcw6-hpr6JSONOSV RUSTSEC-2020-0074JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
OSV RustSec CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 2.1 AV:L/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pyo3_project pyo3
cpe:2.3:a:pyo3_project:pyo3:*:*:*:*:*:rust:*:*
< 0.12.4 0.12.4
OSV crates.io pyo3 >= 0.12.0, < 0.12.4 0.12.4

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Dec 2020)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Nov 2020)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.