Skip to main content

Xls2csv EUVDEUVD-2024-54625

| CVE-2024-48877 HIGH
Integer Overflow to Buffer Overflow (CWE-680)
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-to-buffer conversion safety
Impact

CVSS 8.4 (High severity) with vector AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H indicates a locally exploitable vulnerability requiring no user interaction or elevated privileges, resulting in complete system compromise (confidentiality, integrity, availability all high). The local attack vector significantly constrains real-world risk compared to network-based vulnerabilities; exploitation requires an attacker to either: (1) place a malicious file on the target system where a user runs xls2csv, or (2) be in a position to supply input files to an automated processing pipeline. The lack of user interaction (UI:N) is favorable for automated exploitation scenarios. Without confirmed EPSS data, KEV listing status, or public POC availability from the provided intelligence, the actual exploitation likelihood appears moderate—this is a legitimate memory corruption vulnerability but requires deliberate file crafting and local access. The integer overflow root cause (CWE-680) is not as trivial to exploit as some buffer overflows, potentially requiring precise calculations to trigger. Priority assessment: HIGH for organizations that process untrusted Excel files in automated workflows or allow user file uploads, but MEDIUM-LOW for isolated desktop users.

Exploit ScenarioDerived

An attacker crafts a malformed Excel file (.xls) with a specially engineered Shared String Table where one or more string records specify a length that exceeds the heap buffer allocated for that record. When a victim or automated system processes this file with xls2csv 0.95 (e.g., via: xls2csv malicious.xls > output.csv), the parser reads the string table without proper bounds validation. The integer overflow in length calculation causes the parser to write far beyond the allocated buffer on the heap, corrupting adjacent memory structures. Depending on heap layout and ASLR status, this can lead to denial of service (crash) or arbitrary code execution. Example: a Shared String Record header claims a 1-byte string, but the actual data length is crafted to be 4GB when integer overflow occurs, overwriting critical heap metadata. The local-only attack vector means the attacker must either: (1) trick a user into opening the file with xls2csv, or (2) compromise a system where automated spreadsheet processing occurs. No confirmed public POC exists in current intelligence, but the vulnerability is sufficiently straightforward that weaponization is feasible post-disclosure.

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

Heap buffer overflow vulnerability in the Shared String Table Record Parser of xls2csv utility version 0.95, allowing unauthenticated local attackers to achieve arbitrary code execution with high impact on confidentiality, integrity, and availability. The vulnerability is triggered by processing a specially crafted malformed Excel file, presenting significant risk to users who process untrusted spreadsheet inputs. No confirmed active exploitation in the wild has been reported at this time, though the local attack vector and lack of privilege requirements suggest moderate real-world exploitability.

RemediationAI

Patch/Upgrade: Upgrade xls2csv to a patched version beyond 0.95. Check the official xls2csv repository (likely GitHub) for version 0.96 or later containing fixes to the Shared String Table Record Parser with proper bounds checking.; severity: Critical Workaround: Restrict xls2csv usage to processing only trusted, internally-generated Excel files from known sources. Implement file validation or sandboxing: process Excel files in isolated containerized environments (Docker) or restricted user accounts with minimal privileges.; severity: High Mitigation: If xls2csv cannot be updated immediately, implement input validation to reject suspicious Excel files (e.g., files with unusually large string table records, files that fail basic format validation). Consider alternative tools with better security track records for Excel parsing (e.g., LibreOffice in batch mode).; severity: Medium Detection: Monitor for xls2csv process crashes (segmentation faults) when processing files, which may indicate exploitation attempts. Log all Excel files processed and correlate crashes with file metadata.; severity: Medium

Affected VersionsENISA

xls2csv 0.95

Affected Packages

euvd xls2csv 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 xls2csv utility is a command-line tool designed to convert Microsoft Excel spreadsheet files (.xls format) to comma-separated values (CSV) format. The vulnerability resides specifically in the Shared String Table Record Parser—a component responsible for extracting and parsing string data stored in the shared string table within Excel's OLE2/compound document format. The root cause is classified as CWE-680 (Integer Overflow to Buffer Overflow), indicating that the parser fails to properly validate record lengths or buffer boundaries when processing malformed string table records. This allows an attacker to write beyond allocated heap memory when a specially crafted file specifies string lengths that exceed the allocated buffer size. The vulnerability affects xls2csv version 0.95 and potentially earlier versions that share the same vulnerable code path.

Know when Xls2csv 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
Nov 03, 2025 - 20:16 vuln.today
Public exploit code
CVE Published
Jun 02, 2025 - 15:15 nvd
HIGH 8.4

DescriptionCVE.org

A memory corruption vulnerability exists in the Shared String Table Record Parser implementation in xls2csv utility version 0.95. A specially crafted malformed file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.

Executive ViewAI

Why It Matters

CVE-2024-48877 is a critical memory corruption vulnerability in xls2csv utility v0.95 that allows attackers to execute arbitrary code through maliciously crafted Excel files. Organizations using this utility for file conversion workflows face immediate risk of system compromise, data exfiltration, and operational disruption if users process untrusted Excel files.

Business Impact: High
Compensating Controls

Implement network segmentation to isolate systems running xls2csv from sensitive data; deploy application-level input validation to reject malformed Excel files; disable xls2csv service if not essential; restrict file processing to pre-screened, internally-generated Excel files only; monitor process execution and memory access patterns for exploitation attempts; consider sandboxed file conversion environments for untrusted documents.

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