Description
A heap-buffer-overflow and use-after-free vulnerability exists in the xls_getCSS() function of libxls 1.6.3 due to insufficient validation of a file-controlled font index.
Published: 2026-09-10
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Apply Patch
AI Analysis

Impact

Heap-buffer-overflow and use-after-free vulnerabilities in the xls_getCSS() function of libxls 1.6.3 can corrupt memory when processing a malformed or malicious spreadsheet file. This can lead to unpredictable behavior, including the execution of arbitrary code or application crashes. The weakness arises from insufficient validation of a file‑controlled font index, representing a classic heap-based buffer overflow and use-after‑free condition (CWE‑122/CWE‑416).

Affected Systems

The vulnerability affects the libxls library,3. Applications that use this version to parse Excel (.xls) files are potentially exposed.

Risk and Exploitability

A local file attack vector is likely, as the flaw is triggered by processing a crafted XLS file. Because the overflow and free violation can be leveraged to inject malicious code, the risk could be high for any process running the vulnerable library with elevated privileges. The EPSS score is currently unavailable, and the vulnerability is not listed in CISA KEV. Given the nature of the bug, a high severity level is expected even though a CVSS score is not published.

Generated by OpenCVE AI on September 10, 2026 at 22:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libxls to the latest released version that contains the patch (e.g., 1.6.4 or later).
  • If an immediate upgrade is not possible, apply the hotfix supplied in the GitHub pull request (#164) to the xls_getCSS implementation before using the library.
  • Run any application that utilizes libxls under least privilege and/or within a sandbox to contain potential exploitation.

Generated by OpenCVE AI on September 10, 2026 at 22:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 11 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Libxls
Libxls libxls
Vendors & Products Libxls
Libxls libxls

Thu, 10 Sep 2026 23:00:00 +0000

Type Values Removed Values Added
Title Heap Buffer Overflow and Use‑After‑Free in libxls xls_getCSS Function
Weaknesses CWE-122
CWE-416

Thu, 10 Sep 2026 20:45:00 +0000

Type Values Removed Values Added
Description A heap-buffer-overflow and use-after-free vulnerability exists in the xls_getCSS() function of libxls 1.6.3 due to insufficient validation of a file-controlled font index.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-10T20:40:06.703Z

Reserved: 2026-08-25T00:00:00.000Z

Link: CVE-2026-79591

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-10T21:17:46.933

Modified: 2026-09-10T21:17:46.933

Link: CVE-2026-79591

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-11T13:00:14Z

Weaknesses