Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-502 (可信数据的反序列化) — Vulnerability Class 2486

2486 vulnerabilities classified as CWE-502 (可信数据的反序列化). AI Chinese analysis included.

CWE-502 represents a critical security weakness where applications deserialize untrusted data without validating its integrity or structure. Attackers typically exploit this vulnerability by crafting malicious serialized objects that, when processed by the application, trigger unintended code execution or logic flaws. This often leads to remote code execution, denial of service, or privilege escalation, as the deserialization process may instantiate dangerous classes or invoke unsafe methods. To mitigate this risk, developers must strictly avoid deserializing data from untrusted sources. Instead, they should implement robust input validation, use allowlists for permitted data types, or adopt safer serialization formats like JSON that do not inherently support arbitrary object instantiation. Additionally, employing cryptographic signatures to verify data authenticity before deserialization ensures that only trusted, unaltered payloads are processed, effectively neutralizing the threat of malicious object injection.

MITRE CWE Description
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
Common Consequences (3)
Integrity Modify Application Data, Unexpected State
Attackers can modify unexpected objects or data that was assumed to be safe from modification. Deserialized data or code could be modified without using the provided accessor functions, or unexpected functions could be invoked.
Availability DoS: Resource Consumption (CPU)
If a function is making an assumption on when to terminate, based on a sentry in a string, it could easily never terminate.
Other Varies by Context
The consequences can vary widely, because it depends on which objects or methods are being deserialized, and how they are used. Making an assumption that the code in the deserialized object is valid is dangerous and can enable exploitation. One example is attackers using gadget chains to perform una…
Mitigations (5)
Architecture and Design, Implementation If available, use the signing/sealing features of the programming language to assure that deserialized data has not been tainted. For example, a hash-based message authentication code (HMAC) could be used to ensure that data has not been modified.
Implementation When deserializing data, populate a new object rather than just deserializing. The result is that the data flows through safe input validation and that the functions are safe.
Implementation Explicitly define a final object() to prevent deserialization.
Architecture and Design, Implementation Make fields transient to protect them from deserialization. An attempt to serialize and then deserialize a class containing transient fields will result in NULLs where the transient data should be. This is an excellent way to prevent time, environment-based, or sensitive variables from being carried over and used improperly.
Implementation Avoid having unnecessary types or gadgets (a sequence of instances and method invocations that can self-execute during the deserialization process, often found in libraries) available that can be leveraged for malicious ends. This limits the potential for unintended or unauthorized types and gadgets to be leveraged by the attacker. Add only acceptable classes to an allowlist. Note: new gadgets are…
Examples (2)
This code snippet deserializes an object from a file and uses it as a UI button:
try { File file = new File("object.obj"); ObjectInputStream in = new ObjectInputStream(new FileInputStream(file)); javax.swing.JButton button = (javax.swing.JButton) in.readObject(); in.close(); }
Bad · Java
private final void readObject(ObjectInputStream in) throws java.io.IOException { throw new java.io.IOException("Cannot be deserialized"); }
Good · Java
In Python, the Pickle library handles the serialization and deserialization processes. In this example derived from [REF-467], the code receives and parses data, and afterwards tries to authenticate a user based on validating a token.
try { class ExampleProtocol(protocol.Protocol): def dataReceived(self, data): # Code that would be here would parse the incoming data # After receiving headers, call confirmAuth() to authenticate def confirmAuth(self, headers): try: token = cPickle.loads(base64.b64decode(headers['AuthToken'])) if not check_hmac(token['signature'], token['data'], getSecretKey()): raise AuthFail self.secure_data = token['data'] except: raise AuthFail }
Bad · Python
CVE ID Title CVSS Severity Published
CVE-2026-104730 Sunshine Photo Cart <= 3.7.4 - Unauthenticated PHP Object Injection via 'key' Parameter — Sunshine Photo Cart – Client Photo Gallery & Photo Proofing for Photographers 9.8 Critical 2026-10-16
CVE-2026-104932 Search Regex 3.5 - Authenticated (Subscriber+) Remote Code Execution via User Meta Serialized String Corruption — Search Regex 8.0 High 2026-10-16
CVE-2026-75941 联想Legion Zone应用远程代码执行漏洞 — Legion Zone Application 8.0 High 2026-10-15
CVE-2026-111160 LightLLM through 1.2.0 Unauthenticated DoS via pd_kv_trans_params Deserialization — LightLLM 7.5 High 2026-10-15
CVE-2026-110874 Dolibarr before 23.0.4 PHP Object Injection via jsonOrUnserialize() — dolibarr 6.6 Medium 2026-10-15
CVE-2026-47218 runwasi: Forged Wasmtime precompiled OCI layer bypasses runwasi WASI sandbox — runwasi 9.3 Critical 2026-10-15
CVE-2026-110812 Deserialization of untrusted data in the Gremlin graph-import path in Amazon Neptune — Amazon Neptune Engine 9.9 Critical 2026-10-15
CVE-2026-111094 TeamCity<2026.2远程代码执行漏洞 — TeamCity 8.1 High 2026-10-15
CVE-2026-47168 EspoCRM: Authenticated RCE via Unsafe PHP Object Deserialization in MassAction/Export params — espocrm 9.1 Critical 2026-10-15
CVE-2026-109686 WordPress Link Whisper Free plugin <= 0.9.7 - PHP Object Injection vulnerability — Link Whisper Free 9.8 Critical 2026-10-15
CVE-2026-110761 ILIAS before 9.24, 10.12, and 11.5 PHP Object Injection via Test Results Import — ILIAS 8.8 High 2026-10-14
CVE-2026-55573 e107: Unsafe deserialization in install.php allows unauthenticated RCE via POP chain — e107 9.8 Critical 2026-10-14
CVE-2026-108291 WordPress Affiliates plugin <= 7.0.1 - PHP Object Injection vulnerability — Affiliates 9.8 Critical 2026-10-14
CVE-2026-106599 WordPress SureCart plugin <= 4.9.3 - PHP Object Injection vulnerability — SureCart 8.8 High 2026-10-14
CVE-2026-97278 WordPress Polylang plugin <= 3.8.9 - PHP Object Injection vulnerability — Polylang 7.2 High 2026-10-14
CVE-2026-73793 HPE NonStop Middleware - Secret key handling vulnerability — HPE NonStop Middleware 7.9 High 2026-10-14
CVE-2026-104764 Post Export Import with Media <= 1.17.1 - Authenticated (Administrator+) PHP Object Injection via 'page_data[meta]' Parameter — Post Export Import with Media 7.2 High 2026-10-14
CVE-2026-65674 Microsoft SQL Server Remote Code Execution Vulnerability — Microsoft SQL Server 2019 (GDR) 8.8 High 2026-10-13
CVE-2026-49950 Xorbits Xoscar 0.11.2 Unauthenticated Deserialization RCE via Actor Pool — xoscar 9.8 Critical 2026-10-13
CVE-2026-93905 IBM WebSphere Application Server Liberty is affected by a deserialization of untrusted data — WebSphere Application Server - Liberty 8.2 High 2026-10-13
CVE-2026-105442 IBM WebSphere Application Server and WebSphere Application Server Liberty are affected by a deserialization of untrusted data — WebSphere Application Server 7.5 High 2026-10-13
CVE-2026-105013 Microsoft Office SharePoint Remote Code Execution Vulnerability — Microsoft SharePoint Server Subscription Edition 7.4 High 2026-10-13
CVE-2026-100214 Microsoft Dynamics 365 Business Central Remote Code Execution Vulnerability — Microsoft Dynamics NAV 2017 8.8 High 2026-10-13
CVE-2026-83520 .NET Remote Code Execution Vulnerability — .NET 10.0 runtime 8.8 High 2026-10-13
CVE-2026-70035 .NET Framework Remote Code Execution Vulnerability — .NET 10.0 runtime 8.8 High 2026-10-13
CVE-2026-96186 Microsoft Windows Media Foundation Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.8 High 2026-10-13
CVE-2026-87692 Microsoft Exchange Server Elevation of Privilege Vulnerability — Microsoft Exchange Server 2016 Cumulative Update 23 7.8 High 2026-10-13
CVE-2026-85900 Microsoft Office SharePoint Remote Code Execution Vulnerability — Microsoft SharePoint Server Subscription Edition 8.8 High 2026-10-13
CVE-2026-87697 .NET Remote Code Execution Vulnerability — .NET 10.0 runtime 8.8 High 2026-10-13
CVE-2026-88091 Windows Management Instrumentation Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.8 High 2026-10-13

Vulnerabilities classified as CWE-502 (可信数据的反序列化) represent 2486 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.