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-95603 WordPress Reycob Product Import Export plugin <= 2.3.0 - PHP Object Injection vulnerability — Reycob Product Import Export 7.2 High 2026-09-23
CVE-2026-18490 IBM Financial Transaction Manager (FTM) is Impacted by Multiple Vulnerabilities — Financial Transaction Manager (FTM) for RedHat OpenShift 8.8 High 2026-09-23
CVE-2026-96560 LightLLM through 1.2.0 Unauthenticated Remote Code Execution via NCCL PD RPyC Control Channel — LightLLM 9.8 Critical 2026-09-23
CVE-2026-95928 recommenders-team recommenders Dict Loading mind_iterator.py pickle.load deserialization — recommenders 5.5 Medium 2026-09-23
CVE-2026-95897 Dask Loader core.py from_npy_stack deserialization — Dask 5.5 Medium 2026-09-23
CVE-2026-18163 IBM Financial Transaction Manager (FTM) is Impacted by Multiple Vulnerabilities — Financial Transaction Manager (FTM) for RedHat OpenShift 9.8 Critical 2026-09-22
CVE-2026-17637 IBM Financial Transaction Manager (FTM) is Impacted by Multiple Vulnerabilities — Financial Transaction Manager (FTM) for RedHat OpenShift 8.8 High 2026-09-22
CVE-2026-67615 openEQUELLA < 2026.1.0 Authenticated RCE via Java Deserialization in HTTP Invoker — openEQUELLA 8.8 High 2026-09-22
CVE-2026-28325 SolarWinds Observability Self-Hosted Unauthenticated Remote Code Execution Vulnerability — Observability Self-Hosted 8.8 High 2026-09-22
CVE-2026-43642 Softaculous Virtualizor PHP Object Injection via Billing Module Handler — Virtualizor 8.1 High 2026-09-22
CVE-2026-83803 Sentry: Unsafe pickle deserialization in Relocation Feature — sentry 7.7 High 2026-09-22
CVE-2026-95806 MISP: PHP phar stream wrapper enables deserialization and code execution via caller-influenced filesystem paths — MISP 7.7 High 2026-09-22
CVE-2026-65179 NVIDIA NeMo TabularTokenizer反序列化漏洞 — NeMo Speech 8.8 High 2026-09-22
CVE-2026-65178 NVIDIA NeMo恶意YAML注入致代码执行 — NeMo Speech 7.8 High 2026-09-22
CVE-2026-24239 NVIDIA NeMo Speech 远程代码执行漏洞 — NeMo Speech 7.8 High 2026-09-22
CVE-2026-24267 NVIDIA NeMo Speech语音数据探查器远程代码执行漏洞 — NeMo Speech 7.8 High 2026-09-22
CVE-2026-19658 Give Tributes <= 2.3.1 - Unauthenticated PHP Object Injection via 'give_tributes_ecard_notify[recipient][personalized][]' Parameter — Give Tributes 9.8 Critical 2026-09-22
CVE-2026-94301 Apache MINA: CVE-2026-47065 resolveProxyClass fix missing from 2.0.X and 2.1.X branches (2.0.30 / 2.1.14) ZDRES-232 — Apache MINA 9.8 Critical 2026-09-21
CVE-2026-94093 DLR-RM stable-baselines3 save_util.py VecNormalize.load deserialization — stable-baselines3 6.3 Medium 2026-09-20
CVE-2026-94092 dmlc dgl utils.py _read_torch_data deserialization — dgl 5.5 Medium 2026-09-20
CVE-2026-94091 piskvorky gensim Model Loader utils.py load deserialization — gensim 5.5 Medium 2026-09-20
CVE-2026-93872 Cotonti 1.0.0 PHP Object Injection via Comments Plugin Edit Action cb Parameter — Cotonti 7.5 High 2026-09-18
CVE-2026-81657 IBM Guardium Data Protection is affected by multiple vulnerabilities. — Guardium Data Protection 9.8 Critical 2026-09-18
CVE-2026-11711 IBM WebSphere Application Server prior to 9.0.5.29 and 8.5.5.31 are affected by multiple vulnerabilities — WebSphere Application Server 6.5 Medium 2026-09-18
CVE-2025-66455 LMDeploy has Remote Code Execution by Pickle Deserialization via handle_zmq_recv in lmdeploy/lmdeploy/pytorch/disagg/conn/engine_conn.py — lmdeploy 9.8 Critical 2026-09-18
CVE-2026-10751 IBM MQ Java messaging is vulnerable to remote code execution — MQ 7.5 High 2026-09-18
CVE-2026-17086 ShortPixel Image Optimizer <= 6.5.5 - Authenticated (Author+) PHP Object Injection via Nested JSON Post Content — ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF 8.8 High 2026-09-18
CVE-2026-93467 HGiga|OAKlouds - Insecure Deserialization — OAKlouds-custom_page-2.0 9.8 Critical 2026-09-18
CVE-2026-54752 NetBox Device Type Library: Insecure Pickle Deserialization in Test Suite Allows Remote Code Execution via Malicious Pull Request — devicetype-library 9.6 Critical 2026-09-17
CVE-2026-76834 b2evolution CMS 6.7.8 through 7.2.5 Object Injection via Negative Integer Array Key — b2evolution CMS 8.1 High 2026-09-17

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