CVE-2024-40673 Code injection in Android

Medium 6.5 Published Updated

An attacker can execute arbitrary code remotely via improper input validation in Android's ZipFile handling, requiring no 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-40673?

CVE-2024-40673 is a medium-severity code injection vulnerability in Google Android, published on 28 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Source of ZipFile.java, there is a possible way for an attacker to execute arbitrary code by manipulating Dynamic Code Loading due to improper input validation. This could lead to remote code execution with no additional execution privileges needed. User interaction is not needed for exploitation.

Weakness: CWE-94

Which versions are affected by CVE-2024-40673?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2024-40673?

Apply the vendor's patch.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-40673 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-309938635, ASB-A-309938635, GHSA-wmwg-vmx2-qg37, UBUNTU-CVE-2024-40673.

Is CVE-2024-40673 in your software?

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

Check your SBOMs for free