CVE-2019-5087 Integer overflow in xcftools

High 8.8 Published Updated

An integer overflow in xcftools allows arbitrary code execution when a user opens a specially crafted XCF file.

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-2019-5087?

CVE-2019-5087 is a high-severity vulnerability in Debian Debian Linux, published on 21 Nov 2019. 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 integer overflow vulnerability exists in the flattenIncrementally function in the xcf2png and xcf2pnm binaries of xcftools 1.0.7. An integer overflow can occur while calculating the row's allocation size, that could be exploited to corrupt memory and eventually execute arbitrary code. In order to trigger this vulnerability, a victim would need to open a specially crafted XCF file.

Weakness: CWE-787, CWE-190, CWE-680

Which versions are affected by CVE-2019-5087?

It affects 2 products.

Products include Debian Debian Linux, Xcftools Project Xcftools.

How do I fix CVE-2019-5087?

Apply the vendor's patch.

Is CVE-2019-5087 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as GHSA-3768-p22h-mhp7, UBUNTU-CVE-2019-5087.

Is CVE-2019-5087 in your software?

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

Check your SBOMs for free