{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-28876","published":"2021-04-11T20:15:12.687000Z","last_modified":"2026-06-17T03:47:00.457000Z","status":"Modified","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-755"],"cpes":[{"criteria":"cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*","part":"a","vendor":"rust-lang","product":"rust","version_end_excluding":"1.52.0"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"32"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"33"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"34"}],"cpes_truncated":false,"vendors":["rust-lang","fedoraproject"],"products":["rust-lang/rust","fedoraproject/fedora"],"epss":{"score":0.01566,"percentile":0.75668,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2021-28876/","html_en":"/en/cve/CVE-2021-28876/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-28876","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-28876"},"untrusted":{"vendor_name":"Rust-lang","product_name":"Rust","desc_en":"In the standard library in Rust before 1.52.0, the Zip implementation has a panic safety issue. It calls __iterator_get_unchecked() more than once for the same index when the underlying iterator panics (in certain conditions). This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.","affected":[],"references":[{"url":"https://github.com/rust-lang/rust/issues/81740","tags":["Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/rust-lang/rust/pull/81741","tags":["Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TFUO3URYCO73D2Q4WYJBWAMJWGGVXQO4/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VZG65GUW6Z2CYOQHF7T3TB5CZKIX6ZJE/","tags":[]},{"url":"https://security.gentoo.org/glsa/202210-09","tags":["Third Party Advisory"]}]}}