CVE-2021-26951

CRITICAL

calamine < 0.17.0 - Out-of-bounds Write via Vec::set_len Misuse

Title source: llm
STIX 2.1

Description

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.

References (1)

Core 1
Core References
Exploit, Vendor Advisory x_refsource_misc
https://rustsec.org/advisories/RUSTSEC-2021-0015.html

Scores

CVSS v3 9.8
EPSS 0.0173
EPSS Percentile 74.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-787 CWE-908
Status published
Products (2)
calamine_project/calamine < 0.17.0
crates.io/calamine 0 - 0.17.0crates.io
Published Feb 09, 2021
Tracked Since Feb 18, 2026