CVE-2024-34740: Android Framework BinaryXmlSerializer XML Injection
- Vendor
CVE-2024-34740 is a high-severity Android Framework elevation-of-privilege vulnerability in the attributeBytesBase64 and attributeBytesHex methods of BinaryXmlSerializer.java. An integer-overflow condition can permit arbitrary XML injection during binary XML serialization, enabling a local attacker to affect XML content processed in a privileged context.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can result in local elevation of privilege. The issue does not require user interaction or additional execution privileges.
Mitigation
If you can’t patch tonight, do this now.
Prioritize installation of vendor-provided Android security updates. Android platform mitigations and Google Play Protect may reduce exploitation likelihood on supported devices, but do not replace patching.
Remediation
Patch, then assume compromise.
Apply the Android security update with security patch level 2024-08-01 or later. Applying the 2024-08-05 patch level or any later supported Android security update also remediates the vulnerability.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-34740 exploited in the wild?
- As of Sep 26, 2026, Mallory has no reports of CVE-2024-34740 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-34740?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2024-34740, the earliest disclosed Oct 8, 2025.
- Is there a patch for CVE-2024-34740?
- Apply the Android security update with security patch level 2024-08-01 or later. Applying the 2024-08-05 patch level or any later supported Android security update also remediates the vulnerability.
- What products are affected by CVE-2024-34740?
- Google Android.
- How severe is CVE-2024-34740?
- CVE-2024-34740 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.21% (11th percentile) as of Sep 26, 2026.
Recent activity
3 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.