Live threats

All CVEs / Calamine Project

CVE-2021-26951Calamine Project Calamine

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.7%
probability of exploitation in 30 days · percentile 78
Auth required
No
Published
Feb 9, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787, CWE-908
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

An issue was discovered in the calamine crate before 0.17.0 for Rust. It allows attackers to overwrite heap-memory locations because Vec::set_len is used without proper memory claiming, and this uninitialized memory is used for a user-provided Read operation, as demonstrated by Sectors::get.

Original NVD text.

What to do

  1. Apply the vendor's security update for Calamine.
  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 calamine < 0.17.0 0.17.0 cargo update -p calamine --precise 0.17.0
crates.io calamine ≥ 0.0.0-0 < 0.17.0 0.17.0 cargo update -p calamine --precise 0.17.0

Per OSV / GitHub Advisories (GHSA-ppqp-78xx-3r38, RUSTSEC-2021-0015). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
calamine_projectcalamine< 0.17.0

Official sources

References

Links published by the sources. Open them with care.