{"id":"CVE-2021-25908","aliases":["EUVD-2021-1926","GHSA-x3v2-fgr6-3wmm","RUSTSEC-2021-0011"],"status":"published","title":"Double free in fil-ocl","description":"An issue was discovered in the fil-ocl crate through 2021-01-04 for Rust. From\u003cEventList\u003e can lead to a double free.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01343,"percentile":0.7161,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-415"],"published":"2021-01-04T12:00:00Z","modified":"2026-06-17T03:42:33Z","affected":[{"source":"ghsa","ecosystem":"crates.io","package":"fil-ocl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.12.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"fil-ocl","ranges":[{"type":"SEMVER","events":[{"introduced":"0.12.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"fil-ocl","ranges":[{"type":"SEMVER","events":[{"introduced":"0.12.0"}]}]}],"products":[{"vendor":"fil-ocl_project","product":"fil-ocl"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0011.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25908","tags":["advisory"]},{"url":"https://github.com/cogciprocate/ocl/issues/194","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-x3v2-fgr6-3wmm"},{"url":"https://github.com/filecoin-project/fil-ocl","tags":["package"]},{"url":"https://crates.io/crates/fil-ocl","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-25908","description":"An issue was discovered in the fil-ocl crate through 2021-01-04 for Rust. From\u003cEventList\u003e can lead to a double free.","status":"published","published":"2021-01-22T09:02:02Z","modified":"2024-08-03T20:11:28.526Z","updated_at":"2026-11-02T14:32:59.430294Z"}],"euvd":[{"id":"EUVD-2021-1926","description":"An issue was discovered in the fil-ocl crate through 2021-01-04 for Rust. From\u003cEventList\u003e can lead to a double free.","status":"published","published":"2021-01-22T09:02:02Z","modified":"2024-08-03T20:11:28Z","updated_at":"2026-11-03T03:24:51.962182Z"}],"ghsa":[{"id":"GHSA-x3v2-fgr6-3wmm","title":"Double free in fil-ocl","description":"An issue was discovered in the fil-ocl crate through 2021-01-04 for Rust. From\u003cEventList\u003e can lead to a double free.","status":"published","published":"2021-08-25T20:53:03Z","modified":"2023-01-09T05:05:14Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:36:11.367194Z"}],"nvd":[{"id":"CVE-2021-25908","description":"An issue was discovered in the fil-ocl crate through 2021-01-04 for Rust. From\u003cEventList\u003e can lead to a double free.","status":"published","published":"2021-01-26T18:16:22.723Z","modified":"2026-06-17T03:42:33.65Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:06:49.660551Z"}],"osv":[{"id":"GHSA-x3v2-fgr6-3wmm","title":"Double free in fil-ocl","description":"An issue was discovered in the fil-ocl crate through 2021-01-04 for Rust. From\u003cEventList\u003e can lead to a double free.","status":"published","published":"2021-08-25T20:53:03Z","modified":"2023-11-08T04:05:16.979651Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T15:46:59.484835Z"},{"id":"RUSTSEC-2021-0011","title":"EventList's From\u003cEventList\u003e conversions can double drop on panic.","description":"Affected versions of this crate read from a container using `ptr::read` in\n`From\u003cEventList\u003e`, and then call a user specified `Into\u003cEvent\u003e` function.\n\nThis issue can result in a double-free if the user provided function panics.","status":"published","published":"2021-01-04T12:00:00Z","modified":"2023-11-08T04:05:16.979651Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
