VYPR
Unrated severityNVD Advisory· Published Jun 16, 2023· Updated Dec 17, 2024

CVE-2023-34795

CVE-2023-34795

Description

xlsxio v0.1.2 to v0.2.34 was discovered to contain a free of uninitialized pointer in the xlsxioread_sheetlist_close() function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted XLSX file.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A free of uninitialized pointer in xlsxio v0.1.2–v0.2.34 enables DoS or potential RCE via crafted XLSX file.

Vulnerability

The vulnerability exists in xlsxioread_sheetlist_close() in xlsxio library versions v0.1.2 through v0.2.34 [1][2]. When xlsxioread_sheetlist_open() fails to open the zip file (e.g., with a malformed XLSX), it returns a xlsxio_read_sheetlist_struct object with the xmlparser field left uninitialized [1]. Subsequently, calling xlsxioread_sheetlist_close() passes this uninitialized pointer to XML_ParserFree(), leading to a free of uninitialized pointer [1].

Exploitation

An attacker can trigger this vulnerability by providing a crafted XLSX file that causes XML_Char_openzip() to fail [1]. No authentication is required; the attacker only needs to convince a user or application using xlsxio to process the malicious file. The crash occurs during the xlsxioread_sheetlist_close() call [1].

Impact

A successful exploit results in a denial of service (DoS) via program crash. The reference also notes potential remote code execution (RCE) if the attacker can control the uninitialized pointer to hijack function pointers via use-after-free [1][2]. The impact thus ranges from DoS to possible arbitrary code execution depending on environment and heap layout.

Mitigation

The issue was fixed in commit d653f1604b54532f11b45dca1fa164b4a1f15e2d [3], which initializes result->xmlparser = NULL before the conditional [3]. The fix is part of version v0.2.35 [2]. Users should upgrade to v0.2.35 or apply the patch directly. No workarounds are documented for unpatched versions.

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.