CVE-2017-2897 Memory corruption in libxls
A specially crafted XLS file triggers an out-of-bounds write in libxls, allowing remote code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-2897?
CVE-2017-2897 is a high-severity memory corruption vulnerability in libxls, published on 20 Nov 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
An exploitable out-of-bounds write vulnerability exists in the read_MSAT function of libxls 1.4. A specially crafted XLS file can cause a memory corruption resulting in remote code execution. An attacker can send malicious XLS file to trigger this vulnerability.
Weakness: CWE-787
Which versions are affected by CVE-2017-2897?
It affects 1 product.
Products include Libxls Project Libxls.
How do I fix CVE-2017-2897?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2017-2897 being exploited?
There is no known exploitation of CVE-2017-2897 in the wild and no public exploit code.
Other vulnerabilities in libxls
Sources
Also known as DEBIAN-CVE-2017-2897, GHSA-8p96-2vj8-w389, UBUNTU-CVE-2017-2897.