CVE-2024-20040 Memory corruption in MT2713, MT6580, MT6761, MT6762, MT6768, MT6781, MT6789, MT6833, MT6853, MT6853T, MT6855, MT6873, MT6875, MT6877, MT6879, MT6883, MT6885, MT6886, MT6889, MT6890, MT6891, MT6893, MT6895, MT6983, MT6985, MT6989, MT6990, MT7902, MT7915, MT7916, MT7920, MT7921, MT7922, MT7925, MT7927, MT7981, MT7986, MT8188, MT8195, MT8370, MT8390, MT8395, MT8518S, MT8532, MT8673, MT8678, MT8781, MT8791T, MT8792, MT8796, MT8797, MT8798

High 8.8 Published Updated

Remote attackers can escalate privileges via out-of-bounds write in MediaTek WLAN firmware without user interaction.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-20040?

CVE-2024-20040 is a high-severity memory corruption vulnerability in Google Android, published on 1 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In wlan firmware, there is a possible out of bounds write due to improper input validation. This could lead to remote escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. Patch ID: ALPS08360153 (for MT6XXX chipsets) / WCNCR00363530 (for MT79XX chipsets); Issue ID: MSV-979.

Weakness: CWE-787

Which versions are affected by CVE-2024-20040?

It affects 5 products.

Products include Google Android, Linux kernel, Linuxfoundation Yocto, Openwrt Openwrt, Rdkcentral Rdk-B.

How do I fix CVE-2024-20040?

Apply the vendor's patch.

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

Is CVE-2024-20040 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-323465955, ASB-A-323465955, GHSA-8rm5-h6c9-v86r, M-ALPS08360153.

Is CVE-2024-20040 in your software?

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

Check your SBOMs for free