Skip to content
OpenAdvisories
Critical · 9.8 CVE-2018-20991 EUVD-2021-1878GHSA-rxr4-x558-x7hwRUSTSEC-2018-0003

Double free in smallvec

Published Aug 26, 2019 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-smallvec No fix yet —
Ubuntu 26.04 LTS rust-smallvec No fix yet —
Ubuntu 25.10 rust-smallvec No fix yet —
Ubuntu 24.04 LTS rust-smallvec No fix yet —
Ubuntu 22.04 LTS rust-smallvec No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS rust-smallvec No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP2 librsvg 2.42.9-3.6.1 SUSE-SU-2021:1310-1

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io smallvec >= 0.3.2, < 0.6.3 0.6.3 GHSA-rxr4-x558-x7hw
crates.io smallvec >= 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 RUSTSEC-2018-0003

Advisories 1

References