Vulnerability database / CVE-2021-28879
CVE-2021-28879
CRITICAL 9.8 CVSS 3.1 In the standard library in Rust before 1.52.0, the Zip implementation can report an incorrect size due to an integer overflow. This bug can lead to a buffer overflow when a consumed Zip iterator is used again.
Published 11 Apr 2021
Last modified 17 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-190 Sources
NVD JSON 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:HNVD
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
rust-lang
rustcpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*
< 1.52.0
1.52.0 NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
= 32
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
= 33
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
References
History
25 Nov 2026 20:32 UTC · NVD: first stored (published 11 Apr 2021)