CVE-2017-12111 Memory corruption in libxls

High 8.8 Published Updated

A specially crafted XLS file can trigger memory corruption 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-12111?

CVE-2017-12111 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 vulnerability exists in the xls_addCell function of libxls 1.4. A specially crafted XLS file with a formula record can cause memory corruption resulting in remote code execution. An attacker can send a malicious XLS file to trigger this vulnerability.

Weakness: CWE-787

Which versions are affected by CVE-2017-12111?

It affects 1 product.

Products include Libxls Project Libxls.

How do I fix CVE-2017-12111?

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-12111 being exploited?

There is no known exploitation of CVE-2017-12111 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2017-12111, GHSA-xvh5-6cc5-gv2q, UBUNTU-CVE-2017-12111.

Is CVE-2017-12111 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free