Live threats

All CVEs / Safe-transmute Project

CVE-2018-21000Safe-transmute Project Safe-transmute

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
2.0%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
Aug 26, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
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 safe-transmute crate before 0.10.1 for Rust. A constructor's arguments are in the wrong order, causing heap memory corruption.

Original NVD text.

What to do

  1. Apply the vendor's security update for Safe-transmute.
  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 safe-transmute ≥ 0.4.0 < 0.10.1 0.10.1 cargo update -p safe-transmute --precise 0.10.1
crates.io safe-transmute ≥ 0.4.0 < 0.10.1 0.10.1 cargo update -p safe-transmute --precise 0.10.1

Per OSV / GitHub Advisories (GHSA-2v78-j59h-fmpf, RUSTSEC-2018-0013). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
safe-transmute_projectsafe-transmute< 0.10.1

Official sources

References

Links published by the sources. Open them with care.