CVE-2021-25900: servo smallvec Out-of-bounds Write
CVSS: 9.8v3.1CriticalModified
AliasesMGASA-2021-0234SUSE-SU-2021:1408-1UBUNTU-CVE-2021-25900DEBIAN-CVE-2021-25900openSUSE-SU-2021:0634-1GHSA-43w2-9j62-hq99RUSTSEC-2021-0003
Published 22-01-2021Last modified 03-08-2024
Vulnerability summary
CVE-2021-25900 is a critical (CVSS 9.8) Out-of-bounds Write vulnerability in servo smallvec. EPSS estimates a 1.72% chance of exploitation in the next 30 days, higher than 77.1% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
9.8/10
010
Critical · v3.1 (NVD)EPSS score
1.72%
0%100%
Low · +0.05 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference
Timeline
- 22-01-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
An issue was discovered in the smallvec crate before 0.6.14 and 1.x before 1.6.1 for Rust. There is a heap-based buffer overflow in SmallVec::insert_many.
CVSS metrics
5 scores · 4 sources · 2 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 4 agree
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · Crates.ioEcosystem advisory · calculated9.8CriticalCVSS:3.1/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.72%
Chance of exploitation in the next 30 days
Percentile
77%
Versus all other CVEs
30-day change
+0.05 pp
From 1.67% on 20-09-2026
20-09-202620-10-2026
EPSS score1.72%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (rustsec.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Suse2 products
- librsvg&distro=SUSE Linux Enterprise Module for Basesystem 15 SP2< 2.46.5-3.3.1
- librsvg&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP2< 2.46.5-3.3.1
Crates.Io1 product
- smallvec≥ 0.6.3, < 0.6.14 | ≥ 1.0.0, < 1.6.1
Debian1 product
- rust-smallvec< 1.4.2-2
Mageia1 product
- librsvg< 2.45.5-3.2.mga7
Opensuse1 product
- librsvg&distro=openSUSE Leap 15.2< 2.46.5-lp152.2.3.1
Servo1 product
- smallvec≥ 0.6.3, < 0.6.14 | ≥ 1.0.0, < 1.6.1
Ubuntu1 product
- rust-smallvecAll versions (No fix recorded)
7 vendors · 8 products
References
16 links- rustsec.org/advisories/RUSTSEC-2021-0003.htmlX Refsource MISCREPORTWEBAdvisoryExploitPatchThird Party Advisory
Show all 16 references
- lists.opensuse.org/archives/…Advisory
- crates.io/crates/smallvecPACKAGE