CVE-2026-87697

Description

A flaw was found in dotnet. A remote attacker can achieve arbitrary code execution by tricking an application or user into processing maliciously crafted data during deserialization (the process of reconstructing data into an application object). Successful exploitation allows the attacker to execute unauthorized code over the network within the context of the running application.

Statement

This vulnerability is rated as Important severity because successful exploitation allows remote code execution within the context of the affected process without requiring elevated privileges, provided the application consumes untrusted input. In Red Hat environments, the .NET runtime is deployed across enterprise container workloads and server environments to host web and backend services. Exposure is limited to applications that receive and process untrusted serialized streams from external sources, requiring target applications to ingest maliciously formatted payloads.

Understanding the Weakness (CWE)

Integrity

Technical Impact: 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

Technical Impact: 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

Technical Impact: 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 unauthorized actions, such as generating a shell.

Frequently Asked Questions

Want to get errata notifications? Sign up here.