Skip to main content

Catdoc EUVDEUVD-2024-54624

| CVE-2024-52035 HIGH
Integer Overflow or Wraparound (CWE-190)
2025-06-02 talos-cna@cisco.com
8.4
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H yields a score of 8.4 (High severity) due to: local attack vector (AV:L—file must be processed on victim machine), low complexity (AC:L—no special conditions), no privilege requirement (PR:N), and high impact on confidentiality, integrity, and availability. The real-world risk is MODERATE-to-HIGH: (1) Attack Vector is local, limiting automated mass exploitation; (2) Requires user interaction (processing a file) or deployed service accepting untrusted OLE files; (3) No public POC or active KEV status lowers immediate threat; (4) EPSS data unavailable here, but integer overflow leading to heap corruption typically has 0.6+ probability if exploitable POC exists; (5) SSVC analysis: exploitation likelihood is MODERATE (requires specific file crafting), technical impact is HIGH (code execution potential), automatable by sophisticated actor. Organizations processing legacy Office documents or running catdoc in automated pipelines face elevated risk. For isolated desktop users processing known-good documents, risk is LOW.

Exploit ScenarioDerived

An attacker crafts a malicious OLE document (.doc, .xls, or .ppt) with a specially designed FAT header: the FAT sector count or mini FAT size field is set to a value that, when multiplied by sector size (512 bytes) during heap allocation, causes integer overflow, resulting in a small heap buffer. When the parser attempts to read or populate FAT data, it writes beyond the allocated buffer. Consequences: (1) Information disclosure if attacker reads adjacent heap data; (2) Heap corruption leading to crash (DoS); (3) If heap metadata or function pointers are corrupted, potential arbitrary code execution. Attack vector: attacker emails the document to a user running catdoc (e.g., via automated document conversion service), local document processing pipeline, or web service backend. Complexity is LOW because no reverse-engineering of target system is needed—only a crafted OLE structure. No public POC is reported, but integer overflow vulnerabilities in binary parsers are well-understood by security researchers.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 14, 2026

CVE-2024-52035 is an integer overflow vulnerability in catdoc 0.95's OLE Document File Allocation Table (FAT) parser that enables heap-based memory corruption when processing malformed files. The vulnerability affects users of catdoc 0.95 who process untrusted OLE documents (Microsoft Office legacy formats), allowing local attackers to corrupt heap memory and potentially achieve code execution. No active KEV status or widespread exploitation has been reported; however, the high CVSS score (8.4) and local attack vector indicate moderate real-world risk for environments processing user-supplied documents.

RemediationAI

Upgrade catdoc beyond version 0.95. Consult upstream repository (github.com/vkartavenko/catdoc or original source) for patched version. As of this CVE's publication date (2024), version availability should be confirmed from official sources.; priority: Critical for production systems processing untrusted documents Workaround: If upgrade is not immediately feasible: (1) Restrict catdoc processing to trusted, pre-validated OLE files; (2) Implement file validation using external tools (e.g., olefile Python library) to sanity-check FAT structures before passing to catdoc; (3) Run catdoc in sandboxed environment (container, VM, SELinux confinement) to contain memory corruption fallout.; priority: Temporary mitigation Detection: Monitor for crashes or unexpected behavior in catdoc processes. Implement input validation: reject OLE files with suspicious FAT sector counts or sizes that deviate significantly from specification.; priority: Ongoing

Affected VersionsENISA

catdoc 0.95

Affected Packages

euvd catdoc no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Catdoc is a legacy document converter utility that parses OLE (Object Linking and Embedding) compound document files, a binary format used by older Microsoft Office applications (.doc, .xls, .ppt). The vulnerability resides in the FAT (File Allocation Table) parser component, which tracks data cluster allocation within OLE files. CWE-190 (Integer Overflow or Wraparound) occurs when parsing malformed FAT sector counts or allocation sizes: inadequate bounds checking allows integer arithmetic to overflow, resulting in undersized heap buffer allocations. Subsequent operations then write beyond allocated memory. The OLE specification defines specific structures (header, FAT arrays, mini FAT) where integer overflow in size calculations is feasible. CPE identifiers: cpe:2.3:a:catdoc:catdoc:0.95:*:*:*:*:*:*:* (and potentially affected in earlier/later versions pending verification).

Know when Catdoc gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.4 HIGH
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Ubuntu MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
PoC Detected
Feb 18, 2026 - 14:42 vuln.today
Public exploit code
CVE Published
Jun 02, 2025 - 15:15 nvd
HIGH 8.4

DescriptionCVE.org

An integer overflow vulnerability exists in the OLE Document File Allocation Table Parser functionality of catdoc 0.95. A specially crafted malformed file can lead to heap-based memory corruption. An attacker can provide a malicious file to trigger this vulnerability.

Executive ViewAI

Why It Matters

CVE-2024-52035 is a high-severity integer overflow vulnerability in catdoc 0.95 that allows attackers to corrupt heap memory through maliciously crafted files, potentially leading to system compromise or data breach. Organizations using catdoc for document processing face immediate risk, particularly if processing untrusted or user-supplied files.

Business Impact: High
Compensating Controls

Disable catdoc functionality if not business-critical; implement strict input validation and file type whitelisting for document uploads; restrict catdoc usage to trusted internal documents only; deploy network segmentation to isolate systems running catdoc; monitor for suspicious file uploads targeting document conversion; consider sandboxing catdoc processes; implement application-level file scanning and integrity checks before processing.

Threat Intelligence Overview

EPSS Score
0.1%
Top 84% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

62
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Vendor StatusVendor

Ubuntu

Priority: Medium
catdoc
Release Status Version
xenial needs-triage -
bionic needs-triage -
focal needs-triage -
jammy needs-triage -
noble needs-triage -
upstream needs-triage -
oracular ignored end of life, was needs-triage
plucky ignored end of life, was needs-triage
questing needs-triage -

Debian

Bug #1107168
catdoc
Release Status Fixed Version Urgency
bullseye fixed 1:0.95-4.1+deb11u1 -
bullseye (security) fixed 1:0.95-4.1+deb11u1 -
bookworm, bookworm (security) fixed 1:0.95-6~deb12u1 -
forky, sid, trixie fixed 1:0.95-6 -
bookworm fixed 1:0.95-6~deb12u1 -
(unstable) fixed 1:0.95-6 -

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy