CVE-2018-20787 Integer overflow in n/a

Medium 5.5 Published Updated

A crafted application on a rooted Xiaomi MIX 3 can trigger an integer overflow in the touchscreen driver, causing a device crash.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2018-20787?

CVE-2018-20787 is a medium-severity vulnerability in n/a, published on 25 Feb 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

The ft5x46 touchscreen driver for custom Linux kernels on the Xiaomi perseus-p-oss MIX 3 device through 2018-11-26 has an integer overflow and OOPS because of missing checks of the size argument in tpdbg_write in drivers/input/touchscreen/ft5x46/ft5x46_ts.c. This is exploitable for a device crash via a syscall by a crafted application on a rooted device.

Weakness: CWE-190

Which versions are affected by CVE-2018-20787?

It affects 1 product.

Products include Micode Xiaomi Perseus-P-Oss.

How do I fix CVE-2018-20787?

No fix has been published for CVE-2018-20787 yet. Limit exposure of the affected software until one is available.

Is CVE-2018-20787 being exploited?

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

Sources

Also known as GHSA-8g65-fwj6-q5qg.

Is CVE-2018-20787 in your software?

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

Check your SBOMs for free