PT-2017-15604 · Libxls · Libxls
Published
2017-11-20
·
Updated
2023-07-13
·
CVE-2017-2896
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
libxls versions 1.3.4 through 1.4.0
Description
An out-of-bounds write vulnerability exists in the
xls mergedCells function of libxls, allowing a specially crafted XLS file to cause memory corruption, potentially resulting in remote code execution. Additionally, memory management issues, including double-free and invalid free flaws, have been discovered in the read MSAT and read MSAT body functions within the ole.c component of libxls. These issues can be exploited by an attacker using a crafted file to cause a Denial of Service (DoS) or application crash. Other vulnerabilities, including stack-based buffer overflow and integer overflow, have been identified in various functions of libxls, such as xls getfcell, xls preparseWorkSheet, and xls appendSST, which can also lead to memory corruption and potentially result in remote code execution.Recommendations
For libxls versions 1.3.4 through 1.4.0, consider disabling the
xls mergedCells function and restricting the use of the read MSAT and read MSAT body functions until a patch is available. Avoid using the xls getfcell, xls preparseWorkSheet, and xls appendSST functions with crafted XLS files. As a temporary workaround, restrict access to the ole.c component to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.RCE
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Libxls