{"schemaVersion":3,"id":"CVE-2018-20991","aliases":["SUSE-SU-2021:1310-1","UBUNTU-CVE-2018-20991","GHSA-rxr4-x558-x7hw","RUSTSEC-2018-0003"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2019-08-26T14:23:19.000Z","modified":"2024-08-05T12:19:27.061Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Crates.io","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.01848,"percentile":0.78793,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.03499999999999996,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01813},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01848,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01848,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01848,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01848,"percentile":0.78793}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01813,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01848,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01848,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01848,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01848,"percentile":0.78793}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-415","name":"Double Free","description":"The product calls free() twice on the same memory address.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/415.html"}],"affected":[{"vendor":"Crates.Io","product":"smallvec","name":"smallvec","label":"smallvec","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/smallvec","purlType":"cargo","versions":[{"text":"≥ 0.3.2, < 0.6.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.6.0-0, < 0.6.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.3.2, < 0.6.3 | ≥ 0.6.0-0, < 0.6.3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rust-smallvec","name":"rust-smallvec","label":"rust-smallvec","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rust-smallvec","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"suse","product":"librsvg&distro=SUSE Linux Enterprise Module for Package Hub 15 SP2","name":"librsvg","label":"librsvg&distro=SUSE Linux Enterprise Module for Package Hub 15 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/librsvg&distro=SUSE Linux Enterprise Module for Package Hub 15 SP2","purlType":"rpm","versions":[{"text":"< 2.42.9-3.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.42.9-3.6.1","eol":null,"hubHref":null},{"vendor":"servo","product":"smallvec","name":"smallvec","label":"smallvec","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.3.2, < 0.6.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.3.2, < 0.6.3","eol":null,"hubHref":"/vendor/servo/smallvec"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2018-0003.html","label":"rustsec.org/advisories/RUSTSEC-2018-0003.html","hostname":"rustsec.org","tags":["X Refsource MISC","Third Party Advisory","REPORT","WEB","Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20211310-1/","label":"www.suse.com/support/update/announcement/2021/suse-su-20211310-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1148293","label":"bugzilla.suse.com/1148293","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1181571","label":"bugzilla.suse.com/1181571","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2018-20991","label":"www.suse.com/security/cve/CVE-2018-20991","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2018-20991","label":"ubuntu.com/security/CVE-2018-20991","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-20991","label":"www.cve.org/CVERecord?id=CVE-2018-20991","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20991","label":"nvd.nist.gov/vuln/detail/CVE-2018-20991","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/servo/rust-smallvec/issues/96","label":"github.com/servo/rust-smallvec/issues/96","hostname":"github.com","tags":["WEB","REPORT"]},{"url":"https://github.com/servo/rust-smallvec","label":"github.com/servo/rust-smallvec","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://crates.io/crates/smallvec","label":"crates.io/crates/smallvec","hostname":"crates.io","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2019-08-26T14:23:19.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T12:19:27.061Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T01:26:47.228Z","stale":false,"partial":false}}