{"id":"CVE-2019-15551","aliases":["CVE-2019-15551","GHSA-mm7v-vpv8-xfc3","RUSTSEC-2019-0009"],"related":[],"kind":"vulnerability","state":"published","title":"Double free in smallvec","summary":"An issue was discovered in the smallvec crate before 0.6.10 for Rust. There is a double free for certain grow attempts with the current capacity.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the smallvec crate before 0.6.10 for Rust. There is a double free for certain grow attempts with the current capacity.","source":"cvelist"},{"lang":"en","text":"Attempting to call grow on a spilled SmallVec with a value equal to the current capacity causes it to free the existing data. This performs a double free immediately and may lead to use-after-free on subsequent accesses to the SmallVec contents. An attacker that controls the value passed to grow may exploit this flaw to obtain memory contents or gain remote code execution.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Attempting to call `grow` on a spilled SmallVec with a value equal to the current capacity causes it to free the existing data. This performs a double free immediately and may lead to use-after-free on subsequent accesses to the SmallVec contents.\n\nAn attacker that controls the value passed to `grow` may exploit this flaw to obtain memory contents or gain remote code execution.\n\nCredits to [@ehuss](https://github.com/ehuss) for discovering, reporting and fixing the bug.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en el paquete smallvec versiones anteriores a 0.6.10 para Rust. Hay un doble libre para ciertos intentos de crecimiento con la capacidad actual.","source":"nvd"}],"published":"2019-06-06T12:00:00.000Z","modified":"2026-07-17T16:00:03.204Z","severity":{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-415"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.6.5","status":"affected","fixed":"0.6.10"}],"ecosystem":"crates.io","package":"smallvec","purl":"pkg:cargo/smallvec","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.6.5","status":"affected","fixed":"0.6.10"}],"ecosystem":"crates.io","package":"smallvec","purl":"pkg:cargo/smallvec","source":"rustsec"},{"ranges":[{"status":"affected","introduced":"0.6.5","fixed":"0.6.10"}],"vendor":"servo","product":"smallvec","cpe":"cpe:2.3:a:servo:smallvec:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2019-0009.html","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://github.com/servo/rust-smallvec/issues/148","tags":["patch","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15551","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/servo/rust-smallvec/issues/149","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/servo/rust-smallvec/commit/c20cfa8584e649f00dc0767ab6fad63a3f59a296","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/servo/rust-smallvec/commit/f96322b9243405cc82701cc73f1b19313b413ab4","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/servo/rust-smallvec","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/smallvec","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-15551","url":"https://www.cve.org/CVERecord?id=CVE-2019-15551","licence":"CVE Terms of Use","modified":"2024-08-05T00:49:13.774Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mm7v-vpv8-xfc3","url":"https://github.com/advisories/GHSA-mm7v-vpv8-xfc3","licence":"CC-BY-4.0","modified":"2023-11-08T04:01:14.162Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2019-0009","url":"https://rustsec.org/advisories/RUSTSEC-2019-0009.html","licence":"CC0-1.0","modified":"2026-07-17T16:00:03.204Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-15551","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15551","licence":"Public domain","modified":"2026-06-17T02:20:37.053Z"}],"updatedAt":"2026-11-25T22:57:46.697Z","epss":{"score":0.01862,"percentile":0.79864,"date":"2026-12-01T12:00:22.000Z"}}