Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted XLS to parsing endpoint
-
DeliveryOLE2 parser calls read_MSAT()
-
ExploitUninitialized MSAT buffer allocated on heap
-
Executionole2_validate_sector_chain() consumes uninitialized bytes
-
ImpactApplication 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
Buffer Overflow vulnerability in libxlsv.1.6.2 allows a remote attacker to execute arbitrary code and cause a denial of
Buffer Overflow vulnerability in libxlsv.1.6.2 allows a remote attacker to execute arbitrary code and cause a denial of
Buffer Overflow vulnerability in libxlsv.1.6.2 allows a remote attacker to execute arbitrary code and cause a denial of
Buffer Overflow vulnerability in libxlsv.1.6.2 allows a remote attacker to execute arbitrary code and cause a denial of
Buffer Overflow vulnerability in libxlsv.1.6.2 allows a remote attacker to execute arbitrary code and cause a denial of
Buffer Overflow vulnerability in libxlsv.1.6.2 allows a remote attacker to execute arbitrary code and cause a denial of
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
An exploitable out-of-bounds vulnerability exists in the xls_addCell function of libxls 1.4. Rated high severity (CVSS 8
An exploitable integer overflow vulnerability exists in the xls_appendSST function of libxls 1.4.A specially crafted XLS
An exploitable stack based buffer overflow vulnerability exists in the xls_getfcell function of libxls 1.3.4. Rated high
An exploitable out-of-bounds write vulnerability exists in the xls_mergedCells function of libxls 1.4. Rated high severi
EUVD-2026-34178
GHSA-hwmf-9wj8-35pw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB