CVE Vulnerabilities

CVE-2018-20991

Double Free

Published: Aug 26, 2019 | Modified: Nov 21, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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

Weakness

The product calls free() twice on the same memory address.

Affected Software

NameVendorStart VersionEnd Version
SmallvecServo0.3.2 (including)0.6.3 (excluding)
Rust-smallvecUbuntudisco*
Rust-smallvecUbuntueoan*
Rust-smallvecUbuntufocal*
Rust-smallvecUbuntugroovy*
Rust-smallvecUbuntuhirsute*
Rust-smallvecUbuntuimpish*
Rust-smallvecUbuntukinetic*
Rust-smallvecUbuntulunar*
Rust-smallvecUbuntumantic*
Rust-smallvecUbuntuoracular*
Rust-smallvecUbuntuplucky*
Rust-smallvecUbuntutrusty*

Potential Mitigations

References