CVE-2024-40653 Privilege escalation in Android

High 7.3 Published Updated

A logic error in Android's ConnectionServiceWrapper allows local attackers to retain permissions indefinitely, leading to privilege escalation.

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

What is CVE-2024-40653?

CVE-2024-40653 is a high-severity vulnerability in Google Android, published on 2 Sep 2025. 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 multiple functions of ConnectionServiceWrapper.java, there is a possible way to retain a permission forever in the background due to a logic error in the code. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is needed for exploitation.

Weakness: CWE-287

Which versions are affected by CVE-2024-40653?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2024-40653?

Apply the vendor's patch.

Is CVE-2024-40653 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-293458004, ASB-A-293458004, GHSA-54rj-pgcv-9wq8.

Is CVE-2024-40653 in your software?

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

Check your SBOMs for free