Skip to main content

Catdoc EUVDEUVD-2024-54622

| CVE-2024-54028 HIGH
Integer Underflow (CWE-191)
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 underflow checks
Impact

This vulnerability presents a CRITICAL real-world risk despite limited active exploitation signals. CVSS 8.4 with AV:L (local attack vector) and AC:L (low attack complexity) correctly reflects the threat: any user or automated system processing an untrusted OLE file with catdoc is vulnerable without privilege escalation requirements. The attack surface is substantial—OLE files are ubiquitous in legacy document workflows, email attachments, and document conversion pipelines. The CWE-191 integer underflow is a well-understood memory safety issue that reliably enables heap corruption; combined with no access control requirements (PR:N) and immediate impact on confidentiality, integrity, and availability (C:H/I:H/A:H), exploitation is highly likely if a working POC exists. While EPSS data is not provided here, the local-only attack vector may suppress relative EPSS scores compared to network vulnerabilities, but this should not diminish priority—supply chain risks are high if document processing is automated. SSVC considerations: exploitation is probable (CWE-191 heap corruption is straightforward to weaponize), technical impact is total (C/I/A all high), and automatable (file submission to parser). This merits immediate patching in any environment processing documents from potentially hostile sources.

Exploit ScenarioDerived

An attacker crafts a malicious OLE document file (.doc, .xls, or .ppt) containing a malformed DIFAT sector chain with integer underflow-triggering values in sector count or offset fields. The attacker delivers this file via email attachment or web upload to a target organization that uses catdoc for document indexing, text extraction, or archival processing. When an automated document processing system or a user opens the file with catdoc (or a tool that internally uses catdoc), the parser reads the DIFAT structure and performs a size calculation: expected_size - attacker_controlled_value. The subtraction underflows, wrapping to a large positive integer (e.g., 0xFFFFFFFF on 32-bit systems). The parser then allocates heap memory based on this overflowed size and attempts to read or write data, causing heap buffer overflow. This results in arbitrary heap corruption, potentially overwriting adjacent heap metadata or function pointers, enabling arbitrary code execution with the privileges of the catdoc process (typically the user or service account). No special privileges or user interaction is required beyond file processing (AC:L, PR:N, UI:N per CVSS vector).

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

Integer underflow vulnerability in catdoc 0.95's OLE Document DIFAT (Double-Indirect File Allocation Table) Parser that enables heap-based memory corruption through specially crafted malformed files. An attacker can exploit this local vulnerability (no privileges required) by providing a malicious OLE document to trigger the integer underflow, potentially achieving arbitrary code execution or denial of service. While no active KEV status or widespread POC is confirmed in this dataset, the CVSS 8.4 score and high impact ratings (confidentiality, integrity, availability all marked 'H') indicate this is a critical local code execution risk for users who process untrusted OLE documents.

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

The vulnerability exists in catdoc's implementation of the OLE Compound Document Format parser, specifically in DIFAT (Double-Indirect FAT) sector chain processing. The DIFAT structure is a critical component of OLE file format used by Microsoft Office legacy documents and other applications. The integer underflow (CWE-191) occurs when parsing sector counts or offsets in DIFAT chains—likely during size calculations where an attacker-controlled value is subtracted from another, causing the result to wrap around to a large positive value. This leads to out-of-bounds heap memory access when the parser allocates or reads buffers based on the underflowed value. Catdoc is a utility designed to extract text from OLE documents (primarily Microsoft Office .doc files), making it a target for document processing pipelines. Affected CPE likely includes: cpe:2.3:a:vova:catdoc:0.95:*:*:*:*:*:*:* (and potentially earlier versions depending on when the vulnerability was introduced).

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 underflow vulnerability exists in the OLE Document DIFAT 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-54028 is a high-severity vulnerability affecting catdoc 0.95 that allows attackers to cause heap memory corruption through malicious documents. Organizations using catdoc for document processing face potential system crashes, data corruption, or code execution if users open untrusted OLE files. This risk is elevated due to active exploit availability and the absence of vendor patches.

Recommended Action

Within 24 hours: Identify all systems running catdoc 0.95 and assess exposure to untrusted document sources. Within 7 days: Implement input validation to reject OLE/DOC files from untrusted sources, or disable catdoc functionality if not business-critical. Within 30 days: Evaluate alternative document processing tools, contact vendor for patch timeline, and establish process to update immediately once patches become available.

Business Impact: High
Compensating Controls

Disable catdoc processing of untrusted documents; implement strict file type filtering to block OLE formats at email gateways and web uploads; restrict catdoc to isolated, non-production systems; require document format conversion (e.g., PDF) before processing; implement application sandboxing or containerization for document handling; monitor for suspicious file submissions targeting catdoc users.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% 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 buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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