🔍 Read the full analysis: From Patch To Verification: Managing The Broccoli2Shell Bug on ThorstenMeyerAI.com
Get business pricing on tech for your team
- Business-only prices and quantity discounts
- Tax-exempt purchasing
- Multiple users, one account, clear invoices
TL;DR
CVE-2026-111497, dubbed Broccoli2Shell, is a memory-corruption flaw in Google’s Brotli decoder that affects multiple runtimes and software packages. Fixes are available for several major products, but some bundled copies remained unpatched as of October 26, 2026; affected running processes need a restart after updating.
Fixes for CVE-2026-111497, a memory-corruption flaw in Google’s Brotli decoder known as Broccoli2Shell, are now available across several runtimes and software packages, but some projects that bundle the decoder were still listed as unfixed on October 26. The issue can affect services and tools that decode crafted Brotli-compressed data, and operators must update and restart affected processes to load a patched decoder.
The flaw affects Google’s Brotli C decoder versions 1.0.3 through 1.2.0. The Node.js advisory describes malformed input that the decoder treated as incomplete rather than invalid. That could cause it to write beyond an internal eight-byte buffer. The CVE record identifies an out-of-bounds write and an unchecked return value. Depending on how an affected application uses the decoder, memory corruption could cause a crash, expose data or potentially enable code execution.
Published fixes include Brotli 1.0.10, 1.1.1 and 1.2.1; Node.js 22.23.4, 24.22.1 and 26.12.1; Python Brotli 1.2.1 and brotlicffi 1.2.1.0; Bun 1.4.4; and several Envoy, Istio, .NET and Debian releases. These are version-specific fixes: operators should check the advisories for the exact product and distribution they run. The source says Node.js 20, 23 and 25 have no fix listed.
Updating a package does not necessarily change code already loaded by a running service. The source advises administrators to restart processes after patching. It also reports that official Node.js builds include their own Brotli copy, while some Linux distributions link Node.js to a system library; the relevant update can therefore depend on how the software was built and deployed.
Infographic 01 · Where Brotli decoding meets untrusted input
One decoder, many doors.
The flaw sits in Google's Brotli C decoder. Every runtime, package and tool that copies it inherits the bug. Three paths bring attacker data to it.
Responses your code fetches
no WAF sees these
- Node.js
fetch()decodes Brotli automatically - Python
requests,urllib3,aiohttp,httpx[brotli], Scrapy, once a Brotli package is installed - Webhooks, link previews, crawlers, “import from URL”
Request bodies you accept
WAF can block br bodies
- Express 5.0.0–5.3.0 and body-parser 2.0.0–2.3.0 inflate Brotli bodies (
json(),raw()) - Upgrading Express alone does not help: the bug is in the runtime
- A bare Node.js HTTP server does not decode bodies on its own
Files you open or process
not only HTTP
- Archives and
.brfiles (7-Zip-zstd, p7zip) - Parquet data files (DuckDB, Apache Arrow bundled build)
- Fonts (woff2), firmware tools (EDK II), JPEG XL via libjxl
Fixed versions
patch, then restart a running process keeps the old decoder
| Component | Fixed in | Note |
|---|---|---|
| Google Brotli (C library) | 1.0.10 · 1.1.1 · 1.2.1 | 1.0.3–1.2.0 |
| Node.js | 22.23.4 · 24.22.1 · 26.12.1 | 20, 23, 25: no fix (end of life) |
Python Brotli / brotlicffi | 1.2.1 / 1.2.1.0 | 1.0.3 up to 1.2.0.x |
| Bun | 1.4.4 | includes Brotli 1.2.1 |
| Envoy Proxy | 1.40.0 · 1.39.3 · 1.38.6 · 1.37.8 | if Brotli decompression is configured |
| Istio | 1.29.9 · 1.30.6 · 1.31.2 | 1.29 is end of life |
| .NET runtime | 8.0.33 · 9.0.22 · 10.0.14 | GitHub source builds still affected |
Debian brotli | bookworm 1.0.9-2+deb12u1 · trixie 1.1.0-2+deb13u1 | DLA 4855-1 · DSA-6582-1 |
Official Node.js builds bundle their own Brotli, so only the Node.js version matters there; some distributions (Debian, Ubuntu 22.04+) build Node.js against the system library instead.
Sources: CVE record (Google CNA, CISA ADP 23 Oct); Node.js (21 Oct 2026); GHSA-9v8h-qqgm-4m35; Brotli releases (21 Oct 2026); Patch the Planet (23 Oct 2026); Imperva (22 Oct 2026); broccoli2shell.com (26 Oct 2026); OpenSourceMalware (23 Oct 2026); Debian tracker; pypistats.org (26 Oct 2026).
Powered by Thorsten Meyer AI
One Decoder, Many Software Stacks
Brotli is used to compress web traffic and other data, so the issue is not limited to a single application or language. The decoder may be reached when software automatically decompresses responses, accepts compressed request bodies, or processes files. The source names Node.js fetch, Python HTTP clients, webhooks, link previews, crawlers and file-handling tools as possible routes, depending on their configuration and installed dependencies.
The practical challenge is the dependency chain: a fix must reach the library, the runtime or package that includes it, the operating-system package or container image, and finally the running process. An application can remain exposed even when its own code has not changed. The source says Express versions 5.0.0 through 5.3.0 and body-parser 2.0.0 through 2.3.0 can inflate Brotli request bodies, but stresses that the vulnerability is in Brotli, not Express; upgrading Express alone does not fix the decoder.
The source cites roughly 83 million downloads of Python’s Brotli package in the month before its October 26 check. That is a package-download count, not a count of affected systems or active installations. It does, however, illustrate why maintainers and operators need to check indirect dependencies rather than relying only on direct application packages.
Products Worth Considering

