CVE-2024-34740 Integer overflow in Android

High 7.7 Published Updated

An integer overflow in Android's BinaryXmlSerializer allows local attackers to inject arbitrary XML and escalate privileges 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-34740?

CVE-2024-34740 is a high-severity vulnerability in Google Android, published on 15 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In attributeBytesBase64 and attributeBytesHex of BinaryXmlSerializer.java, there is a possible arbitrary XML injection due to an integer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

Weakness: CWE-91, CWE-190

Which versions are affected by CVE-2024-34740?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2024-34740?

Apply the vendor's patch.

Is CVE-2024-34740 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

All Google Android vulnerabilities

Sources

Also known as A-307288067, ASB-A-307288067, GHSA-g8gg-jvrh-m6c2.

Is CVE-2024-34740 in your software?

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

Check your SBOMs for free