{"id":"UBUNTU-CVE-2018-20991","details":"An issue was discovered in the smallvec crate before 0.6.3 for Rust. The Iterator implementation mishandles destructors, leading to a double free.","modified":"2026-05-20T16:03:38.519100876Z","published":"2019-08-26T15:15:00Z","upstream":["CVE-2018-20991"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-20991"},{"type":"REPORT","url":"https://rustsec.org/advisories/RUSTSEC-2018-0003.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-20991"}],"affected":[{"package":{"name":"rust-smallvec","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/rust-smallvec?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.10-1","1.1.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.1.0-1","binary_name":"librust-smallvec+serde-dev"},{"binary_version":"1.1.0-1","binary_name":"librust-smallvec-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20991.json"}},{"package":{"name":"rust-smallvec","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/rust-smallvec?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.2-2","1.7.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.7.0-1","binary_name":"librust-smallvec+serde-dev"},{"binary_version":"1.7.0-1","binary_name":"librust-smallvec-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20991.json"}},{"package":{"name":"rust-smallvec","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/rust-smallvec?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.0-1","1.11.2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.11.2-1","binary_name":"librust-smallvec-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20991.json"}},{"package":{"name":"rust-smallvec","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/rust-smallvec?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.13.2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-smallvec-dev","binary_version":"1.13.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20991.json"}},{"package":{"name":"rust-smallvec","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rust-smallvec?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.13.2-1","1.15.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.15.1-1","binary_name":"librust-smallvec-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20991.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}