What to do5 steps
Update bundled Brotli to 1.0.10, 1.1.1 or 1.2.1.
Do this for every program that bundles Brotli 1.0.3 to 1.2.0: move it to a release that ships a fixed version. A system package update does not fix a program with its own copy.
Update the .NET runtime and Brotli4j.
.NET: install runtime 8.0.33, 9.0.22 or 10.0.14. Java: upgrade Brotli4j and every
native-*artifact to 1.24.0.Keep untrusted Brotli data away from unfixed projects.
This applies where a project has no release yet (see the list above). Untrusted data means archives, caches, queue messages and fonts from outside.
Update vendored Brotli source and rebuild.
Only fixed code contains
BROTLI_DECODER_ERROR_FORMAT_BLOCK_SWITCH.Restart processes that still load an old copy.
Find them with
sudo grep -l brotlidec /proc/*/maps 2>/dev/null.
Are you affected?only if all are true
- Any program that decodes untrusted Brotli (archives, caches, queue messages, fonts) with a bundled Brotli 1.0.3 to 1.2.0.
Check your version
- Vendored source: the fixed decoder defines this error code
grep -rl BROTLI_DECODER_ERROR_FORMAT_BLOCK_SWITCH . - .NET
dotnet --list-runtimes - Java (Maven): Brotli4j
mvn dependency:tree -Dincludes=com.aayushatharva.brotli4j - Prompt for your own agent, read-onlyAm I affected by Broccoli2Shell?
Read the prompt
Check whether the systems I am authorized to inspect are affected by Broccoli2Shell (CVE-2026-111497). The Brotli decoder out-of-bounds write in the projects that bundle their own Brotli copy, from the .NET runtime to DuckDB and ClickHouse, several of which were still unfixed days after disclosure. It is exploitable under these conditions: - Any program that decodes untrusted Brotli (archives, caches, queue messages, fonts) with a bundled Brotli 1.0.3 to 1.2.0. Fixed releases: - Google Brotli: 1.0.10 (branch 1.0), 1.1.1 (branch 1.1), 1.2.1 (branch 1.2); before 1.0.3 is not affected - .NET: 8.0.33 (branch 8), 9.0.22 (branch 9), 10.0.14 (branch 10) Runtime versions. .NET Framework is not affected; Brotli decompression is opt-in in .NET. - Brotli4j: 1.24.0 (branch 1.24) Every release up to 1.23.0 is affected. Upgrade every native-* artifact to 1.24.0 too. Commands the catalog lists to find the version or the setting (read each one before you run it): - Vendored source: the fixed decoder defines this error code: grep -rl BROTLI_DECODER_ERROR_FORMAT_BLOCK_SWITCH . - .NET: dotnet --list-runtimes - Java (Maven): Brotli4j: mvn dependency:tree -Dincludes=com.aayushatharva.brotli4j What the catalog says to do on an affected system (report these, do not carry them out): 1. Update bundled Brotli to 1.0.10, 1.1.1 or 1.2.1. 2. Update the .NET runtime and Brotli4j. 3. Keep untrusted Brotli data away from unfixed projects. 4. Update vendored Brotli source and rebuild. 5. Restart processes that still load an old copy. For each host, container image or application, report affected, not affected, fixed or unknown, with the evidence, and list anything you could not access. Work read-only: do not change configuration, restart services or send exploit input. More: https://brotli.2shell.wtf/broccoli2shell
Affected versions7 branches
| Google Brotli branch | Fixed in |
|---|---|
| 1.0 | 1.0.10 |
| 1.1 | 1.1.1 |
| 1.2 | 1.2.1 |
Google Brotli before 1.0.3 is not affected.
| .NET branch | Fixed in |
|---|---|
| 8 | 8.0.33 |
| 9 | 9.0.22 |
| 10 | 10.0.14 |
Runtime versions. .NET Framework is not affected; Brotli decompression is opt-in in .NET.
| Brotli4j branch | Fixed in |
|---|---|
| 1.24 | 1.24.0 |
Every release up to 1.23.0 is affected. Upgrade every native-* artifact to 1.24.0 too.
Proof of concept1 public PoC
For testing systems you own or are authorized to test. A PoC repository can be fake or carry malware: read it before you run it.
- Open the PoC
Public proof of concept on GitHub. The most-starred for this CVE, dimasma0305/CVE-2026-111497-POC, reproduces the decoder overflow from a malformed Brotli stream; its demonstrated code execution is Node-specific and lab-gated, and no PoC native to a bundled copy is popular.
Timeline5 events
Patched
Google Brotli 1.0.10, 1.1.1 and 1.2.1 released
Public PoC
Public proof of concept on GitHub. The most-starred for this CVE, dimasma0305/CVE-2026-111497-POC, reproduces the decoder overflow from a malformed Brotli stream; its demonstrated code execution is Node-specific and lab-gated, and no PoC native to a bundled copy is popular.
Patched
Brotli4j 1.24.0 released
Patched
.NET 8.0.33, 9.0.22 and 10.0.14 released
Added to CISA KEV
Added to CISA Known Exploited Vulnerabilities
Sources7 links
Sources checked on . This page tells you how to check and what to install. It cannot tell you that you are safe.
7 changes since it was published
- Linked the most-starred public proof of concept (shared CVE-2026-111497).
- Remediation steps got short titles; no fact changed.
- Moved the running-process command from the version check to the remediation steps: it finds processes, not a version.
- Updated source links that moved to a new address.
- Added the Cloudflare Zero Wire briefing.
- Added the CISA KEV listing and the .NET and Brotli4j fixes.
- The PyPI packages moved to their own entry, Python2Shell.