{"id":"CVE-2020-36465","aliases":["DEBIAN-CVE-2020-36465","EUVD-2021-1525","GHSA-3358-4f7f-p4j4","RUSTSEC-2020-0146","UBUNTU-CVE-2020-36465","openSUSE-SU-2024:11751-1"],"status":"published","title":"Use after free in generic-array","description":"An issue was discovered in the generic-array crate before 0.13.3 for Rust. It violates soundness by using the arr! macro to extend lifetimes.","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.01267,"percentile":0.69997,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-416"],"published":"2020-04-09T12:00:00Z","modified":"2026-10-26T12:02:04Z","fixes":[{"ecosystem":"crates.io","package":"generic-array","fixed_in":["0.13.3","0.12.4","0.11.2","0.10.1","0.9.1","0.8.4"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"rust-generic-array","fixed_in":["0.14.4-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"rust-generic-array","fixed_in":["0.14.4-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rust-generic-array","fixed_in":["0.14.4-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"generic-array","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.13.0"},{"fixed":"0.13.3"}]}]},{"source":"ghsa","ecosystem":"crates.io","package":"generic-array","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.12.0"},{"fixed":"0.12.4"}]}]},{"source":"ghsa","ecosystem":"crates.io","package":"generic-array","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.11.0"},{"fixed":"0.11.2"}]}]},{"source":"ghsa","ecosystem":"crates.io","package":"generic-array","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.10.0"},{"fixed":"0.10.1"}]}]},{"source":"ghsa","ecosystem":"crates.io","package":"generic-array","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.8.0"},{"fixed":"0.9.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"rust-generic-array","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14.4-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rust-generic-array","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14.4-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"rust-generic-array","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14.4-1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"generic-array","ranges":[{"type":"SEMVER","events":[{"introduced":"0.13.0"},{"fixed":"0.13.3"}]}]},{"source":"osv","ecosystem":"crates.io","package":"generic-array","ranges":[{"type":"SEMVER","events":[{"introduced":"0.12.0"},{"fixed":"0.12.4"}]}]},{"source":"osv","ecosystem":"crates.io","package":"generic-array","ranges":[{"type":"SEMVER","events":[{"introduced":"0.11.0"},{"fixed":"0.11.2"}]}]},{"source":"osv","ecosystem":"crates.io","package":"generic-array","ranges":[{"type":"SEMVER","events":[{"introduced":"0.10.0"},{"fixed":"0.10.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"generic-array","ranges":[{"type":"SEMVER","events":[{"introduced":"0.8.0"},{"fixed":"0.9.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"generic-array","ranges":[{"type":"SEMVER","events":[{"introduced":"0.8.0"},{"fixed":"0.8.4"},{"introduced":"0.9.0"},{"fixed":"0.9.1"},{"introduced":"0.10.0"},{"fixed":"0.10.1"},{"introduced":"0.11.0"},{"fixed":"0.11.2"},{"introduced":"0.12.0"},{"fixed":"0.12.4"},{"introduced":"0.13.0"},{"fixed":"0.13.3"}]}]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"rust-generic-array","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.0-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"rust-generic-array","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.4-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"rust-generic-array","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.7-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"rust-generic-array","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.7-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"rust-generic-array","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.7-1","1.4.4-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"rust-generic-array","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.7-1"]}],"products":[{"vendor":"generic-array_project","product":"generic-array"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0146.html","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","web","advisory","report"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/generic-array/RUSTSEC-2020-0146.md","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36465","tags":["advisory"]},{"url":"https://github.com/fizyk20/generic-array/issues/98","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-3358-4f7f-p4j4"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-36465","tags":["advisory"]},{"url":"https://github.com/fizyk20/generic-array","tags":["package"]},{"url":"https://crates.io/crates/generic-array","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2020-36465","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-36465","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2020-35905","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-36465","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-27378","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-32714","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-32715","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-38191","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-45710","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2020-36465","description":"An issue was discovered in the generic-array crate before 0.13.3 for Rust. It violates soundness by using the arr! macro to extend lifetimes.","status":"published","published":"2021-08-08T05:12:33Z","modified":"2024-08-04T17:30:07.312Z","updated_at":"2026-11-02T14:35:55.128961Z"}],"euvd":[{"id":"EUVD-2021-1525","description":"An issue was discovered in the generic-array crate before 0.13.3 for Rust. It violates soundness by using the arr! macro to extend lifetimes.","status":"published","published":"2021-08-08T05:12:33Z","modified":"2024-08-04T17:30:07Z","updated_at":"2026-11-03T03:07:03.010139Z"}],"ghsa":[{"id":"GHSA-3358-4f7f-p4j4","title":"Use after free in generic-array","description":"An issue was discovered in the generic-array crate before 0.13.3 for Rust. It violates soundness by using the arr! macro to extend lifetimes.","status":"published","published":"2021-08-25T20:56:12Z","modified":"2023-02-01T05:06:12Z","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-416"],"updated_at":"2026-11-02T14:36:38.281533Z"}],"nvd":[{"id":"CVE-2020-36465","description":"An issue was discovered in the generic-array crate before 0.13.3 for Rust. It violates soundness by using the arr! macro to extend lifetimes.","status":"published","published":"2021-08-08T06:15:08.117Z","modified":"2026-06-17T03:15:33Z","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"}],"updated_at":"2026-11-02T14:06:44.292752Z"}],"osv":[{"id":"CVE-2020-36465","description":"An issue was discovered in the generic-array crate before 0.13.3 for Rust. It violates soundness by using the arr! macro to extend lifetimes.","status":"published","published":"2021-08-08T06:15:08.117Z","modified":"2026-10-24T10:30:26.141410965Z","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:44:16.936975Z"},{"id":"DEBIAN-CVE-2020-36465","description":"An issue was discovered in the generic-array crate before 0.13.3 for Rust. It violates soundness by using the arr! macro to extend lifetimes.","status":"published","published":"2021-08-08T06:15:08.117Z","modified":"2026-10-26T12:02:04.423078865Z","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:45:34.019707Z"},{"id":"GHSA-3358-4f7f-p4j4","title":"Use after free in generic-array","description":"An issue was discovered in the generic-array crate before 0.13.3 for Rust. It violates soundness by using the arr! macro to extend lifetimes.","status":"published","published":"2021-08-25T20:56:12Z","modified":"2023-11-08T04:03:46.503418Z","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-416"],"updated_at":"2026-11-02T15:46:35.050232Z"},{"id":"RUSTSEC-2020-0146","title":"arr! macro erases lifetimes","description":"Affected versions of this crate allowed unsoundly extending\nlifetimes using `arr!` macro. This may result in a variety of\nmemory corruption scenarios, most likely use-after-free.","status":"published","published":"2020-04-09T12:00:00Z","modified":"2023-11-08T04:03:46.503418Z","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"},{"id":"UBUNTU-CVE-2020-36465","description":"An issue was discovered in the generic-array crate before 0.13.3 for Rust. It violates soundness by using the arr! macro to extend lifetimes.","status":"published","published":"2021-08-08T06:15:00Z","modified":"2026-10-17T12:56:14.457327977Z","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:54:25.179924Z"},{"id":"openSUSE-SU-2024:11751-1","title":"afterburn-5.0.0-6.1 on GA media","description":"These are all security issues fixed in the afterburn-5.0.0-6.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:42:02.541488Z","updated_at":"2026-11-02T16:58:35.195147Z"}]}}
