Heap-based buffer overflow in libxls - CVE-2023-38852

 

Heap-based buffer overflow in libxls - CVE-2023-38852

Published: February 19, 2024


Vulnerability identifier: #VU86559
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2023-38852
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: libxls.sourceforge.net
Affected software:
libxls

Detailed vulnerability description

The vulnerability allows a remote attacker to preform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error within the unicode_decode_wcstombs() function in xlstool.c when parsing style records. A remote attacker can pass a specially crafted file to the application, trigger a heap-based buffer overflow and perform a denial of service (DoS) attack.


How to mitigate CVE-2023-38852

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources