Know every vulnerabilitybefore it knows you.
DevGuard continuously monitors your dependencies and alerts you when CVEs like this one affect your stack — with real-time threat intelligence built for developers.
RUSTSEC-2026-0436
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).
-
Reachable panic (out-of-bounds slice index). The directory stream is iterated with
.chunks(128), butDirectory::from_slicereads fixed offsets (buf[..64],buf[116..120],buf[120..128]) without checking the chunk length. A directory stream whose length is not a multiple of 128 yields a short final chunk, causing a panic (range end index 64 out of range for slice of length N).SectorSize::Small64-byte mini sectors are a second trigger. -
Unbounded allocation / OOM. The DIFAT loader grows the
difatvector without bounding the number of iterations; a crafted self-referential DIFAT chain drives a multi-gigabyte allocation from a tiny file (a 512-byte file attempts an allocation of several gigabytes).
A consumer that parses untrusted or user-supplied spreadsheets can be crashed (thread panic,
or process abort under panic=abort) or driven out of memory by a small crafted file.
Fixed in calamine 0.38.0 (commit b8ec4f0); the maintainer confirmed the fix in https://github.com/tafia/calamine/pull/762.
Upload your own SBOM in CycloneDX 1.6 or higher (JSON) directly here to check your vulnerabilities.
Drag and drop some file here, or click to select
The vulnerability can be exploited over the network without needing physical access. It is easy for an attacker to exploit this vulnerability. An attacker does not need any special privileges or access rights. No user interaction is needed for the attacker to exploit this vulnerability. The impact is confined to the system where the vulnerability exists. There is a high impact on the availability of the system.
Exploitation attempts have been detected. Elevated vigilance and prompt remediation are advised.
Probability that this vulnerability will be exploited in the wild within the next 30 days.
We did not find any exploit available. Neither in GitHub repositories nor in the Exploit-Database.
Browse More
Continuously monitor your dependencies and get alerted when vulnerabilities like this one affect your stack.
Checkout DevGuard