CVE-2020-35885
CRITICAL 9.8CVSS 3.1Double free in alpm-rs
An issue was discovered in the alpm-rs crate through 2020-08-20 for Rust. StrcCtx performs improper memory deallocation.
- Published
- 31 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-415
- Also known as
- GHSA-qc4m-gc8r-mg8mRUSTSEC-2020-0032
- Sources
- NVDJSONOSV GHSA-qc4m-gc8r-mg8mJSONOSV RUSTSEC-2020-0032JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | RustSec | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | alpm-rs_project | alpm-rscpe:2.3:a:alpm-rs_project:alpm-rs:*:*:*:*:*:rust:*:* |
<= 2020-08-20 | |
| OSV | crates.io | alpm-rs | <= 0.1.24 | |
| OSV | crates.io | alpm-rs | >= 0.0.0-0 |
References
- https://rustsec.org/advisories/RUSTSEC-2020-0032.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-35885 · ADVISORY
- https://github.com/pigeonhands/rust-arch/issues/2 · WEB, REPORT
- https://github.com/BahNahNah/rust-arch/tree/master/alpm-rs · PACKAGE
- https://crates.io/crates/alpm-rs · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Aug 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)