{"id":"EUVD-2021-1878","revision":null,"records":[{"revision":"6ba0d2044175435286747aeceeed81a3","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2018-20991","aliases":[],"title":"An issue was discovered in the smallvec crate before 0.6.3 for Rust. The Iterator implementation mishandles destructors, leading to a double free.","description":"An issue was discovered in the smallvec crate before 0.6.3 for Rust. The Iterator implementation mishandles destructors, leading to a double free.","state":0,"publishedAt":"2019-08-26T14:23:19+00:00","modifiedAt":"2024-08-05T12:19:27.061+00:00","affected":[{"ecosystem":"Vendor product","name":"n/a","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"n/a\",\n                    \"vendor\": \"n/a\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"n/a\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://rustsec.org/advisories/RUSTSEC-2018-0003.html"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2018-20991","license":"CVE Program Terms of Use","key":"cve-program:CVE-2018-20991","identifiers":["CVE-2018-20991"]},"retained":false,"historicalAffected":[]},{"revision":"596653e5498a47e1a85a83893112a84b","observedAt":"2026-11-24T08:36:24.293+00:00","statement":{"source":"euvd","id":"EUVD-2021-1878","aliases":["CVE-2018-20991","GHSA-rxr4-x558-x7hw"],"title":"An issue was discovered in the smallvec crate before 0.6.3 for Rust. The Iterator implementation mishandles destructors, leading to a double free.","description":"An issue was discovered in the smallvec crate before 0.6.3 for Rust. The Iterator implementation mishandles destructors, leading to a double free.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[],"references":["https://rustsec.org/advisories/RUSTSEC-2018-0003.html"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-1878","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 26, 2019, 2:23:19 PM","dateUpdated":"Aug 5, 2024, 12:19:27 PM"},"relatedAdvisories":[{"id":"SUSE-SU-2021:1310-1","title":"Security update for librsvg","vulnerabilityIds":["CVE-2018-20991"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2021-1878","identifiers":["EUVD-2021-1878","CVE-2018-20991","GHSA-rxr4-x558-x7hw"]},"retained":false,"historicalAffected":[]},{"revision":"8185fc608a10485ba5701c6af5cf18cc","observedAt":"2026-10-24T14:17:44.361+00:00","statement":{"source":"nvd","id":"CVE-2018-20991","aliases":[],"title":"An issue was discovered in the smallvec crate before 0.6.3 for Rust. The Iterator implementation mishandles destructors, leading to a double free.","description":"An issue was discovered in the smallvec crate before 0.6.3 for Rust. The Iterator implementation mishandles destructors, leading to a double free.","state":0,"publishedAt":"2019-08-26T15:15:11.39+00:00","modifiedAt":"2026-06-17T01:53:53.667+00:00","affected":[],"metrics":[{"system":"CVSS 3.0 · nvd@nist.gov · Primary","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"severity":"HIGH"}],"references":["https://rustsec.org/advisories/RUSTSEC-2018-0003.html"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2018-20991","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-415"],"productCriteria":["cpe:2.3:a:servo:smallvec:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2019-08-26T15:15:11.390","lastModified":"2026-06-17T01:53:53.667"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2018-20991","identifiers":["CVE-2018-20991"]},"retained":false,"historicalAffected":[]},{"revision":"0afe51a0759d4fe7a2697da6931d697e","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-rxr4-x558-x7hw","aliases":["CVE-2018-20991","RUSTSEC-2018-0003"],"title":"Double free in smallvec","description":"If an iterator passed to SmallVec::insert_many panicked in Iterator::next, destructors were run during unwinding while the vector was in an inconsistent state, possibly causing a double free (a destructor running on two copies of the same value).\n\nThis is fixed in smallvec 0.6.3 by ensuring that the vector's length is not updated to include moved items until they have been removed from their original positions. Items may now be leaked if Iterator::next panics, but they will not be dropped more than once.","state":0,"publishedAt":"2021-08-25T20:42:54+00:00","modifiedAt":"2023-11-08T04:00:13.368337+00:00","affected":[{"ecosystem":"crates.io","name":"smallvec","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.3.2"},{"kind":"fixed","version":"0.6.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2018-20991","https://github.com/servo/rust-smallvec/issues/96","https://github.com/servo/rust-smallvec","https://rustsec.org/advisories/RUSTSEC-2018-0003.html"],"sourceUrl":"https://github.com/advisories/GHSA-rxr4-x558-x7hw","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-rxr4-x558-x7hw","identifiers":["GHSA-rxr4-x558-x7hw","CVE-2018-20991","RUSTSEC-2018-0003"]},"retained":false,"historicalAffected":[]},{"revision":"bec07e1eb42e4d6cb86c4e697b7c60c1","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2018-0003","aliases":["CVE-2018-20991","GHSA-rxr4-x558-x7hw"],"title":"Possible double free during unwinding in SmallVec::insert_many","description":"If an iterator passed to `SmallVec::insert_many` panicked in `Iterator::next`,\ndestructors were run during unwinding while the vector was in an inconsistent\nstate, possibly causing a double free (a destructor running on two copies of\nthe same value).\n\nThis is fixed in smallvec 0.6.3 by ensuring that the vector's length is not\nupdated to include moved items until they have been removed from their\noriginal positions.  Items may now be leaked if `Iterator::next` panics, but\nthey will not be dropped more than once.\n\nThank you to [@Vurich](https://github.com/Vurich) for reporting this bug.","state":0,"publishedAt":"2018-07-19T12:00:00+00:00","modifiedAt":"2026-07-17T16:00:03.2397832+00:00","affected":[{"ecosystem":"crates.io","name":"smallvec","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.3.2"},{"kind":"fixed","version":"0.3.4"},{"kind":"introduced","version":"0.4.0-0"},{"kind":"fixed","version":"0.4.5"},{"kind":"introduced","version":"0.5.0-0"},{"kind":"fixed","version":"0.5.1"},{"kind":"introduced","version":"0.6.0-0"},{"kind":"fixed","version":"0.6.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null}],"references":["https://crates.io/crates/smallvec","https://rustsec.org/advisories/RUSTSEC-2018-0003.html","https://github.com/servo/rust-smallvec/issues/96"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2018-0003","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2018-0003","identifiers":["RUSTSEC-2018-0003","CVE-2018-20991","GHSA-rxr4-x558-x7hw"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-24T14:27:28.7769286+00:00","complete":true,"records":1792,"lastAttemptAt":"2026-11-24T14:27:28.7769286+00:00","lastSuccessAt":"2026-11-24T14:27:29.0577822+00:00","error":null,"lastVerifiedAt":"2026-11-24T14:27:29.0577826+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-f6e4a7f93ed9acd6fcb1f804a4567f7b9b16730ac126110af8d6d24176317946-2991e6521ef566e0c10209820ac50ab7e651f12955d3aa3999a89d4645ccf91a","complete":true,"records":431180,"lastAttemptAt":"2026-11-24T14:25:34.0694597+00:00","lastSuccessAt":"2026-11-24T14:25:33.9638684+00:00","error":null,"lastVerifiedAt":"2026-11-24T14:25:34.0694597+00:00","snapshotPublishedAt":"2026-11-24T13:29:43+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-856372ccbc504bdfabe25695728fae30","complete":false,"records":13935,"lastAttemptAt":"2026-11-24T14:30:13.8733764+00:00","lastSuccessAt":"2026-11-24T14:30:13.869+00:00","error":"229 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-24T14:30:13.869+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13742,"expectedIdentifiers":13982,"failedIdentifiers":229},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-24T14:27:28.7769286+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-24T14:27:28.7769286+00:00","lastSuccessAt":"2026-11-24T14:27:29.0592661+00:00","error":null,"lastVerifiedAt":"2026-11-24T14:27:29.0592662+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-7e06b8e9a29b4d0684cd567054cf3772","complete":false,"records":13947,"lastAttemptAt":"2026-11-24T14:27:54.293013+00:00","lastSuccessAt":"2026-11-24T14:27:54.289+00:00","error":null,"lastVerifiedAt":"2026-11-24T14:27:54.289+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13483,"expectedIdentifiers":13982,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-c86437892ddabdeaf17409463a17578b1e71dd185d64061100dd57629858f6d6","complete":true,"records":10074,"lastAttemptAt":"2026-11-24T14:27:28.6267034+00:00","lastSuccessAt":"2026-11-23T22:27:19.6557603+00:00","error":null,"lastVerifiedAt":"2026-11-24T14:27:28.6267034+00:00","snapshotPublishedAt":"2026-11-23T21:33:52+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-24T14:25:34.2388851+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-24T14:25:34.2388851+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-3afd4dd07a6bf352a6a53c4438150c464a2527017b95ca94804134ea15f1eba9","complete":true,"records":3220,"lastAttemptAt":"2026-11-24T14:27:28.7339491+00:00","lastSuccessAt":"2026-11-24T10:25:37.8779609+00:00","error":null,"lastVerifiedAt":"2026-11-24T14:27:28.7339491+00:00","snapshotPublishedAt":"2026-11-24T09:33:40+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-21aaa182de2be10c5d73aacd59f230967dc45fb154b9c5733ffb9433db7eecea","complete":true,"records":232963,"lastAttemptAt":"2026-11-24T14:27:28.4958157+00:00","lastSuccessAt":"2026-11-24T14:27:27.4013449+00:00","error":null,"lastVerifiedAt":"2026-11-24T14:27:28.4958157+00:00","snapshotPublishedAt":"2026-11-24T13:48:55+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}