Skip to main content
VulnerabilityPublished Updated

calamine: crafted .xls / .xlsb / .ods files cause panics and unbounded allocations (DoS)

Affects calamineSource GCVE Database

0

CVSS 7.5 High : upgrade to 0.39.0 soon.

Data as of 3 Dec 2026, 11:46 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.39.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What to do

Upgrade calamine to 0.39.0.

Affected software

ProductAffectedFixed in
crates.iocalaminepkg:cargo/calamineOther threatsAffected
  • >=0.0.0-0 <0.39.0
Fixed in
  • 0.39.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade calamine to version 0.39.0 or later, where bounds validation and allocation caps have been implemented to prevent panics and unbounded allocations. Until upgraded, avoid parsing untrusted spreadsheet files with vulnerable versions. The vendor advisory confirms a fix is available in version 0.39.0.

Description

Calamine versions prior to 0.39.0 contain vulnerabilities in legacy binary parsers for .xls, .xlsb, and .ods spreadsheet files. These parsers do not validate field offsets, lengths, counts, or indices, allowing crafted files to cause process panics or unbounded memory allocations, resulting in denial of service. The issue affects applications that parse untrusted spreadsheet files via the public API. A fix is available in version 0.39.0.

References

Community reviews

Loading reviews…