# CVE-2024-34740: In attributeBytesBase64 and attributeBytesHex of BinaryXmlSerializer.java, there is a possible arbitrary XML injection due to an integer ov…

- Severity: High 7.7 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-08-15T21:56:33.151Z
- Modified: 2026-06-17T07:33:59.097Z
- Weaknesses: CWE-91, CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: google_android

## 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.

(As written by CVE List.)

## Affected

- Google Android: 14; 13; 12L; 12; 12.0; 12.0l; 13.0; 14.0; 12.1

## Every score

- CISA-ADP: 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`
- NVD: 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`

## References

- <https://android.googlesource.com/platform/frameworks/libs/modules-utils/+/700c28908051ceb55e1456d2d21229bc17c6895a> (mailing-list, patch)
- <https://android.googlesource.com/platform/frameworks/base/+/e8b6505647be558ed3a167a1e13c53dfc227d22b> (mailing-list, patch)
- <https://source.android.com/security/bulletin/2024-08-01> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2024-34740](https://www.cve.org/CVERecord?id=CVE-2024-34740), CVE Terms of Use, modified 2024-08-16
- NVD: [CVE-2024-34740](https://nvd.nist.gov/vuln/detail/CVE-2024-34740), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-34740 · Whole record: https://cve.day/CVE-2024-34740.json · Rebuilt by cve.day 2026-11-25T22:58:44.431Z
