cve.bz

CVE-2021-45680

7.5 highEPSS 1.1%

High (7.5) in vec-const project vec-const. EPSS 1.1% chance of exploitation in the next 30 days. Fixed in vec-const 2.0.0.

An issue was discovered in the vec-const crate before 2.0.0 for Rust. It tries to construct a Vec from a pointer to a const slice, leading to memory corruption.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.1% chance of exploitation in the next 30 days; higher than 65% of CVEs (scores of 2026-10-31)
CWE
CWE-787
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jmwx-r3gq-qq3pcrates.iovec-const<2.0.02.0.0
GHSA-x76r-966h-5qv9crates.iovec-const<2.0.02.0.0
RUSTSEC-2021-0082crates.iovec-const>=0.0.0-0 <2.0.02.0.0

References

Check your stackJSON