CVE-2018-20452 Use after free in n/a

High 8.8 Published Updated

Attackers can cause a crash or potentially execute code via a crafted file due to invalid memory management in libxls.

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-2018-20452?

CVE-2018-20452 is a high-severity use after free vulnerability in n/a, published on 25 Dec 2018. 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

The read_MSAT_body function in ole.c in libxls 1.4.0 has an invalid free that allows attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted file, because of inconsistent memory management (new versus free) in ole2_read_header in ole.c.

Weakness: CWE-119

Which versions are affected by CVE-2018-20452?

It affects 1 product.

Products include Libxls Project Libxls.

How do I fix CVE-2018-20452?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2018-20452 being exploited?

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

Sources

Also known as DEBIAN-CVE-2018-20452, GHSA-3hq6-4m9g-pfg4, UBUNTU-CVE-2018-20452.

Is CVE-2018-20452 in your software?

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

Check your SBOMs for free