Live threats

All CVEs / Servo

CVE-2021-25900Servo Smallvec

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.7%
probability of exploitation in 30 days · percentile 78
Auth required
No
Published
Jan 26, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787
Vector
CVSS:3.1/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.14 and 1.x before 1.6.1 for Rust. There is a heap-based buffer overflow in SmallVec::insert_many.

Original NVD text.

What to do

  1. Apply the vendor's security update for Smallvec.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io smallvec ≥ 0.6.3 < 0.6.14 0.6.14 cargo update -p smallvec --precise 0.6.14
crates.io smallvec ≥ 1.0.0 < 1.6.1 1.6.1 cargo update -p smallvec --precise 1.6.1
crates.io smallvec ≥ 0.6.3 < 0.6.14 0.6.14 cargo update -p smallvec --precise 0.6.14
crates.io smallvec ≥ 1.0.0 < 1.6.1 1.6.1 cargo update -p smallvec --precise 1.6.1

Per OSV / GitHub Advisories (GHSA-43w2-9j62-hq99, RUSTSEC-2021-0003). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
servosmallvec≥ 0.6.3 < 0.6.14
servosmallvec≥ 1.0.0 < 1.6.1

Official sources

References

Links published by the sources. Open them with care.