Live threats

All CVEs / Servo

CVE-2018-20991Servo Smallvec

Critical 9.8 No auth needed

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.

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.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)

VendorProductVersions
servosmallvec≥ 0.3.2 < 0.6.3

Official sources

References

Links published by the sources. Open them with care.