# CVE-2018-20991

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 0.6.3 (CNA); fix release not confirmed
- Status: published
- Published: 2019-08-26 · Modified: 2024-08-05
- Aliases: SUSE-SU-2021:1310-1, UBUNTU-CVE-2018-20991, GHSA-rxr4-x558-x7hw, RUSTSEC-2018-0003
- Record: https://cvemate.com/vulnerability/CVE-2018-20991 · JSON: https://cvemate.com/vulnerability/CVE-2018-20991/json

## Description

```text
An issue was discovered in the smallvec crate before 0.6.3 for Rust. The Iterator implementation mishandles destructors, leading to a double free.
```

## Signals

- CVSS: 9.8 critical (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.848%, percentile 79.813%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- Crates.Io smallvec (Crates.Io): ≥ 0.3.2, \< 0.6.3 \| ≥ 0.6.0-0, \< 0.6.3
- ubuntu rust-smallvec (Ubuntu): All versions (No fix recorded)
- suse librsvg&distro=SUSE Linux Enterprise Module for Package Hub 15 SP2 (SUSE Linux Enterprise): \< 2.42.9-3.6.1
- servo smallvec: ≥ 0.3.2, \< 0.6.3

## References

- <https://rustsec.org/advisories/RUSTSEC-2018-0003.html>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20211310-1/>
- <https://bugzilla.suse.com/1148293>
- <https://bugzilla.suse.com/1181571>
- <https://www.suse.com/security/cve/CVE-2018-20991>
- <https://ubuntu.com/security/CVE-2018-20991>
- <https://www.cve.org/CVERecord?id=CVE-2018-20991>
- <https://nvd.nist.gov/vuln/detail/CVE-2018-20991>
- <https://github.com/servo/rust-smallvec/issues/96>
- <https://github.com/servo/rust-smallvec>
- <https://crates.io/crates/smallvec>

---

Data as of 2026-12-05T09:21:31.188Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
