Deserialization in Google Android
CVE-2024-31317
In multiple functions of ZygoteProcess.java, there is a possible way to achieve code execution as any app via WRITE_SECURE_SETTINGS due to unsafe deserialization. This could lead to local escalation of privilege with User execution privileges needed. User interaction is not needed for exploitation.
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.008, 56.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Google Android — versions 12, 14.0, 12L
Weakness classification (CWE)
Public exploits and proof-of-concept code
16 public repositories with exploit or proof-of-concept code for this CVE:
- wqry085/PoC-Deployer-System (95 stars, last pushed 2026-02-16): Quick tool for utilizing CVE-2024-31317 on Android
- fuhei/CVE-2024-31317 (66 stars, last pushed 2024-12-05): CVE-2024-31317
- Anonymous941/zygote-injection-toolkit (64 stars, last pushed 2025-12-17): A command-line utility to exploit Android Zygote injection (CVE-2024-31317)
- WebLDix/CVE-2024-31317-PoC-Deployer (57 stars, last pushed 2025-07-01)
- agg23/cve-2024-31317 (32 stars, last pushed 2025-08-05): Detailed discussion of Zygote vulnerability CVE-2024-31317
- CleoV2/Debuggable-App-Exploit (13 stars, last pushed 2026-03-01): CVE-2024-31317 Debuggable App Exploit
- fcy10012/CVE-2024-31317-Deployer (6 stars, last pushed 2025-12-21): CVE-2024-31317 Android Zygote命令注入漏洞研究与部署工具 | Android 9-13 漏洞利用框架
- rifting/Zygotroller (5 stars, last pushed 2025-08-10): Remove Android profile owners/family link with CVE-2024-31317
- vnescape/zygote-CVE-2024-31317 (4 stars, last pushed 2026-05-29): This is a toolkit that uses CVE-2024-31317 to extract private app data via ADB or spawn a shell with an app's UID.
- GitAmanS/ZygoteExploitDemo (2 stars, last pushed 2026-03-09): Educational demonstration of CVE-2024-31317 Zygote Injection Vulnerability on Android
6 more are listed on the interactive page.
Also mentioned in 10 other repositories (agg23/android_31317_exploit_rs, ARPSyndicate/cve-scores, canyie/CVE-2024-0044, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- android.googlesource.com/platform/frameworks/base/+/e25a0e394bbfd6143a557e1019b… (Patch, Mailing List)
- source.android.com/security/bulletin/2024-06-01 (Patch, Vendor Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.