What’s Vulnerable › Vulnerabilities
GHSA-p3jp-9v83-76w9: Microsoft Security Advisory CVE-2026-111497 - .NET Brotli Decoder Out-of-bounds Write Vulnerability
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- Public exploit or detection template: none known
- Published: 2026-11-03 · updated 2026-11-03
- Weakness: CWE-787
Description
## Executive summary A buffer overflow vulnerability exists in the Brotli decompression library used by .NET. This vulnerability may allow an unauthenticated attacker to read or corrupt process memory. This could lead to information disclosure, denial of service, or elevation of privilege. ASP.NET Core and HttpClient do not automatically decompress Brotli data in their default configurations. Applications are exposed when they enable Brotli decompression or explicitly use Brotli decompression APIs to process attacker-controlled data, as described below. .NET Framework is not affected. ## Announcement Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/494 ## CVSS Details - **Version:** 3.1 - **Severity:** High - **Score:** 8.1 - **Vector:** `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C` - **Weakness:** CWE-787 (Out-of-bounds Write) ## Affected Platforms - **Platforms:** All - **Architectures:** All ## Mitigations ASP.NET Core request decompression and HttpClient automatic response decompression are not enabled by default. An application is not exposed merely because an affected .NET package is installed. Exposure requires the application to decompress attacker-controlled Brotli data through one of these paths: - Enable ASP.NET Core [automatic request decompression](https://learn.microsoft.com/aspnet/core/fundamentals/middleware/request-decompression) with Brotli (`br`) support. - Enable HttpClient automatic response decompression by configuring [HttpClientHandler.AutomaticDecompression](https://learn.microsoft.com/dotnet/api/system.net.http.httpclienthandler.automaticdecompression) or [SocketsHttpHandler.AutomaticDecompression](https://learn.microsoft.com/dotnet/api/system.net.http.socketshttphandler.automaticdecompression) to include [DecompressionMethods.Brotli](https://learn.microsoft.com/dotnet/api/system.net.decompressionmethods) or `DecompressionMethods.All`. - Explicitly use Brotli decompression APIs in `System.IO.Compression`, such as `BrotliStream` or `BrotliDecoder`. Until the update can be deployed, avoid decompressing attacker-controlled Brotli data. The following examples show how to disable Brotli decompression if you are already using it. > **Warning: Do not use these code snippets if you are not already using decompression.** Do not introduce a call to `AddRequestDecompression` if your application does not already call it. Similarly, do not introduce an `AutomaticDecompression` property assignment if your application does not already set that property. Modify only your existing decompression configuration. Enabling automatic decompression can introduce denial-of-service risks even when Brotli is excluded. If you are already using Brotli request decompression in ASP.NET Core, exclude it by removing the `br` entry from your existing decompression configuration. This retains the default gzip and deflate providers: ```csharp builder.Services.AddRequestDecompression(options => { options.DecompressionProviders.Remove("br"); }); ``` If your application already enables HttpClient automatic response decompression, disable Brotli by updating the flags on your existing handler so they do not include `DecompressionMethods.Brotli`: ```csharp var handler = new HttpClientHandler { AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate }; var httpClient = new HttpClient(handler); ``` Applications that directly use Brotli decompression APIs must stop passing untrusted Brotli data to those APIs until updated. Ensure that other application code does not continue to decompress the same untrusted Brotli data. These changes can affect normal request and response handling and should be tested before deployment. Installing the security update remains the recommended fix. ## <a name="affected-packages"></a>Affected Packages The vulnerability affects .NET applications using an affected Brotli decoder in the runtime or NativeAOT
Affected products
- Nuget Microsoft.Dotnet.Ilcompiler: from 8.0.0 before 8.0.33; from 9.0.0 before 9.0.22; from 10.0.0 before 10.0.14; from 11.0.0-preview.1.26104.118 before 11.0.0-rc.3.26522.148; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+62) — fixed in 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Android-Arm: from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148 — fixed in 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Android-Arm64: from 10.0.0 before 10.0.14; from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148; 10.0.0, 10.0.1, 10.0.10, 10.0.11, 10.0.12, 10.0.13 (+8) — fixed in 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Android-X64: from 10.0.0 before 10.0.14; from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148; 10.0.0, 10.0.1, 10.0.10, 10.0.11, 10.0.12, 10.0.13 (+8) — fixed in 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Browser-Wasm: from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148 — fixed in 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Ios-Arm64: from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148 — fixed in 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Iossimulator-Arm64: from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148 — fixed in 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Iossimulator-X64: from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148 — fixed in 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Linux-Arm: from 8.0.0 before 8.0.33; from 9.0.0 before 9.0.22; from 10.0.0 before 10.0.14; from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+62) — fixed in 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Linux-Arm64: from 8.0.0 before 8.0.33; from 9.0.0 before 9.0.22; from 10.0.0 before 10.0.14; from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+62) — fixed in 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Linux-Bionic-Arm64: from 8.0.0 before 8.0.33; from 9.0.0 before 9.0.22; from 10.0.0 before 10.0.14; from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+62) — fixed in 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Linux-Bionic-X64: from 8.0.0 before 8.0.33; from 9.0.0 before 9.0.22; from 10.0.0 before 10.0.14; from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+62) — fixed in 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Linux-Musl-Arm: from 8.0.0 before 8.0.33; from 9.0.0 before 9.0.22; from 10.0.0 before 10.0.14; from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+62) — fixed in 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Linux-Musl-Arm64: from 8.0.0 before 8.0.33; from 9.0.0 before 9.0.22; from 10.0.0 before 10.0.14; from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+62) — fixed in 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Linux-Musl-X64: from 8.0.0 before 8.0.33; from 9.0.0 before 9.0.22; from 10.0.0 before 10.0.14; from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+62) — fixed in 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Linux-X64: from 8.0.0 before 8.0.33; from 9.0.0 before 9.0.22; from 10.0.0 before 10.0.14; from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+62) — fixed in 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Maccatalyst-Arm64: from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148 — fixed in 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Maccatalyst-X64: from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148 — fixed in 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Mono.Android-Arm: from 8.0.0 before 8.0.33; from 9.0.0 before 9.0.22; from 10.0.0 before 10.0.14; from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+62) — fixed in 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Mono.Android-Arm64: from 8.0.0 before 8.0.33; from 9.0.0 before 9.0.22; from 10.0.0 before 10.0.14; from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+62) — fixed in 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Mono.Android-X64: from 8.0.0 before 8.0.33; from 9.0.0 before 9.0.22; from 10.0.0 before 10.0.14; from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+62) — fixed in 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Mono.Android-X86: from 8.0.0 before 8.0.33; from 9.0.0 before 9.0.22; from 10.0.0 before 10.0.14; from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+62) — fixed in 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Mono.Browser-Wasm: from 8.0.0 before 8.0.33; from 9.0.0 before 9.0.22; from 10.0.0 before 10.0.14; from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+62) — fixed in 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Mono.Ios-Arm64: from 8.0.0 before 8.0.33; from 9.0.0 before 9.0.22; from 10.0.0 before 10.0.14; from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+62) — fixed in 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Mono.Iossimulator-Arm64: from 8.0.0 before 8.0.33; from 9.0.0 before 9.0.22; from 10.0.0 before 10.0.14; from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+62) — fixed in 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Mono.Iossimulator-X64: from 8.0.0 before 8.0.33; from 9.0.0 before 9.0.22; from 10.0.0 before 10.0.14; from 11.0.0-preview.1 before 11.0.0-rc.3.26522.148; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+62) — fixed in 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148
- Nuget Microsoft.Netcore.App.Runtime.Mono.Linux-Arm: from 8.0.0 before 8.0.33; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+26) — fixed in 8.0.33
- Nuget Microsoft.Netcore.App.Runtime.Mono.Linux-Arm64: from 8.0.0 before 8.0.33; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+26) — fixed in 8.0.33
- Nuget Microsoft.Netcore.App.Runtime.Mono.Linux-Musl-X64: from 8.0.0 before 8.0.33; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+26) — fixed in 8.0.33
- Nuget Microsoft.Netcore.App.Runtime.Mono.Linux-X64: from 8.0.0 before 8.0.33; 8.0.0, 8.0.1, 8.0.10, 8.0.11, 8.0.12, 8.0.13 (+26) — fixed in 8.0.33
How to fix
Upgrade to a fixed version: Nuget Microsoft.Dotnet.Ilcompiler 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148; Nuget Microsoft.Netcore.App.Runtime.Android-Arm 11.0.0-rc.3.26522.148; Nuget Microsoft.Netcore.App.Runtime.Android-Arm64 10.0.14, 11.0.0-rc.3.26522.148; Nuget Microsoft.Netcore.App.Runtime.Android-X64 10.0.14, 11.0.0-rc.3.26522.148; Nuget Microsoft.Netcore.App.Runtime.Browser-Wasm 11.0.0-rc.3.26522.148; Nuget Microsoft.Netcore.App.Runtime.Ios-Arm64 11.0.0-rc.3.26522.148; Nuget Microsoft.Netcore.App.Runtime.Iossimulator-Arm64 11.0.0-rc.3.26522.148; Nuget Microsoft.Netcore.App.Runtime.Iossimulator-X64 11.0.0-rc.3.26522.148; Nuget Microsoft.Netcore.App.Runtime.Linux-Arm 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148; Nuget Microsoft.Netcore.App.Runtime.Linux-Arm64 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148; Nuget Microsoft.Netcore.App.Runtime.Linux-Bionic-Arm64 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148; Nuget Microsoft.Netcore.App.Runtime.Linux-Bionic-X64 8.0.33, 9.0.22, 10.0.14, 11.0.0-rc.3.26522.148. Check the vendor advisory for mitigations.
References
- https://github.com/dotnet/runtime/security/advisories/GHSA-p3jp-9v83-76w9
- https://github.com/dotnet/announcements/issues/494
- https://github.com/dotnet/runtime/issues/136446
- https://github.com/dotnet/runtime/pull/136471
- https://github.com/dotnet/runtime/commit/f3d8b2f230bc7c9899df6eef2d41e2748107cffa
- https://github.com/dotnet/runtime
Get alerted when GHSA-p3jp-9v83-76w9 or the next vulnerability affects your stack