cve.bz

CVE-2018-20991 servo smallvec: Double Free

9.8 criticalEPSS 1.8%Fix available

Critical (9.8) in servo smallvec. EPSS 1.8% estimated probability of exploitation activity in the next 30 days. Fixed in smallvec 0.3.4, 0.4.5, 0.5.1.

On this page
An issue was discovered in the smallvec crate before 0.6.3 for Rust. The Iterator implementation mishandles destructors, leading to a double free.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 80th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-415 Double Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-20991 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-20991?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-20991?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-20991 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
servo:smallvecfrom 0.3.2 before 0.6.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rxr4-x558-x7hwcrates.iosmallvec>=0.3.2 <0.6.30.6.3
RUSTSEC-2018-0003crates.iosmallvec>=0.3.2 <0.3.4
>=0.4.0-0 <0.4.5
>=0.5.0-0 <0.5.1
>=0.6.0-0 <0.6.3
0.3.4, 0.4.5, 0.5.1, 0.6.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morerust-smallvecno fix listedUBUNTU-CVE-2018-20991
SUSELinux Enterprise Module for Package Hub 15 SP2librsvg2.42.9-3.6.1SUSE-SU-2021:1310-1

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE.

References

Check your stackJSON