CVE-2018-20991Servo Smallvec
Critical 9.8 No auth needed
Follow: this CVE · Servo · Servo Smallvec We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 80
- Auth required
- No
- Published
- Aug 26, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-415
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
An issue was discovered in the smallvec crate before 0.6.3 for Rust. The Iterator implementation mishandles destructors, leading to a double free.
What to do
- Apply the vendor's security update for Smallvec.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | smallvec |
≥ 0.3.2 < 0.6.3 |
0.6.3 |
cargo update -p smallvec --precise 0.6.3 |
| crates.io | smallvec |
≥ 0.3.2 < 0.3.4 |
0.3.4 |
cargo update -p smallvec --precise 0.3.4 |
| crates.io | smallvec |
≥ 0.4.0-0 < 0.4.5 |
0.4.5 |
cargo update -p smallvec --precise 0.4.5 |
| crates.io | smallvec |
≥ 0.5.0-0 < 0.5.1 |
0.5.1 |
cargo update -p smallvec --precise 0.5.1 |
| crates.io | smallvec |
≥ 0.6.0-0 < 0.6.3 |
0.6.3 |
cargo update -p smallvec --precise 0.6.3 |
Per OSV / GitHub Advisories (GHSA-rxr4-x558-x7hw, RUSTSEC-2018-0003). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| servo | smallvec | ≥ 0.3.2 < 0.6.3 |
Official sources
References
Links published by the sources. Open them with care.
- rustsec.org Third Party Advisory