CVE-2024-52035
Linux Debian vulnerability analysis and mitigation

Overview

An integer overflow vulnerability (CVE-2024-52035) was discovered in the OLE Document File Allocation Table Parser functionality of catdoc 0.95. The vulnerability was disclosed on June 2, 2025, affecting the catdoc command-line utility and its related tools (xls2csv and catppt) on 32-bit systems. This vulnerability was discovered by a member of Cisco Talos (Talos Report).

Technical details

The vulnerability exists in the oleinit function where the product of number of sectors and sector size can exceed 32-bits, causing an integer overflow. This results in an undersized memory allocation for the file allocation table buffer. When processing a document, the catdoc utility reads the sector size and number of sectors from the file header, which are used to allocate memory for the file allocation table. If these values cause an overflow, subsequent fread operations can write beyond the allocated buffer boundaries, leading to heap-based memory corruption ([Talos Report](https://talosintelligence.com/vulnerabilityreports/TALOS-2024-2131)). The vulnerability has been assigned a CVSS v3.1 base score of 8.4 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability can lead to heap-based memory corruption when processing specially crafted malformed files. This can potentially allow for code execution under the context of the binary. The impact is limited to 32-bit versions of catdoc, xls2csv, and catppt utilities (Talos Report).

Mitigation and workarounds

As of the disclosure date, there is no official patch available for this vulnerability. Users should exercise caution when processing untrusted Microsoft Office documents with catdoc utilities on 32-bit systems (Talos Report).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management