CVE-2024-0040 Memory corruption in Android
A heap buffer overflow in Android's MTP implementation allows remote attackers to read sensitive memory without user interaction.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-0040?
CVE-2024-0040 is a high-severity memory corruption vulnerability in Google Android, published on 16 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In setParameter of MtpPacket.cpp, there is a possible out of bounds read due to a heap buffer overflow. This could lead to remote information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.
Which versions are affected by CVE-2024-0040?
It affects 1 product.
Products include Google Android.
How do I fix CVE-2024-0040?
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-0040 being exploited?
There is no known exploitation of CVE-2024-0040 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Google Android
Sources
Also known as A-300007708, ASB-A-300007708, GHSA-3cmq-9cqr-3jc4.