CVE-2024-34740
In attributeBytesBase64 and attributeBytesHex of BinaryXmlSerializer.java, there is a possible...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2024-34740- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 3.1
- 7.7 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-190, CWE-91
- Updated
- 2026-11-02
CVE List
7.7
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.
- Record
CVE-2024-34740- CVSS 3.1
- 7.7 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-91, CWE-190
- Updated
- 2026-11-02
EUVDEUVD-2024-35016
7.7
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.
- Record
EUVD-2024-35016- CVSS 3.1
- 7.7 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-g8gg-jvrh-m6c2
7.7
In attributeBytesBase64 and attributeBytesHex of BinaryXmlSerializer.java, there is a possible...
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.
- Record
GHSA-g8gg-jvrh-m6c2- CVSS 3.1
- 7.7 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-91, CWE-190
- Updated
- 2026-11-02
OSVASB-A-307288067 No score
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.
- Record
ASB-A-307288067- Updated
- 2026-11-10
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
platform/frameworks/baseAndroid |
14-next:0 up to 14-next:2024-08-01, plus listed versions 14-next |
14-next:2024-08-01 |
platform/frameworks/libs/modules-utilsAndroid |
14-next:0 up to 14-next:2024-08-01, plus listed versions 14-next |
14-next:2024-08-01 |
platform/frameworks/baseAndroid |
12:0 up to 12:2024-08-01, plus listed versions 12 |
12:2024-08-01 |
platform/frameworks/baseAndroid |
12L:0 up to 12L:2024-08-01, plus listed versions 12L |
12L:2024-08-01 |
platform/frameworks/baseAndroid |
13:0 up to 13:2024-08-01, plus listed versions 13 |
13:2024-08-01 |
platform/frameworks/baseAndroid |
14:0 up to 14:2024-08-01, plus listed versions 14 |
14:2024-08-01 |
platform/frameworks/libs/modules-utilsAndroid |
14:0 up to 14:2024-08-01, plus listed versions 14 |
14:2024-08-01 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | michalbednarski/AbxOverflow | 2025-10-08 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-34740 is a high vulnerability (CVSS 7.8) in Google Android, published August 1, 2024. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.21%, the 11th percentile. Fixed in platform/frameworks/base 14-next:2024-08-01.
References
android.googlesource.com/platform/frameworks/libs/modules-utils/+/700c28908051ceb55e1456d2d21229bc17c6895a
android.googlesource.com/platform/frameworks/base/+/e8b6505647be558ed3a167a1e13c53dfc227d22b
source.android.com/security/bulletin/2024-08-01
nvd.nist.gov/vuln/detail/CVE-2024-34740
github.com/advisories/GHSA-g8gg-jvrh-m6c2