CVE-2023-20840 Memory corruption in MT6895, MT6897, MT6983, MT8188, MT8195, MT8395

Medium 6.5 Published Updated

A missing range check in MediaTek imgsys allows local attackers with system privileges to escalate privileges via out-of-bounds read and write.

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

What is CVE-2023-20840?

CVE-2023-20840 is a medium-severity memory corruption vulnerability in Google Android, published on 4 Sep 2023. 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

In imgsys, there is a possible out of bounds read and write due to a missing valid range checking. This could lead to local escalation of privilege with System execution privileges needed. User interaction is needed for exploitation. Patch ID: ALPS07326430; Issue ID: ALPS07326430.

Weakness: CWE-787, CWE-125

Which versions are affected by CVE-2023-20840?

It affects 4 products.

Products include Google Android, Linux kernel, Linuxfoundation Yocto, Mediatek Iot Yocto.

How do I fix CVE-2023-20840?

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

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-20840 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as GHSA-hxj2-gx73-fhmx.

Is CVE-2023-20840 in your software?

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

Check your SBOMs for free