Skip to content
OpenAdvisories
Critical · 9.8 CVE-2018-21000 EUVD-2021-1518GHSA-2v78-j59h-fmpfRUSTSEC-2018-0013

Heap overflow or corruption in safe-transmute

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

Description

An issue was discovered in the safe-transmute crate before 0.10.1 for Rust. A constructor's arguments are in the wrong order, causing heap memory corruption.

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-safe-transmute No fix yet —
Ubuntu 26.04 LTS rust-safe-transmute No fix yet —
Ubuntu 25.10 rust-safe-transmute No fix yet —
Ubuntu 24.04 LTS rust-safe-transmute No fix yet —
Ubuntu 22.04 LTS rust-safe-transmute No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS rust-safe-transmute No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io safe-transmute >= 0.4.0, < 0.10.1 0.10.1 GHSA-2v78-j59h-fmpf

References