Logitech MX Ergo S Advanced Wireless Trackball Mouse USB-C – Graphite

Bose QuietComfort True Wireless Earbuds with Active Noise Cancellation, Bluetooth 5.3, USB-C Charging, IPX4, Black

Apple MacBook Air 13.6-inch Laptop with M5 Chip, 16GB Memory, 512GB SSD, Midnight
As an affiliate, we earn on qualifying purchases.
From Source Fix to Security Releases
The source reports that the underlying code change was committed to Brotli on February 27, 2026, under the title “Detect and report invalid stream earlier.” It says the commit did not identify the change as security-related. Releases containing the fix appeared on October 21, a reported interval of 236 days. The flaw became public on October 22, when a proof of concept also appeared, according to the cited tracker.
The wider disclosure has drawn attention to how a small component can be copied into many products. An independent tracker cited by the source lists more than 30 projects or packages with bundled copies. As of October 26, it listed seven such copies as still unfixed, including DuckDB, Apache Arrow’s bundled build, 7-Zip-zstd, p7zip and EDK II firmware tools; five others were reported fixed in their main branches. Main-branch fixes may not yet be available in a released product.
Attribution and risk assessments should be kept distinct. The source says Google’s CVE record rates the issue 9.2, Critical, under CVSS 4.0. It also reports that Imperva ran code on an official Node.js image after several attempts. Those facts do not establish widespread attacks: the cited CISA data says “exploitation: none,” and the CVE was not in CISA’s Known Exploited Vulnerabilities catalog at the time of the report.
““A bigger deal than PHP2Shell””
— Juliano Rizzo, as quoted by broccoli2shell.com
Exposure and Exploitation Status
Known exploitation in the wild was not reported in the CISA data cited by the source as of October 26, and the CVE was not listed in CISA’s Known Exploited Vulnerabilities catalog. That status is time-sensitive and does not prove that no exploitation has occurred. Imperva’s reported code-execution demonstration shows a possible outcome under its test conditions, not evidence that attackers have used the flaw against real systems.
The complete set of affected deployments remains uncertain. Products may ship bundled or system-linked versions, and inventory tools may not identify every copy. The source says a tracker listed seven bundled copies without fixes on October 26, but project status can change and a fix in a main branch is not necessarily present in a released package. The extent of exposure in internet-facing services, and whether any particular deployment is reachable through its use of Brotli, cannot be determined from the source material.
Verify Releases and Restart Services
Operators should identify where Brotli is used directly or through runtimes, packages, operating-system libraries and bundled tools. They should compare installed versions with the relevant vendor or project advisory, apply the available fixed release, rebuild affected images where needed, and restart services and other processes that may still have the old decoder loaded. A direct dependency list may not reveal copies embedded inside other software.
Teams should also track advisories for products that had not released a fix as of October 26, including the bundled copies named by the source. The next useful signals are updated vendor releases, distribution advisories and any change in public exploitation reporting. The available material does not provide a universal deadline or confirm a fix for every affected project.
Key Questions
What is Broccoli2Shell?
Broccoli2Shell is the name used for CVE-2026-111497, a flaw in Google’s Brotli decoder. Malformed compressed input can trigger an out-of-bounds write, according to the cited advisories.
Which versions are reported as fixed?
The source lists Brotli 1.0.10, 1.1.1 and 1.2.1, along with fixes for specific Node.js, Python, Bun, Envoy, Istio, .NET and Debian releases. Check the advisory for the exact product and version in use.
Is the flaw being exploited in real attacks?
The CISA data cited in the October 26 report said “exploitation: none,” and the CVE was not in CISA’s Known Exploited Vulnerabilities catalog. That is a dated status, not proof that exploitation is impossible or has never occurred.
Is updating enough, or must services restart?
The source says a running process can keep using its already-loaded decoder after a package update. Administrators should restart affected processes after installing the applicable fix.
Does upgrading Express fix the vulnerability?
No. The source says some Express and body-parser versions can use Brotli to decompress request bodies, but the flaw is in the decoder. Updating Express alone does not replace a vulnerable Brotli copy.
Source: ThorstenMeyerAI.com
