Export
The link always opens the latest version of this page.
Ask an AI about it
Open in ChatGPTA new chat that reads this entry from the site Open in ClaudeThe same, in ClaudeShare the link instead of a file, and they will always see the latest version.
Files are a snapshot of today. The live page has anything newer.
CWE-502: Deserialization of Untrusted Data
The product deserializes untrusted data without sufficiently verifying the resulting data will be valid.
Definition
CWE-502 is a weakness class in which a product deserializes untrusted data without sufficiently verifying that the resulting data will be valid 1.
Consequences
Exploitation of deserialization vulnerabilities can lead to arbitrary code execution 2 and remote code execution 3. In certain contexts, successful exploitation may grant attackers total control of the affected asset 4. When deserialization occurs in privileged contexts—such as on a master node—attackers may achieve remote code execution with elevated privileges 5.
Context
Deserialization attacks represent a critical attack vector because many serialization formats allow objects to execute code during the deserialization process. When an application deserializes data from an untrusted source without proper validation, an attacker can craft malicious serialized objects that execute arbitrary code upon deserialization. This is particularly dangerous in languages and frameworks where object deserialization is tightly coupled with object instantiation and method invocation.
The vulnerability is classified as a weakness class rather than a specific bug, meaning it describes a category of related flaws that share the same root cause and exploitation mechanism. Proper mitigation requires either avoiding deserialization of untrusted data entirely, using safe deserialization methods that restrict object types, or implementing strict input validation and integrity checks before deserialization occurs.
In the news 5
- ZDI-26-412: (Pwn2Own) Microsoft SharePoint Deserialization of Untrusted Data Remote Code Execution Vulnerability · Zero Day Initiative
- CISA Adds Exploited SharePoint RCE Zero-Day CVE-2026-58644 to KEV · The Hacker News
- [0day-rubbish] Accurate Online Private Cloud on-prem (current) Unauthenticated Hessian deserialization leading to JNDI remote class loading (9.8) · Full Disclosure
- CISA Adds One Known Exploited Vulnerability to Catalog · CISA Advisories
- ZDI-26-527: Wazuh Cluster DAPI Protocol Deserialization of Untrusted Data Remote Code Execution Vulnerability · Zero Day Initiative
Sign in for the full story cards: summaries, tags and starring.