{"id":"CVE-2021-25900","published":"2021-01-22T09:03:36Z","modified":"2024-08-03T20:11:28Z","title":"An issue was discovered in the smallvec crate before 0.6.14 and 1.x before 1.6.1 for Rust","vendor":null,"product":null,"tier":"tail","description":{"text":"An issue was discovered in the smallvec crate before 0.6.14 and 1.x before 1.6.1 for Rust. There is a heap-based buffer overflow in SmallVec::insert_many.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0172,"percentile":0.78038,"provenance":"source"},"cwes":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0003.html","tags":["x_refsource_MISC"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":15.61}]},"affected":[{"ecosystem":"crates.io","package":"smallvec","vulnerableRanges":[">=0.6.3, <0.6.14",">=1.0.0, <1.6.1"],"patched":["0.6.14","1.6.1"],"from":["GHSA-43w2-9j62-hq99","RUSTSEC-2021-0003"],"provenance":"source"}],"summary":{"text":"The flaw is a heap-based buffer overflow in the SmallVec::insert_many function of the smallvec crate for Rust, affecting versions before 0.6.14 and 1.x before 1.6.1.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:44Z"},"euvd":{"id":"EUVD-2022-2287","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-smallvec-cve-2019-15551","parents":[{"from":"CVE-2019-15551","to":"CVE-2021-25900","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib.rs"],"commits":["https://github.com/servo/rust-smallvec/commit/c20cfa8584e649f00dc0767ab6fad63a3f59a296","https://github.com/servo/rust-smallvec/commit/f96322b9243405cc82701cc73f1b19313b413ab4","https://github.com/servo/rust-smallvec/commit/5757ac500d4e544485d796b542e4e589749c291b","https://github.com/servo/rust-smallvec/commit/9998ba0694a6b51aa6604748b00b6a98f0a0039e"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2021-25900","to":"CVE-2018-25023","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib.rs"],"commits":["https://github.com/servo/rust-smallvec/commit/e64afc8c473d43e375ab42bd33db2d0d4ac4e41b","https://github.com/servo/rust-smallvec/commit/5757ac500d4e544485d796b542e4e589749c291b","https://github.com/servo/rust-smallvec/commit/9998ba0694a6b51aa6604748b00b6a98f0a0039e"],"basis":"rarely changed file"}]}]}}