{"id":"CVE-2020-35885","aliases":["EUVD-2021-1839","GHSA-qc4m-gc8r-mg8m","RUSTSEC-2020-0032"],"status":"published","title":"Double free in alpm-rs","description":"An issue was discovered in the alpm-rs crate through 2020-08-20 for Rust. StrcCtx performs improper memory deallocation.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01534,"percentile":0.74998,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-415"],"published":"2020-08-20T12:00:00Z","modified":"2026-06-17T03:14:32Z","affected":[{"source":"ghsa","ecosystem":"crates.io","package":"alpm-rs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.1.24"}]}]},{"source":"osv","ecosystem":"crates.io","package":"alpm-rs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.1.24"}]}]},{"source":"osv","ecosystem":"crates.io","package":"alpm-rs","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}]}],"products":[{"vendor":"alpm-rs_project","product":"alpm-rs"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0032.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35885","tags":["advisory"]},{"url":"https://github.com/pigeonhands/rust-arch/issues/2","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-qc4m-gc8r-mg8m"},{"url":"https://github.com/BahNahNah/rust-arch/tree/master/alpm-rs","tags":["package"]},{"url":"https://crates.io/crates/alpm-rs","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-35885","description":"An issue was discovered in the alpm-rs crate through 2020-08-20 for Rust. StrcCtx performs improper memory deallocation.","status":"published","published":"2020-12-31T08:25:34Z","modified":"2024-08-04T17:16:13.051Z","updated_at":"2026-11-02T14:35:57.975444Z"}],"euvd":[{"id":"EUVD-2021-1839","description":"An issue was discovered in the alpm-rs crate through 2020-08-20 for Rust. StrcCtx performs improper memory deallocation.","status":"published","published":"2020-12-31T08:25:34Z","modified":"2024-08-04T17:16:13Z","updated_at":"2026-11-03T03:07:04.065361Z"}],"ghsa":[{"id":"GHSA-qc4m-gc8r-mg8m","title":"Double free in alpm-rs","description":"An issue was discovered in the alpm-rs crate through 2020-08-20 for Rust. StrcCtx performs improper memory deallocation.","status":"published","published":"2021-08-25T20:48:59Z","modified":"2023-02-01T05:05:53Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:36:35.781528Z"}],"nvd":[{"id":"CVE-2020-35885","description":"An issue was discovered in the alpm-rs crate through 2020-08-20 for Rust. StrcCtx performs improper memory deallocation.","status":"published","published":"2020-12-31T10:15:16.393Z","modified":"2026-06-17T03:14:32.06Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:06:28.340168Z"}],"osv":[{"id":"GHSA-qc4m-gc8r-mg8m","title":"Double free in alpm-rs","description":"An issue was discovered in the alpm-rs crate through 2020-08-20 for Rust. StrcCtx performs improper memory deallocation.","status":"published","published":"2021-08-25T20:48:59Z","modified":"2023-11-08T04:03:37.500601Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T15:46:54.40888Z"},{"id":"RUSTSEC-2020-0032","title":"StrcCtx deallocates a memory region that it doesn't own","description":"`StrcCtx` deallocate a memory region that it doesn't own when `StrcCtx` is created without using `StrcCtx::new`.\nThis can introduce memory safety issues such as double-free and use-after-free to client programs.","status":"published","published":"2020-08-20T12:00:00Z","modified":"2023-11-08T04:03:37.500601Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
