Deserialization of Untrusted Data vulnerabilities
CWE-502 · 12 tracked
Insecure deserialization (CWE-502) is a flaw where an application deserializes untrusted data, letting an attacker craft a payload that executes code or manipulates application state during deserialization.
How it’s exploited
The attacker submits a serialized object crafted so that its reconstruction triggers a “gadget chain” — existing classes whose side effects, when chained, lead to remote code execution.
How to prevent it
Never deserialize untrusted input with a format that can instantiate arbitrary types; prefer data-only formats (JSON with a schema), and use allowlists of permitted classes where object serialization is unavoidable.
Tracked deserialization of untrusted data vulnerabilities
12 CVEs in this class, each with severity, exploit status, EPSS, and remediation.
CVE-2026-62263CVE-2026-57516CVE-2026-59940CVE-2026-55223CVE-2026-12484CVE-2026-54071CVE-2026-52777CVE-2026-12481CVE-2026-49286CVE-2026-48502CVE-2026-39832CVE-2026-48775
Frequently asked questions
- What is Deserialization of Untrusted Data?
- Insecure deserialization (CWE-502) is a flaw where an application deserializes untrusted data, letting an attacker craft a payload that executes code or manipulates application state during deserialization.
- How is deserialization of untrusted data exploited?
- The attacker submits a serialized object crafted so that its reconstruction triggers a “gadget chain” — existing classes whose side effects, when chained, lead to remote code execution.
- How do you prevent deserialization of untrusted data?
- Never deserialize untrusted input with a format that can instantiate arbitrary types; prefer data-only formats (JSON with a schema), and use allowlists of permitted classes where object serialization is unavoidable.
- How many deserialization of untrusted data vulnerabilities are there?
- O3 tracks 12 vulnerabilities classified as CWE-502 (Deserialization of Untrusted Data), each with severity, exploit status, EPSS exploitation probability, and remediation. The full list is below.