CVE-2021-26951:
Out of bounds write in calamine
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.65141%
CWE
Published
8/25/2021
Updated
2/3/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
calamine | rust | < 0.17.0 | 0.17.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description and GitHub issue #199 explicitly reference Sectors::get as the demonstration point. The code shown in the issue uses unsafe Vec::set_len to expand the vector length without ensuring adequate capacity, followed by a Read operation into the uninitialized buffer. This matches the CWE-787 (OOB write) and memory exposure patterns described in the advisory. The combination of set_len misuse and uninitialized memory access in a security-critical path makes this function clearly vulnerable with high confidence.