CVE-2024-34740

HIGH

Android - Integer Overflow in BinaryXmlSerializer

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2024-34740. PoCs published by michalbednarski.

AI-analyzed exploit summary This repository contains a functional exploit for CVE-2024-34740, leveraging a vulnerability in Android's Binary XML format to achieve privilege escalation by manipulating the `install_sessions.xml` file. The exploit involves injecting a malicious byte array to alter the installation path, allowing arbitrary code execution within the `system_server` context.

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.

Exploits (1)

nomisec WORKING POC 51 stars
by michalbednarski · poc
https://github.com/michalbednarski/AbxOverflow

This repository contains a functional exploit for CVE-2024-34740, leveraging a vulnerability in Android's Binary XML format to achieve privilege escalation by manipulating the `install_sessions.xml` file. The exploit involves injecting a malicious byte array to alter the installation path, allowing arbitrary code execution within the `system_server` context.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Android (specific versions affected by CVE-2024-34740)
No auth needed
Prerequisites: Access to an Android device with the vulnerable Binary XML parser · Ability to write to the `install_sessions.xml` file
devstral-2 · analyzed Feb 18, 2026 Full analysis →

Scores

CVSS v3 7.8
EPSS 0.0015
EPSS Percentile 4.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-190 CWE-91
Status published
Products (4)
google/android 12.0
google/android 12.1
google/android 13.0
google/android 14.0
Published Aug 15, 2024
Tracked Since Feb 18, 2026