CVE-2018-20991: servo smallvec Double Free
CVSS: 9.8v3.0CriticalModified
AliasesSUSE-SU-2021:1310-1UBUNTU-CVE-2018-20991GHSA-rxr4-x558-x7hwRUSTSEC-2018-0003
Published 26-08-2019Last modified 05-08-2024
Vulnerability summary
CVE-2018-20991 is a critical (CVSS 9.8) Double Free vulnerability in servo smallvec. EPSS estimates a 1.85% chance of exploitation in the next 30 days, higher than 78.7% of scored vulnerabilities.
CVSS score
9.8/10
010
Critical · v3.0 (NVD)EPSS score
1.85%
0%100%
Low · +0.03 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 26-08-2019PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · Crates.ioEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
1.85%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
+0.03 pp
From 1.81% on 20-09-2026
20-09-202620-10-2026
EPSS score1.85%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Crates.Io1 product
- smallvec≥ 0.3.2, < 0.6.3 | ≥ 0.6.0-0, < 0.6.3
Servo1 product
- smallvec≥ 0.3.2, < 0.6.3
Suse1 product
- librsvg&distro=SUSE Linux Enterprise Module for Package Hub 15 SP2< 2.42.9-3.6.1
Ubuntu1 product
- rust-smallvecAll versions (No fix recorded)
4 vendors · 4 products
References
11 linksShow all 11 references
- crates.io/crates/smallvecPACKAGE