Panic and unbounded allocation (OOM) in the CFB/OLE2 parser on malformed input
The Compound File Binary (OLE2) parser (src/cfb.rs), used when reading .xls and .xlsb workbooks and when extracting VBA projects from .xlsx, can panic or allocate without bound on crafted input. Both are reachable through the public reader API (open_workbook, Xls::new, Xlsb::new) on an attacker-supplied file. Impact is denial of service only — no memory unsafety (safe Rust turns the out-of-bounds read into a bounds-checked panic).
Recorded fixes — calamine: 0.38.0. Check your release branch.
Exploitation not established
| Affected range | Recorded fix |
|---|---|
| From 0.0.0-0 before 0.38.0Semantic versions | 0.38.0 |
Version evidence: OSV · RUSTSEC-2026-0436
View original version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.38.0"
}
],
"type": "SEMVER"
}
],
"versions": []
}