Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver malformed XLS file to parsing endpoint
-
DeliveryOLE2 layer (ole2_read) allocates uninitialized heap memory
-
Exploitxls_parseWorkBook() reads uninitialized bytes
-
ExecutionUndefined behavior exposes stale heap content
-
ImpactPartial heap memory disclosed to attacker
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization
|
| Exploitation Conditions | Exploitation requires that an attacker can supply a malformed XLS file to an application that invokes libxls 1.6.3's xls_parseWorkBook() function with attacker-controlled input - for example, a file upload endpoint, an email attachment parser, or a document conversion service. The CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms no authentication is required and no user interaction is needed beyond delivering the file to the parsing code path. Exploitation is limited by the need for a heretofore unidentified technique to reliably control or read the specific uninitialized heap bytes exposed - the flaw does not guarantee arbitrary read or predictable data disclosure. Applications that parse XLS files only from trusted, internal sources are at significantly reduced risk. The vulnerability does not affect integrity or availability, narrowing impact to potential heap data leakage only. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) scores this as a Medium (5.3), reflecting network reachability with no authentication or user interaction required, but with limited confidentiality impact and no integrity or availability impact. This vector implies that any service accepting XLS file uploads or processing remote XLS data is reachable without credentials. However, the EPSS score of 0.02% at the 6th percentile signals that exploitation in practice is highly unlikely - this is consistent with the nature of the flaw: exploitation requires triggering uninitialized memory reads in a controlled way to extract meaningful heap content, which is non-trivial without a reliable memory layout. No KEV listing and no public exploit code have been identified, further confirming low operational threat. The primary real-world concern is applications that pass attacker-supplied XLS files directly into libxls, particularly in server-side file processing pipelines. The low EPSS versus the network-accessible CVSS vector suggests this is a theoretical risk that warrants patching but does not represent an immediate emergency without evidence of active targeting. |
| Exploit ScenarioDerived | An attacker submits a specially crafted malformed XLS file to a web application or API endpoint that uses libxls 1.6.3 for server-side spreadsheet processing. The malformed OLE2 container triggers ole2_read to return uninitialized heap memory, which xls_parseWorkBook() subsequently reads and potentially incorporates into parsed output or error responses, leaking fragments of heap memory content. No public exploit code has been identified at time of analysis, but the CVSS network vector and no-auth requirement mean the attack surface includes any internet-facing service accepting XLS uploads. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 04, 2026
Use-of-uninitialized memory in libxls 1.6.3 exposes applications that parse XLS files to potential information disclosure via heap memory leakage. The flaw originates in the OLE layer (ole2_read) and surfaces in xls_parseWorkBook() when processing malformed XLS input, meaning any downstream application or service that accepts and parses XLS files using this library inherits the exposure. With a CVSS score of 5.3 and an EPSS of 0.02% (6th percentile), real-world exploitation probability is low; no public exploit or CISA KEV listing exists at time of analysis.
RemediationAI
No vendor-released patch with a confirmed fix version has been identified at time of analysis. The issue is tracked upstream at https://github.com/libxls/libxls/issues/156, which should be monitored for a patched release. Until a fix is available, operators should apply compensating controls: restrict acceptance of XLS files to trusted, authenticated sources only, reducing the attack surface for unauthenticated file submission paths. Applications can sandbox or isolate the libxls parsing process (e.g., via a separate privilege-dropped subprocess or container) so that any leaked heap memory does not expose sensitive application data. Additionally, compiling libxls with -ftrivial-auto-var-init=zero (GCC/Clang) can mitigate uninitialized read risks at the cost of minor performance overhead. Organizations should also audit whether their libxls integration passes any sensitive data through heap allocations prior to XLS parsing calls, as that data could be inadvertently disclosed. Additional context is available via VulDB advisory at https://vuldb.com/vuln/368223.
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 reading Microsoft Excel (XLS/BIFF) binary format files, identified by CPE cpe:2.3:a:libxls_project:libxls:1.6.3:*:*:*:*:*:*:*. The vulnerability is classified as CWE-908 (Use of Uninitialized Resource), a memory safety defect where heap-allocated memory is read before being explicitly initialized. The flaw originates in ole2_read, the component responsible for parsing the OLE2 compound document container format that underlies XLS files. Uninitialized bytes from this layer are subsequently consumed by xls_parseWorkBook(), the primary workbook parsing function. The issue was identified as detectable via MemorySanitizer (MSAN), a compile-time instrumentation tool for detecting uninitialized reads - indicating the defect may not manifest as a crash under normal execution but instead produces undefined behavior or silently leaks heap content. The root cause is a missing initialization of heap-allocated memory before use, which can expose adjacent or stale heap data to callers.
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:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
A use-of-uninitialized memory vulnerability exists in libxls 1.6.3 when parsing malformed XLS files. The issue is reachable via xls_parseWorkBook() and is triggered by uninitialized heap memory originating from the OLE layer (ole2_read). The flaw is detectable with MemorySanitizer (MSAN) and can lead to undefined behavior, incorrect parsing logic, or potential information disclosure.
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-34179
GHSA-48jr-3rh3-95w6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB