Skip to main content

libxls EUVDEUVD-2026-34178

| CVE-2026-26824 MEDIUM
Use of Uninitialized Variable (CWE-457)
2026-06-03 cve@mitre.org GHSA-hwmf-9wj8-35pw
6.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted XLS to parsing endpoint
  2. Delivery
    OLE2 parser calls read_MSAT()
  3. Exploit
    Uninitialized MSAT buffer allocated on heap
  4. Execution
    ole2_validate_sector_chain() consumes uninitialized bytes
  5. Impact
    Application crash (DoS) or heap data returned to attacker (info disclosure)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization checks
Exploitation Conditions

The target application must use libxls 1.6.3 or earlier as its XLS parsing library and must be reachable by the attacker - most commonly a server-side file-upload endpoint, document processing pipeline, or API accepting XLS input. Per CVSS PR:N, no authentication is required, meaning public-facing services are exposed without any credential barrier. Per CVSS UI:N, no end-user interaction is needed beyond the attacker's own act of submitting the file, consistent with automated server-side processing. Exploitation is limited by the following factors: (1) the application must specifically accept and process .xls (OLE2 binary) files rather than .xlsx (OOXML); (2) the confidentiality impact is bounded by what happens to reside in uninitialized heap memory at the time of the allocation - it is not a controlled arbitrary read; (3) achieving a meaningful information disclosure result may depend on favorable heap layout, making reliable exploitation non-trivial. Desktop applications parsing locally supplied files would require the attacker to social-engineer the user into opening the file, effectively changing UI to UI:R in that scenario.

Impact

The CVSS 6.5 Medium rating is driven by the AV:N/AC:L/PR:N/UI:N vector, meaning this is reachable over the network with no authentication and no user interaction in contexts where libxls is embedded in a server-side file-processing pipeline (e.g., document converters, ETL tools, email attachments parsers). The scope is unchanged (S:U), confidentiality impact is low (C:L - partial heap leak, not full memory read), integrity is unaffected (I:N), and availability impact is low (A:L - crashes rather than persistent denial of service). Against these signals, the EPSS score of 0.02% at the 5th percentile indicates negligible observed exploitation in practice, and there is no CISA KEV entry. No public proof-of-concept exploit code was identified in the provided data. The realistic priority is moderate: highest for applications that accept untrusted XLS files from external users (e.g., public-facing file upload endpoints), lower for internal tooling with trusted input. The UI:N designation is consistent with server-side use of the library, where the parsing is fully automated without an end-user click; this contrasts with desktop spreadsheet applications where UI:R would apply.

Exploit ScenarioDerived

An attacker submits a specially crafted XLS file - containing a malformed OLE2 structure that triggers the MSAT allocation path - to a web application or API endpoint that uses libxls for server-side spreadsheet parsing. The application calls read_MSAT(), which allocates but does not initialize the MSAT buffer; ole2_validate_sector_chain() then consumes the uninitialized bytes. Depending on heap layout, the application either crashes (causing a denial-of-service condition for the parsing thread) or returns data containing uninitialized heap bytes to the attacker, potentially disclosing memory contents such as residual strings, tokens, or pointers from prior heap allocations. No public proof-of-concept exploit code was identified in the provided data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 04, 2026

Uninitialized memory consumption in libxls 1.6.3 and earlier exposes server-side applications that parse XLS files to application crashes and potential heap memory disclosure. The flaw resides in the OLE container parser: read_MSAT() allocates memory for the Master Sector Allocation Table without fully initializing it, then passes it to ole2_validate_sector_chain(), which may read uninitialized bytes from the heap. Per the CVSS vector (AV:N/AC:L/PR:N/UI:N), no authentication or user interaction is required - a remote attacker need only supply a crafted XLS file to an application that uses libxls as a parsing backend. No public exploit code or CISA KEV listing exists at time of analysis; EPSS stands at 0.02% (5th percentile), indicating very low observed exploitation activity.

RemediationAI

No vendor-released patched version is identified in the available data; the fix reference points to a GitHub issue (https://github.com/libxls/libxls/issues/155) rather than a tagged release or commit, so a released patched version is not independently confirmed at time of analysis. Consumers should monitor the libxls repository for a patch release and upgrade immediately upon availability. As a compensating control, applications can sandbox the libxls parsing process (e.g., via seccomp, a separate subprocess, or containerization) to limit the impact of both crashes and any memory disclosure. Restricting XLS file ingestion to authenticated, trusted sources reduces the effective attack surface aligned with the AV:N/PR:N exposure. Input validation (file magic byte checks, size limits) can reduce malformed-file attack surface but will not prevent exploitation of all crafted inputs. Enabling compiler mitigations such as stack canaries and FORTIFY_SOURCE during build, and enabling ASLR on the host, reduce the likelihood of turning a heap information leak into a more severe exploit primitive.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

libxls is a C library for parsing legacy Microsoft Excel (.xls) binary files, which use the OLE2 (Compound Document) container format. The OLE2 format organizes file data into a chain of sectors indexed through the Master Sector Allocation Table (MSAT), which maps the layout of the File Allocation Table (FAT) sectors. The vulnerability maps to CWE-457 (Use of Uninitialized Variable): read_MSAT() allocates a buffer for the MSAT entries but does not zero-initialize or fully populate it before ole2_validate_sector_chain() traverses the structure. Depending on heap state at allocation time, this causes either a crash (when invalid uninitialized values are interpreted as sector pointers) or silent leakage of heap memory contents to the caller, which may propagate to output. Affected versions are confirmed through 1.6.3 per the CVE description; the EUVD-listed affected version field returns 'n/a', providing no additional precision.

Know when Libxls 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

Vendor (mitre) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
SUSE MEDIUM

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

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

Lifecycle Timeline

2
CVSS changed
Jun 04, 2026 - 14:22 NVD
6.5 (MEDIUM)
CVE Published
Jun 03, 2026 - 20:16 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

libxls through version 1.6.3 contains a use of uninitialized memory vulnerability in the OLE container parser. Memory allocated for the Master Sector Allocation Table (MSAT) in read_MSAT() is not fully initialized before being consumed by ole2_validate_sector_chain(), which may result in application crashes or potential information disclosure when processing a crafted XLS file

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Libxls

View all
CVE-2018-20452 HIGH POC
8.8 Dec 25

The read_MSAT_body function in ole.c in libxls 1.4.0 has an invalid free that allows attackers to cause a denial of serv

CVE-2023-38856 MEDIUM POC
6.5 Aug 15

Buffer Overflow vulnerability in libxlsv.1.6.2 allows a remote attacker to execute arbitrary code and cause a denial of

CVE-2023-38855 MEDIUM POC
6.5 Aug 15

Buffer Overflow vulnerability in libxlsv.1.6.2 allows a remote attacker to execute arbitrary code and cause a denial of

CVE-2023-38854 MEDIUM POC
6.5 Aug 15

Buffer Overflow vulnerability in libxlsv.1.6.2 allows a remote attacker to execute arbitrary code and cause a denial of

CVE-2023-38853 MEDIUM POC
6.5 Aug 15

Buffer Overflow vulnerability in libxlsv.1.6.2 allows a remote attacker to execute arbitrary code and cause a denial of

CVE-2023-38852 MEDIUM POC
6.5 Aug 15

Buffer Overflow vulnerability in libxlsv.1.6.2 allows a remote attacker to execute arbitrary code and cause a denial of

CVE-2023-38851 MEDIUM POC
6.5 Aug 15

Buffer Overflow vulnerability in libxlsv.1.6.2 allows a remote attacker to execute arbitrary code and cause a denial of

CVE-2018-20450 MEDIUM POC
6.5 Dec 25

The read_MSAT function in ole.c in libxls 1.4.0 has a double free that allows attackers to cause a denial of service (ap

CVE-2017-12111 HIGH
8.8 Nov 20

An exploitable out-of-bounds vulnerability exists in the xls_addCell function of libxls 1.4. Rated high severity (CVSS 8

CVE-2017-12110 HIGH
8.8 Nov 20

An exploitable integer overflow vulnerability exists in the xls_appendSST function of libxls 1.4.A specially crafted XLS

CVE-2017-2919 HIGH
7.8 Nov 20

An exploitable stack based buffer overflow vulnerability exists in the xls_getfcell function of libxls 1.3.4. Rated high

CVE-2017-2896 HIGH
7.8 Nov 20

An exploitable out-of-bounds write vulnerability exists in the xls_mergedCells function of libxls 1.4. Rated high severi

Vendor StatusVendor

SUSE

Severity: Medium

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