Intel

AIKIDO-2025-10845

calamine is vulnerable to Memory Allocation with Excessive Size Value

Memory Allocation with Excessive Size Value Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Nov 26, 2025

44

Medium Risk

This Affects:

RUSTcalamine
0.13.1 - 0.31.0
Fixed in 0.32.0
Are you affected? Scan for Free

TL;DR

Affected versions of the calamine crate could be forced to allocate unbounded amounts of memory when parsing certain XLS files, allowing a malicious spreadsheet to crash the application via out-of-memory. This issue has been addressed by adding bounds to memory allocations during XLS parsing, preventing resource exhaustion.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

calamine is vulnerable to Memory Allocation with Excessive Size Value in versions 0.13.1 - 0.31.0.

How to fix this

Upgrade the calamine library to a patch version.