{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-20991","id":"CVE-2018-20991","title":"Double free in smallvec","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.","descriptionLong":"An issue was discovered in the smallvec crate before 0.6.3 for Rust. The Iterator implementation mishandles destructors, leading to a double free.","published":"2019-08-26T14:23:19.000Z","updated":"2026-11-11T02:45:11.506711673Z","reserved":"2019-08-25T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"smallvec","purl":"pkg:cargo/smallvec","ranges":[">=0.3.2 <0.6.3",">=0.3.2 <0.3.4",">=0.4.0-0 <0.4.5",">=0.5.0-0 <0.5.1",">=0.6.0-0 <0.6.3"],"fixed":["0.6.3","0.3.4","0.4.5","0.5.1"],"advisory":"GHSA-rxr4-x558-x7hw"}],"cwes":["CWE-415"],"aliases":["GHSA-rxr4-x558-x7hw","RUSTSEC-2018-0003"],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2018-0003.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20991","tags":["advisory"]},{"url":"https://github.com/servo/rust-smallvec/issues/96","tags":["web","report"]},{"url":"https://github.com/servo/rust-smallvec","tags":["package"]},{"url":"https://crates.io/crates/smallvec","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01848,"epssPercentile":0.79515,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-20991","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20991","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-20991","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rxr4-x558-x7hw","ok":true,"note":"GHSA-rxr4-x558-x7hw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-20991","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}