Summary
| Field | Detail |
|---|---|
| CVE | CVE-2026-111497 — “Broccoli2Shell”; also GHSA-9v8h-qqgm-4m35 |
| Component | Google’s brotli C library, the decoder in c/dec/decode.c; every program that bundles or links it |
| Affected | brotli 1.0.3 through 1.2.0; fixed in 1.0.10, 1.1.1, and 1.2.1, all released 2026-10-21 |
| Mechanism | A crafted stream requests an impossible block switch; the decoder reports it as “need more input” instead of a format error and keeps writing input bytes past an eight-byte internal buffer |
| Impact | Memory corruption in the decoding process: crash, memory disclosure, or code execution, from any attacker-supplied brotli data — an HTTP body with Content-Encoding: br, a WOFF2 font, an archive |
| Severity | 9.2 critical (CVSS 4.0, Google as CNA); NVD scores it 9.8 critical (CVSS 3.1) as its own primary rating; Red Hat rates it 8.1 important (CVSS 3.1, attack complexity high) |
| Weaknesses | CWE-787 (out-of-bounds write), CWE-252 (unchecked return value) |
| Who is exposed | Anything decoding untrusted brotli: Node.js (zlib, fetch(), HTTP servers accepting br bodies), Python HTTP clients with the Brotli or brotlicffi package installed, the PHP brotli extension, FreeType’s WOFF2 loader, archivers |
| Credit | OpenAI Codex Security (Khai Tran and Sylvie Mayer), reported through Node.js; exploitation research by the Imperva Red Team (Ron Masas) |
| Disclosed | 2026-10-21, with the Node.js security releases; CVE record and advisory published 2026-10-22 |
| KEV listed | yes — added to CISA’s KEV catalog 2026-10-27, action due 2026-11-10 |
| Public exploit | A public proof of concept crashes or leaks memory on standard builds; Imperva reports code execution on an unmodified Node.js 24.22.0 but has not released it. CISA lists the bug in its Known Exploited Vulnerabilities catalog as “Google Brotli Unchecked Return Value Vulnerability”; its SSVC assessment (2026-10-23) now reads exploitation active, not automatable, technical impact total |
| EPSS | 0.9999 (99.983th percentile), scored 2026-12-04 |
| Related | broccoli2shell.com keeps the catalogue of bundling software beyond this tracker’s scope (DuckDB, Apache Arrow, 7-Zip forks, EDK II, .NET, MuPDF, ClickHouse, and more) |
Advisories
Google, the brotli upstream, is the CNA. The CVE record gives the ranges below; the Node.js advisory and the GitHub advisory carry the same facts for the bindings.
| Package | Vulnerable | Fixed in | Source |
|---|---|---|---|
| brotli (C library) | 1.0.3 – 1.0.9, 1.1.0, 1.2.0 | 1.0.10, 1.1.1, 1.2.1 | CVE record, releases |
| Node.js 26 / 24 / 22 | below the fixed release | 26.12.1 / 24.22.1 / 22.23.4 | Node.js advisory |
PHP brotli extension | bundles brotli through 0.21.0 | 0.21.1 | php-ext-brotli 0.21.1 |
Python Brotli | 1.0.3 – 1.2.0 | 1.2.1 | GHSA-9v8h-qqgm-4m35 |
Python brotlicffi | 1.0.3 – 1.2.0.2 | 1.2.1.0 | GHSA-9v8h-qqgm-4m35 |
The fix is upstream commit 0ed4268 (“return a hard
error on an invalid block switch”), which adds the
BROTLI_DECODER_ERROR_FORMAT_BLOCK_SWITCH error code; the three
releases carry it with its follow-ups. Node.js lines 25, 23, 20, and
older are end-of-life and get no fix.
Patch status
A row is Fixed once the brotli decoder its build runs carries
the fix: brotli 1.0.10 / 1.1.1 / 1.2.1 or later, a distribution
package with the patch backported, or, for software bundling its own
copy, a release built from a fixed brotli. A package that links the
system libbrotli is fixed when that library is: its row says via
brotli, carries the library row’s verdict and date, and has no
first fixed build of its own (N/A) — unless the package was fixed
by its own release before it began linking the library, in which
case the row keeps that build and its date.
Current version is what the release ships today; First fixed is the first build that carried the fix, and Fixed since the date it became available. Where a vulnerable row’s threshold differs from the group’s, the Status note names it.
| Distribution | Package | Current version | First fixed | Fixed since | Status |
|---|---|---|---|---|---|
| brotli | 1.2.x | 1.2.1 | 1.2.1 | 2026-10-21 | ✅ Fixed |
| brotli | 1.1.x | 1.1.1 | 1.1.1 | 2026-10-21 | ✅ Fixed |
| brotli | 1.0.x | 1.0.10 | 1.0.10 | 2026-10-21 | ✅ Fixed |
| Node.js | 26.x | 26.14.0 | 26.12.1 | 2026-10-21 | ✅ Fixed |
| Node.js | 24.x | 24.23.0 | 24.22.1 | 2026-10-21 | ✅ Fixed |
| Node.js | 22.x | 22.23.5 | 22.23.4 | 2026-10-21 | ✅ Fixed |
| PHP | brotli extension (PECL) | 0.21.1 | 0.21.1 | 2026-10-24 | ✅ Fixed |
| Python | Brotli (PyPI) | 1.2.1 | 1.2.1 | 2026-10-22 | ✅ Fixed |
| Python | brotlicffi (PyPI) | 1.2.1.0 | 1.2.1.0 | 2026-10-22 | ✅ Fixed |
| Debian sid (unstable) | brotli | 1.2.1-1 | 1.2.0-4.1 | 2026-10-25 | ✅ Fixed |
| Debian sid (unstable) | nodejs | 24.22.3+dfsg+~cs24.19.2-2 | 24.22.1+dfsg+~cs24.19.2-1 | 2026-10-27 | ✅ Fixed |
| Debian sid (unstable) | python-brotlicffi | 1.2.1.0+ds-1 | 1.2.1.0+ds-1 | 2026-10-25 | ✅ Fixed |
| Debian sid (unstable) | python3-brotli | 1.2.1-1 | N/A | 2026-10-25 | ✅ Fixed — via brotli |
| Debian forky (testing) | brotli | 1.2.1-1 | 1.2.0-4.1 | 2026-11-04 | ✅ Fixed |
| Debian forky (testing) | nodejs | 24.22.2+dfsg+~cs24.19.2-1 | 24.22.2+dfsg+~cs24.19.2-1 | 2026-11-10 | ✅ Fixed |
| Debian forky (testing) | python-brotlicffi | 1.2.1.0+ds-1 | 1.2.1.0+ds-1 | 2026-10-29 | ✅ Fixed |
| Debian forky (testing) | python3-brotli | 1.2.1-1 | N/A | 2026-11-04 | ✅ Fixed — via brotli |
| Debian 13 (trixie) | brotli | 1.1.0-2+deb13u1 | 1.1.0-2+deb13u1 | 2026-10-23 | ✅ Fixed — DSA-6582-1 |
| Debian 13 (trixie) | nodejs | 20.19.2+dfsg-1+deb13u3 | — | — | ❌ Vulnerable |
| Debian 13 (trixie) | python-brotlicffi | 1.1.0.0+ds1-1 | — | — | ❌ Vulnerable |
| Debian 13 (trixie) | python3-brotli | 1.1.0-2+deb13u1 | N/A | 2026-10-23 | ✅ Fixed — via brotli |
| Debian 12 (bookworm) | brotli | 1.0.9-2+deb12u1 | 1.0.9-2+deb12u1 | 2026-10-23 | ✅ Fixed — DLA-4855-1 |
| Debian 12 (bookworm) | nodejs | 18.20.4+dfsg-1~deb12u3 | — | — | ❌ Vulnerable |
| Debian 12 (bookworm) | python3-brotli | 1.0.9-2+deb12u1 | N/A | 2026-10-23 | ✅ Fixed — via brotli |
FreeBSD ports main | brotli | 1.2.1_2,1 | 1.2.1,1 | 2026-10-23 | ✅ Fixed |
FreeBSD ports main | node22 | 22.23.5 | 22.23.4 | 2026-10-25 | ✅ Fixed |
FreeBSD ports main | node24 | 24.23.0 | 24.22.1 | 2026-10-25 | ✅ Fixed |
FreeBSD ports main | node26 | 26.14.0 | 26.12.1 | 2026-10-25 | ✅ Fixed |
FreeBSD ports main | php-brotli | 0.21.0 | N/A | 2026-10-23 | ✅ Fixed — via brotli |
FreeBSD ports main | py-brotli | 1.2.1_1 | N/A | 2026-10-23 | ✅ Fixed — via brotli |
FreeBSD ports main | py-brotlicffi | 1.2.1.0 | N/A | 2026-10-23 | ✅ Fixed — via brotli |
FreeBSD ports 2026Q4 | brotli | 1.2.1_1,1 | 1.2.1,1 | 2026-10-23 | ✅ Fixed |
FreeBSD ports 2026Q4 | node22 | 22.23.5 | 22.23.4 | 2026-10-25 | ✅ Fixed |
FreeBSD ports 2026Q4 | node24 | 24.22.3 | 24.22.1 | 2026-10-25 | ✅ Fixed |
FreeBSD ports 2026Q4 | node26 | 26.13.1 | 26.12.1 | 2026-10-25 | ✅ Fixed |
FreeBSD ports 2026Q4 | php-brotli | 0.21.0 | N/A | 2026-10-23 | ✅ Fixed — via brotli |
FreeBSD ports 2026Q4 | py-brotli | 1.2.1_1 | N/A | 2026-10-23 | ✅ Fixed — via brotli |
FreeBSD ports 2026Q4 | py-brotlicffi | 1.2.1.0 | N/A | 2026-10-23 | ✅ Fixed — via brotli |
NetBSD -current | brotli (xsrc) | 1.2.1 | 1.2.1 | 2026-10-28 | ✅ Fixed |
NetBSD 11 (netbsd-11) | brotli (xsrc) | 1.2.1 | 1.2.1 | 2026-10-29 | ✅ Fixed |
NetBSD 10 (netbsd-10) | brotli (xsrc) | — | — | — | ➖ Not affected — no brotli in xsrc |
NixOS nixos-unstable | brotli | 1.2.1 | 1.2.1 | 2026-11-08 | ✅ Fixed |
NixOS nixos-unstable | nodejs_22 | 22.23.5 | 22.23.4 | 2026-10-24 | ✅ Fixed |
NixOS nixos-unstable | nodejs_24 | 24.22.3 | 24.22.1 | 2026-11-08 | ✅ Fixed |
NixOS nixos-unstable | nodejs_26 | 26.14.0 | 26.12.1 | 2026-10-24 | ✅ Fixed |
NixOS nixos-unstable | python3Packages.brotli | 1.2.1 | N/A | 2026-11-08 | ✅ Fixed — via brotli |
NixOS nixos-unstable | python3Packages.brotlicffi | 1.2.1.0 | N/A | 2026-11-08 | ✅ Fixed — via brotli |
NixOS nixos-unstable-small | brotli | 1.2.1 | 1.2.1 | 2026-11-07 | ✅ Fixed |
NixOS nixos-unstable-small | nodejs_22 | 22.23.5 | 22.23.4 | 2026-10-21 | ✅ Fixed |
NixOS nixos-unstable-small | nodejs_24 | 24.22.3 | 24.22.1 | 2026-11-07 | ✅ Fixed |
NixOS nixos-unstable-small | nodejs_26 | 26.14.0 | 26.12.1 | 2026-10-21 | ✅ Fixed |
NixOS nixos-unstable-small | python3Packages.brotli | 1.2.1 | N/A | 2026-11-07 | ✅ Fixed — via brotli |
NixOS nixos-unstable-small | python3Packages.brotlicffi | 1.2.1.0 | N/A | 2026-11-07 | ✅ Fixed — via brotli |
NixOS nixos-26.11 | brotli | 1.2.1 | 1.2.1 | — | ✅ Fixed — from its first release |
NixOS nixos-26.11 | nodejs_22 | 22.23.5 | 22.23.5 | — | ✅ Fixed — from its first release |
NixOS nixos-26.11 | nodejs_24 | 24.22.3 | 24.22.3 | — | ✅ Fixed — from its first release |
NixOS nixos-26.11 | nodejs_26 | 26.14.0 | 26.13.1 | — | ✅ Fixed — from its first release |
NixOS nixos-26.11 | python3Packages.brotli | 1.2.1 | N/A | — | ✅ Fixed — via brotli |
NixOS nixos-26.11 | python3Packages.brotlicffi | 1.2.1.0 | N/A | — | ✅ Fixed — via brotli |
NixOS nixos-26.11-small | brotli | 1.2.1 | 1.2.1 | — | ✅ Fixed — from its first release |
NixOS nixos-26.11-small | nodejs_22 | 22.23.5 | 22.23.5 | — | ✅ Fixed — from its first release |
NixOS nixos-26.11-small | nodejs_24 | 24.22.3 | 24.22.3 | — | ✅ Fixed — from its first release |
NixOS nixos-26.11-small | nodejs_26 | 26.14.0 | 26.13.1 | — | ✅ Fixed — from its first release |
NixOS nixos-26.11-small | python3Packages.brotli | 1.2.1 | N/A | — | ✅ Fixed — via brotli |
NixOS nixos-26.11-small | python3Packages.brotlicffi | 1.2.1.0 | N/A | — | ✅ Fixed — via brotli |
NixOS nixos-26.05 | brotli | 1.2.1 | 1.2.1 | 2026-10-28 | ✅ Fixed |
NixOS nixos-26.05 | nodejs_22 | 22.23.5 | 22.23.4 | 2026-10-22 | ✅ Fixed |
NixOS nixos-26.05 | nodejs_24 | 24.22.3 | 24.22.1 | 2026-10-28 | ✅ Fixed |
NixOS nixos-26.05 | nodejs_26 | 26.14.0 | 26.12.1 | 2026-10-22 | ✅ Fixed |
NixOS nixos-26.05 | python3Packages.brotli | 1.2.1 | N/A | 2026-10-28 | ✅ Fixed — via brotli |
NixOS nixos-26.05 | python3Packages.brotlicffi | 1.2.0.0 | N/A | 2026-10-28 | ✅ Fixed — via brotli |
NixOS nixos-26.05-small | brotli | 1.2.1 | 1.2.1 | 2026-10-28 | ✅ Fixed |
NixOS nixos-26.05-small | nodejs_22 | 22.23.5 | 22.23.4 | 2026-10-21 | ✅ Fixed |
NixOS nixos-26.05-small | nodejs_24 | 24.22.3 | 24.22.1 | 2026-10-28 | ✅ Fixed |
NixOS nixos-26.05-small | nodejs_26 | 26.14.0 | 26.12.1 | 2026-10-21 | ✅ Fixed |
NixOS nixos-26.05-small | python3Packages.brotli | 1.2.1 | N/A | 2026-10-28 | ✅ Fixed — via brotli |
NixOS nixos-26.05-small | python3Packages.brotlicffi | 1.2.0.0 | N/A | 2026-10-28 | ✅ Fixed — via brotli |
nixpkgs master branch | brotli | 1.2.1 | 1.2.1 | 2026-11-07 | ✅ Fixed |
nixpkgs master branch | nodejs_22 | 22.23.5 | 22.23.4 | 2026-10-21 | ✅ Fixed |
nixpkgs master branch | nodejs_24 | 24.22.3 | 24.22.1 | 2026-11-07 | ✅ Fixed |
nixpkgs master branch | nodejs_26 | 26.14.0 | 26.12.1 | 2026-10-21 | ✅ Fixed |
nixpkgs master branch | python3Packages.brotli | 1.2.1 | N/A | 2026-11-07 | ✅ Fixed — via brotli |
nixpkgs master branch | python3Packages.brotlicffi | 1.2.1.0 | N/A | 2026-11-07 | ✅ Fixed — via brotli |
nixpkgs release-26.11 branch | brotli | 1.2.1 | 1.2.1 | — | ✅ Fixed — since the branch was cut |
nixpkgs release-26.11 branch | nodejs_22 | 22.23.5 | 22.23.5 | — | ✅ Fixed — since the branch was cut |
nixpkgs release-26.11 branch | nodejs_24 | 24.22.3 | 24.22.3 | — | ✅ Fixed — since the branch was cut |
nixpkgs release-26.11 branch | nodejs_26 | 26.14.0 | 26.13.1 | — | ✅ Fixed — since the branch was cut |
nixpkgs release-26.11 branch | python3Packages.brotli | 1.2.1 | N/A | — | ✅ Fixed — via brotli |
nixpkgs release-26.11 branch | python3Packages.brotlicffi | 1.2.1.0 | N/A | — | ✅ Fixed — via brotli |
nixpkgs release-26.05 branch | brotli | 1.2.1 | 1.2.1 | 2026-10-28 | ✅ Fixed |
nixpkgs release-26.05 branch | nodejs_22 | 22.23.5 | 22.23.4 | 2026-10-21 | ✅ Fixed |
nixpkgs release-26.05 branch | nodejs_24 | 24.22.3 | 24.22.1 | 2026-10-28 | ✅ Fixed |
nixpkgs release-26.05 branch | nodejs_26 | 26.14.0 | 26.12.1 | 2026-10-21 | ✅ Fixed |
nixpkgs release-26.05 branch | python3Packages.brotli | 1.2.1 | N/A | 2026-10-28 | ✅ Fixed — via brotli |
nixpkgs release-26.05 branch | python3Packages.brotlicffi | 1.2.0.0 | N/A | 2026-10-28 | ✅ Fixed — via brotli |
nixpkgs nixpkgs-unstable | brotli | 1.2.1 | 1.2.1 | 2026-11-12 | ✅ Fixed — channel for non-NixOS Nix users |
nixpkgs nixpkgs-unstable | nodejs_22 | 22.23.5 | 22.23.4 | 2026-10-24 | ✅ Fixed |
nixpkgs nixpkgs-unstable | nodejs_24 | 24.22.3 | 24.22.1 | 2026-11-12 | ✅ Fixed |
nixpkgs nixpkgs-unstable | nodejs_26 | 26.14.0 | 26.12.1 | 2026-10-24 | ✅ Fixed |
nixpkgs nixpkgs-unstable | python3Packages.brotli | 1.2.1 | N/A | 2026-11-12 | ✅ Fixed — via brotli |
nixpkgs nixpkgs-unstable | python3Packages.brotlicffi | 1.2.1.0 | N/A | 2026-11-12 | ✅ Fixed — via brotli |
OpenBSD ports -current | brotli | 1.2.1 | 1.2.1 | 2026-10-23 | ✅ Fixed |
OpenBSD ports -current | node | 24.23.0v0 | 24.22.1v0 | 2026-10-21 | ✅ Fixed |
OpenBSD ports -current | py-brotli | 1.2.1 | 1.2.1 | 2026-10-23 | ✅ Fixed |
OpenBSD ports -current | py-brotlicffi | 1.2.1.0 | 1.2.1.0 | 2026-10-23 | ✅ Fixed |
OpenBSD ports 8.0 -stable | brotli | 1.2.1 | 1.2.1 | 2026-10-27 | ✅ Fixed |
OpenBSD ports 8.0 -stable | node | 24.22.3v0 | 24.22.1v0 | 2026-10-27 | ✅ Fixed |
OpenBSD ports 8.0 -stable | py-brotli | 1.2.1 | 1.2.1 | 2026-10-27 | ✅ Fixed |
OpenBSD ports 8.0 -stable | py-brotlicffi | 1.2.1.0 | 1.2.1.0 | 2026-10-27 | ✅ Fixed |
pkgsrc pkgsrc-current | brotli | brotli-1.2.1 | brotli-1.2.1 | 2026-10-22 | ✅ Fixed |
pkgsrc pkgsrc-current | nodejs | nodejs-26.14.0 | N/A | 2026-10-22 | ✅ Fixed — via brotli |
pkgsrc pkgsrc-current | nodejs22 | nodejs-22.23.5 | N/A | 2026-10-22 | ✅ Fixed — via brotli |
pkgsrc pkgsrc-current | nodejs24 | nodejs-24.23.0 | N/A | 2026-10-22 | ✅ Fixed — via brotli |
pkgsrc pkgsrc-current | py-brotli | py314-brotli-1.2.1nb1 | py313-brotli-1.2.1 | 2026-10-22 | ✅ Fixed — via brotli |
pkgsrc pkgsrc-current | py-brotlicffi | py314-brotlicffi-1.2.1.0nb1 | N/A | 2026-10-22 | ✅ Fixed — via brotli |
pkgsrc pkgsrc-2026Q3 | brotli | brotli-1.2.1 | brotli-1.2.1 | 2026-10-25 | ✅ Fixed — pullup #7322 |
pkgsrc pkgsrc-2026Q3 | nodejs | nodejs-26.12.1 | N/A | 2026-10-25 | ✅ Fixed — via brotli |
pkgsrc pkgsrc-2026Q3 | nodejs22 | nodejs-22.23.4 | N/A | 2026-10-25 | ✅ Fixed — via brotli |
pkgsrc pkgsrc-2026Q3 | nodejs24 | nodejs-24.22.1 | N/A | 2026-10-25 | ✅ Fixed — via brotli |
pkgsrc pkgsrc-2026Q3 | py-brotli | py313-brotli-1.2.0 | — | — | ❌ Vulnerable — bundles 1.2.0 |
pkgsrc pkgsrc-2026Q3 | py-brotlicffi | py313-brotlicffi-1.2.0.2 | N/A | 2026-10-25 | ✅ Fixed — via brotli |
| Rocky Linux 10 | brotli | 1.1.0-8.el10_2.1 | 1.1.0-8.el10_2.1 | 2026-10-26 | ✅ Fixed — RHSA-2026:90449 |
| Rocky Linux 10 | nodejs | 22.23.5-1.el10_3 | N/A | 2026-10-26 | ✅ Fixed — via brotli |
| Rocky Linux 10 | nodejs24 | 24.22.3-1.el10_3 | N/A | 2026-10-26 | ✅ Fixed — via brotli |
| Rocky Linux 10 | nodejs26 | 26.13.1-1.el10_3 | N/A | 2026-10-26 | ✅ Fixed — via brotli |
| Rocky Linux 10 | python3-brotli | 1.1.0-8.el10_2.1 | N/A | 2026-10-26 | ✅ Fixed — via brotli |
| Rocky Linux 9 | brotli | 1.0.9-10.el9_8.1 | 1.0.9-10.el9_8.1 | 2026-10-27 | ✅ Fixed — RHSA-2026:90495 |
| Rocky Linux 9 | nodejs:22 | 22.23.5-1.module+el9.9.0+40519+47aaae31 | N/A | 2026-10-27 | ✅ Fixed — via brotli |
| Rocky Linux 9 | nodejs:24 | 24.22.3-1.module+el9.9.0+40520+184a53fb | 24.22.1-3.module+el9.8.0+40401+e24b8c95 | 2026-10-29 | ✅ Fixed — RHSA-2026:92378 |
| Rocky Linux 9 | nodejs:26 | 26.13.1-1.module+el9.9.0+40521+c9da606b | 26.12.1-2.module+el9.9.0+40425+093712cc | 2026-11-12 | ✅ Fixed — RHSA-2026:98522 |
| Rocky Linux 9 | python3-brotli | 1.0.9-10.el9_8.1 | N/A | 2026-10-27 | ✅ Fixed — via brotli |
| Rocky Linux 8 | brotli | 1.0.6-5.el8_10 | 1.0.6-5.el8_10 | 2026-10-27 | ✅ Fixed — RHSA-2026:90501 |
| Rocky Linux 8 | nodejs:22 | 22.23.5-1.module+el8.10.0+40513+6855c841 | N/A | 2026-10-27 | ✅ Fixed — via brotli |
| Rocky Linux 8 | nodejs:24 | 24.22.3-1.module+el8.10.0+40511+ed32f4d7 | 24.22.1-1.module+el8.10.0+40400+ee85ddea | 2026-10-29 | ✅ Fixed — RHSA-2026:92376 |
| Rocky Linux 8 | python3-brotli | 1.0.6-5.el8_10 | N/A | 2026-10-27 | ✅ Fixed — via brotli |
brotli
Google fixed all three maintained series on the same day, each as a patch release on its last version, so a host building brotli from source has a fixed release whichever series it tracks. The same commit applies cleanly to 1.0.9, which is what the distribution backports carry.
Node.js
Node.js bundles brotli and decodes it in node:zlib, in fetch()
responses, and in HTTP servers that accept br-encoded bodies
(Express 5 and body-parser 2 do so by default). The three
maintained lines were fixed together with nine other CVEs in the
October 2026 security releases; the end-of-life lines get nothing.
Distribution builds differ: a Node.js linked against the system
libbrotli is fixed when that library is, while a build bundling
its own copy needs the Node.js update or a patch of its own.
Python and PHP
The Brotli wheel on PyPI bundles the C library; brotlicffi
bundles it too unless built with USE_SHARED_BROTLI. Both are
picked up automatically by urllib3, requests, aiohttp, and
httpx when installed, so a Python service decodes attacker-chosen
br responses with whichever copy it has.
The PHP brotli extension (kjdev/php-ext-brotli) bundles brotli
unless built --with-libbrotli; 0.21.1 updates the bundled copy to
1.2.1. Of the tracked distributions only FreeBSD ports packages it;
elsewhere a PHP host has it from PECL or its own build.
Debian
The Debian security tracker is the authoritative
source for per-suite status. sid and forky now carry fixed builds of
brotli, nodejs, and python-brotlicffi alike — forky’s nodejs
migrated straight from a later sid upload, skipping the one that
first carried the fix. trixie and bookworm have only their brotli
fixed, each by a security upload.
Debian’s nodejs links the system libbrotli, yet the Debian
tracker lists it separately and keeps it vulnerable on suites whose
library is fixed, since Node.js also needs its own error-code
definition: trixie and bookworm both still wait on a nodejs
security upload of their own. python-brotlicffi likewise tracks its
own release schedule rather than following brotli: fixed on sid and
forky, still vulnerable on trixie despite trixie’s brotli already
being fixed.
bookworm has no python-brotlicffi package.
FreeBSD ports
FreeBSD’s base system has no brotli (its OpenSSL is built without
brotli compression), so exposure comes through ports. The
archivers/brotli port and the three Node.js ports were updated on
main and merged to the 2026Q4 quarterly branch the same day.
Every other port here links the system library and is fixed with it.
The rows read the ports tree. Binary packages lag it: the latest
package set still carried brotli-1.2.0,1 on 2026-10-27, and
pkg audit flags it. A host on binary packages is fixed once its
package set rebuilds, not when the tree does.
NetBSD
NetBSD ships no brotli package in the base system. Its X11 sources
(xsrc) carry a vendor import of brotli, and the build compiles the
decoder straight into libfreetype, where it decodes WOFF2 fonts.
There is no libbrotli on a NetBSD host and no package version to
check outside pkgsrc: a branch is fixed once its xsrc import carries
the fix.
-currentandnetbsd-11both replaced their old import outright with a fixed release, rather than taking the patch alone.netbsd-10predates the import: its xsrc has no brotli, and NetBSD 10 is not affected through the base system.
A NetBSD host that installs brotli, Node.js, or the Python bindings from pkgsrc is covered by the pkgsrc rows.
NixOS
nixpkgs builds brotli from pkgs/by-name/br/brotli/package.nix. The
fix has landed on master and on both release branches,
release-26.05 and release-26.11 — the latter cut 2026-11-24 after
master already carried the fix, so it inherited the fix rather than
needing a bump of its own. Every tracked channel built from these
branches, including nixos-26.11 itself, has published a release
carrying the fixed library.
Node.js in nixpkgs builds with a shared brotli, so the bundled copy
does not help; instead nodejs_22 and nodejs_26 override their
brotli with the upstream fix patch, committed with the 22.23.4 and
26.12.1 bumps. nodejs_24 takes the plain brotli, so it is fixed
wherever that library now is — every tracked channel and branch.
nixpkgs-unstable is the channel for Nix users outside NixOS — on
macOS or another Linux distribution. A channel row’s Fixed since is
the date that channel published its first release containing the
fix; a branch row’s is the date the fix was merged into that branch,
or, for a branch that inherited the fix at a later cut
(release-26.11), the date of the cut.
Flake users
A flake input such as github:NixOS/nixpkgs/nixos-unstable follows
the branch of that name, which moves with the channel — so the
channel’s row answers for it. An input on master, release-26.05,
or release-26.11 gets the fix as soon as it lands there, before any
channel publishes it.
OpenBSD ports
OpenBSD’s base system and xenocara have no brotli, so exposure
comes through packages. The -current ports tree updated
archivers/brotli, lang/node, archivers/py-brotli, and
archivers/py-brotlicffi within two days of the disclosure; the
8.0 -stable branch received the same four, and the
packages-stable set built from it followed. All four ports bundle
the library, so each needed an update of its own.
The 8.0 release package set (brotli-1.2.0, node-24.21.0v0,
py3-brotli-1.2.0, py3-brotlicffi-1.2.0.1p0) is vulnerable; a
host on 8.0 gets the fix with pkg_add -u from packages-stable.
pkgsrc
The pkgsrc tree (NetBSD’s package collection, also used on SmartOS,
macOS via pkgin, and elsewhere) updated archivers/brotli on
pkgsrc-current and pulled it up to pkgsrc-2026Q3 together with
the three Node.js updates.
archivers/py-brotli used to bundle its own copy of the library,
and pkgsrc-current fixed it with an update of its own. The package
there has since switched to linking the system library, so it now
follows brotli’s verdict, the same as py-brotlicffi does.
pkgsrc-2026Q3 still carries the old package, bundling 1.2.0, which
the quarterly pullup did not touch.
The py314- or py313- prefix is the branch’s default Python; a
host on another Python prints the matching prefix. pkgsrc-current
moved its default to 3.14 after py-brotli was fixed there, which
is why that row’s first fixed build still reads py313-. An nbN
suffix is a package
revision and says nothing about this bug on its own.
Rocky Linux
Rocky Linux rebuilds RHEL, so it cannot ship a fix before Red Hat does. Red Hat released brotli errata for all three releases on 2026-10-26 (RHSA-2026:90449 for 10, RHSA-2026:90495 for 9, RHSA-2026:90501 for 8); Rocky published the 10 rebuild the same day and the 9 and 8 rebuilds on 2026-10-27.
The Node.js packages split by how they get brotli, which is also how Red Hat’s assessment lists them:
- A Node.js build that links the system
libbrotliis fixed with the library; Red Hat lists those as not affected in their own right, since they need no errata of their own. nodejs:24on 9 and 8 bundles its own brotli. Red Hat’s errata (RHSA-2026:92378 for 9, RHSA-2026:92376 for 8) and Rocky’s rebuilds both landed on 2026-10-29.- Rocky 10 now packages
nodejs26; it links the systemlibbrotlilike the release’s other Node.js packages and is fixed with it. - Rocky 9 now packages a
nodejs:26stream too, but it bundles its own brotli likenodejs:24does: Red Hat’s errata (RHSA-2026:98522) and Rocky’s rebuild both carry the fix, and Rocky’s AppStream mirror has published the rebuilt NVR. - The
nodejs:18andnodejs:20streams are past their retirement dates and get no updates; a host on them should move to 22 or 24.
Rocky packages no PHP brotli extension.
Detection
First check the library version. A brotli at or past 1.0.10, 1.1.1, or 1.2.1 is fixed; a distribution build is fixed only once the table above says so.
brotli --version
On Debian, the installed library package version is what to compare against the table:
dpkg-query -W -f='${Version}\n' libbrotli1
On Rocky Linux:
rpm -q libbrotli
On pkgsrc, where the identifier carries an nb<PKGREVISION> suffix
when one is set:
pkg_info -e brotli
On FreeBSD, where pkg audit also reports the vulnerable package by
name:
pkg info brotli
On OpenBSD:
pkg_info brotli
On NetBSD the base system has no brotli package; the X11 set’s
FreeType carries the decoder, and the fix shows in xsrc as the
BROTLI_DECODER_ERROR_FORMAT_BLOCK_SWITCH error code. Check which
xsrc built the running system:
uname -v
Software that bundles its own copy needs its own check. Node.js reports the bundled brotli version:
node -p process.versions.brotli
A Node.js built with a shared brotli (Debian, pkgsrc, FreeBSD,
Rocky’s nodejs:22) prints the system library’s version there. The
Python packages:
python3 -c 'import brotli; print(brotli.__version__)'
python3 -c 'import brotlicffi; print(brotlicffi.__version__)'
The PHP extension:
php --ri brotli
Mitigation
The real fix is a fixed brotli, or a fixed release of whatever bundles it, and a restart of every process that had the old library loaded. Node.js lists no workaround. Until a fixed build is installed:
- A reverse proxy or WAF that strips
Content-Encoding: brfrom request bodies, andbrfrom theAccept-Encodinga backend sends upstream, keeps attacker-supplied brotli away from a Node.js or Python service — at the cost of brotli compression. - A Python service that does not need brotli can uninstall the
Brotliandbrotlicffipackages; the HTTP clients then stop advertisingbr. - Nothing short of the fix protects a decoder that must accept arbitrary brotli data, such as an archiver or a font loader.
A configuration change does not change a row’s status above: only a fixed brotli does.
Verification log
Every verdict in the table above is backed by a checkable source. This log records the provenance — the advisory, repository index, or git reference that established each fact — so any row can be audited or reproduced. Most readers never need it.
Full verification log
Upstream
- brotli releases (the GitHub releases API):
- v1.0.10, v1.1.1, and v1.2.1 published 2026-10-21, each with the one-line note “SECURITY: CVE-2026-111497: out-of-bounds write permits remote code execution” — the upstream rows’ Fixed since.
- Current version per series is the newest tag in that series.
- CVE record (the CVE Services API, Google as CNA):
- Published 2026-10-22; affected ranges 1.0.3 to before 1.0.10, 1.1.0 to before 1.1.1, 1.2.0 to before 1.2.1.
- CVSS 4.0 9.2 critical; CWE-787 and CWE-252.
- CISA ADP (SSVC, timestamped 2026-10-23): exploitation active, automatable no, technical impact total.
- Credit: “OpenAI Codex Security - Khai Tran and Sylvie Mayer”.
- NVD (the NVD 2.0 API — the web pages render only through
JavaScript):
- Status “Analyzed”; CVSS 3.1 9.8 critical is NVD’s own primary score, alongside a mirrored copy of the CNA’s CVSS 4.0 score and SSVC assessment.
cisaExploitAdd2026-10-27,cisaActionDue2026-11-10, named “Google Brotli Unchecked Return Value Vulnerability” — the KEV listing in the Summary.
- Red Hat (the hydra CVE JSON):
- Rates the issue Important, CVSS 3.1 8.1 with attack complexity high, citing the CNA’s attack-requirements metric.
- EPSS (via the FIRST API):
- 0.99987, 99.983th percentile, dated 2026-12-01.
- broccoli2shell.com (site; not refreshed by the routine
run):
- Read on 2026-10-27, when the page said it was last updated 2026-10-26.
- Mechanism, timeline, and the bundling-software catalogue the Summary cites; the public PoC and the Imperva result are as it reports them.
- Names Express 5.0.0–5.3.0 and body-parser 2.0.0–2.3.0 as
exposure paths that decode
brrequest bodies by default.
- Node.js (the October 2026 security releases):
- 22.23.4, 24.22.1, and 26.12.1 released 2026-10-21; the advisory rates CVE-2026-111497 high and names lines 22, 24, and 26.
- The same releases close nine other CVEs (CVE-2026-105481, 105482, 105483, 106069, 106070, 106071, 106072, 106073, 106074).
- Current version per line is the newest release of that line, from the GitHub releases API.
- PHP extension (the GitHub releases API for
kjdev/php-ext-brotli):- 0.21.1 published 2026-10-24, bundling brotli 1.2.1.
- Python bindings (PyPI’s JSON API):
Brotli1.2.1 uploaded 2026-10-22;brotlicffi1.2.1.0 uploaded 2026-10-22 (its changelog dates it 2026-10-21).- The GitHub advisory lists both:
brotlifixed in 1.2.1,brotlicffiin 1.2.1.0.
Distributions
- Debian (security tracker per-CVE page; Current version from
scripts/debian-versions):brotli: sid and forky fixed in1.2.0-4.1, trixie in1.1.0-2+deb13u1(DSA-6582-1), bookworm in1.0.9-2+deb12u1(DLA-4855-1).nodejs: sid fixed in24.22.1+dfsg+~cs24.19.2-1; forky fixed in24.22.2+dfsg+~cs24.19.2-1; trixie and bookworm listed vulnerable.python-brotlicffi: sid and forky fixed in1.2.1.0+ds-1; trixie listed vulnerable; no bookworm package.- The tracker’s notes say
nodejsandpython-brotlicffiuse the system library and thatnodejsmay need an error-constant define. python3-brotliis a binary of thebrotlisource: its rows take the source version (an architecture’s binNMU suffix, forky’s+b2, is not recorded).- Fixed since (sid uploads): the
.dscfirst_seenon snapshot.debian.org —brotli1.2.0-4.1 2026-10-25, 1.1.0-2+deb13u1 and 1.0.9-2+deb12u1 2026-10-23,nodejs24.22.1 2026-10-27,python-brotlicffi1.2.1.0+ds-1 2026-10-25. - Fixed since (forky
brotliandpython-brotlicffi): the testing-migration date from tracker.debian.org’s package news page. - Fixed since (forky
nodejs): the news page carries noMIGRATED to testingentry for24.22.xyet; narrowed instead by snapshot.debian.org, which held24.21.0in testing at 2026-11-09 12:00Z and24.22.2+dfsg+~cs24.19.2-1at 2026-11-10 06:00Z. - DSA-6582-1 and DLA-4855-1 are both dated 2026-10-23.
- FreeBSD ports (local ports clone,
scripts/freebsd-ports-versions; VuXML):archivers/brotliupdated to 1.2.1 onorigin/main(1f82b2d) andorigin/2026Q4(08ebbd469), both 2026-10-23.www/node22,www/node24,www/node26security update onorigin/main(ba7474131) andorigin/2026Q4(5355d058d), both 2026-10-25.- VuXML
f1e61d76-cdb6-11f1-b15e-589cfc104230(brotli below 1.2.1,1, entered 2026-10-22) and33a752ba-4cbe-46d8-abda-587011d90575(node, node22, node24, node26 below the fixed releases, entered 2026-10-24). www/node24/Makefilesets--shared-brotliwithlibbrotlidec.so:archivers/brotli;archivers/php-brotli,py-brotli, andpy-brotlicffidepend onarchivers/brotli, and their versions come from the helper too.- A 15.1-RELEASE host on the
latestpackage set hadbrotli-1.2.0,1installed on 2026-10-27, flagged bypkg audit.
- NetBSD (local xsrc and src clones,
scripts/netbsd-xsrc-versions):origin/trunkreplaced the old 1.0.9 import outright in commitc85bcf65b(2026-10-28), “Initial import of brotli 1.2.1, that fixes CVE 2026-111497”; itsc/dec/decode.cnow names the error code.origin/netbsd-11received the same reimport in commitb2f7e3892(2026-10-29, pull-up ticket #562); itsc/dec/decode.cnow names the error code too.origin/netbsd-10has noexternal/mit/brotliin xsrc and noexternal/mit/xorg/lib/brotliin src.- src’s
external/mit/xorg/lib/brotli/brotli.mkcompiles the decoder objects into libfreetype with renamed symbols; a NetBSD 11.0_STABLE host has nolibbrotliand 20 brotli symbols inlibfreetype.so.
- NixOS channels (local nixpkgs clone at each channel’s revision,
scripts/nixpkgs-versions):brotliversions frompkgs/by-name/br/brotli/package.nix, whose only patch is a LoongArch build fix;nodejs_22/24/26frompkgs/development/web/nodejs/v2{2,4,6}.nix.nodejs.nixoverridesbrotlifornodejs_22andnodejs_26with the upstream0ed4268patch, “Fix for CVE-2026-111497”;nodejs_24takes the plainbrotli.python3Packages.brotliinheritspkgs.brotli’s version and source (inherit (brotli) version src), so its rows take thebrotliversion;brotlicffi’s own version is read frompkgs/development/python-modules/brotlicffi/default.nix.scripts/nixos-first-shippedon themastermerges7172431e,1e6783a8,1e4a5818:nixos-unstable-smallnixos-26.11pre1098711.c53532a93865(2026-10-21),nixos-unstablenixos-26.11pre1100280.3ec636362e18(2026-10-24),nixpkgs-unstablenixpkgs-26.11pre1100332.901c54c08bdc(2026-10-24).- On the
release-26.05backportsf730322a,338d3b46,2f11bb7f:nixos-26.05-smallnixos-26.05.12372.8c259fc0dd1f(2026-10-21),nixos-26.05nixos-26.05.12400.da6dc0e7b260(2026-10-22). scripts/nixos-first-shipped nixos-26.05-small 08d3a97586f6(therelease-26.05merge of thebrotli1.2.1 bump):nixos-26.05.13050.08d3a97586f6(2026-10-28).- The same lookup against
nixos-26.05finds the fix in the same release,nixos-26.05.13050.08d3a97586f6(2026-10-28). scripts/nixos-first-shipped nixos-unstable-small ddb4542757ab(themastermerge of thebrotli1.2.1 bump):nixos-26.11pre1113202.085af13c1607(2026-11-07).- The same lookup against
nixos-unstable:nixos-26.11pre1113206.f4a03c008967(2026-11-08). scripts/nixos-first-shipped nixpkgs-unstable ddb4542757ab:nixpkgs-26.11pre1113202.085af13c1607(2026-11-12) — the same revisionnixos-unstable-smallshipped on 2026-11-07, published to thenixpkgs-unstablebucket five days later.release-26.11was cut 2026-11-24 (git merge-base origin/master origin/release-26.11=8d7adf10bf07);scripts/nixos-first-shipped nixos-26.11-small ddb4542757abfindsnixos-26.11beta1.f48af937b95f(2026-11-24), the channel’s first published release.scripts/nixos-first-shipped nixos-26.11 ddb4542757abfindsnixos-26.11beta177.3115e401b5d1(2026-11-27), thenixos-26.11channel’s own first published release — three days behind its-smallsibling.
- NixOS security tracker (tracker.security.nixos.org) — a JS-rendered application; linked for readers, not read by this tracker.
- nixpkgs branches (local clone,
scripts/nixpkgs-versionswithbranch:master,branch:release-26.05, andbranch:release-26.11):origin/masterfirst-parent:7172431e44ae“nodejs_22,nodejs_26: fix build (#576794)”,1e6783a814f1“nodejs_22: 22.23.3 -> 22.23.4”,1e4a58186c52“nodejs_26: 26.12.0 -> 26.12.1”, all 2026-10-21.origin/release-26.05first-parent:f730322a6515,338d3b462fc8,2f11bb7ff83b(the backports of the three), all 2026-10-21.origin/release-26.05first-parent08d3a97586f6(2026-10-28) is a fullbrotli1.2.0 -> 1.2.1 bump landing alongsidenodejs_2424.21.0 -> 24.22.1, both pristine upstream builds rather than patches.origin/staginghasbrotli1.2.1 (ddb4542757ab, 2026-10-22, after the patch commit187cc6729b1fof 2026-10-21);origin/staging-nextmerged it inb19422583727(2026-10-29);origin/master’s first-parent merge of it is03b955f14b99(2026-11-07).origin/release-26.11’s history unique to the branch (origin/master..origin/release-26.11) starts atf48af937b95f(2026-11-24, “26.11 beta release”); its ownpkgs/by-name/br/brotlihistory has no commit pastddb4542757ab(2026-10-22), so the branch inherited the fix at the cut rather than bumping it separately.
- OpenBSD ports (local ports clone,
scripts/openbsd-ports-versions; thepackages-stableindex):archivers/brotli1.2.1 (5d0d5310e),archivers/py-brotli1.2.1 (bf10fdcd9), andarchivers/py-brotlicffi1.2.1.0 (eb3ad30b0) onorigin/master, all 2026-10-23.lang/node24.22.1 (7e1334357) onorigin/master, 2026-10-21.lang/nodehas no--shared-brotliand no brotli dependency; both Python ports have theirarchivers/brotliLIB_DEPENDScommented out.8.0/packages-stable/amd64/listsbrotli-1.2.1.tgz,node-24.22.1v0.tgz,py3-brotli-1.2.1.tgz, andpy3-brotlicffi-1.2.1.0.tgz, all dated 2026-10-27 — the-stablerows’ Fixed since; the 8.0 release set hasbrotli-1.2.0.tgz.- An 8.0 host has no
libbrotliunder/usr/lib,/usr/X11R6/libor/usr/local/lib, and no brotli symbols in itslibfreetype.
- pkgsrc (local clone,
scripts/pkgsrc-versions):archivers/brotliDISTNAMEreached 1.2.1 onorigin/trunkin8ae58096be02(2026-10-22) and onorigin/pkgsrc-2026Q3in4617735e894c(2026-10-25, pullup ticket #7322, which also updatedlang/nodejs,lang/nodejs22,lang/nodejs24).archivers/py-brotlireached 1.2.1 onorigin/trunkinfb1f54bbfcf0(2026-10-22) — thepkgsrc-currentrow’s First fixed and Fixed since.origin/pkgsrc-2026Q3still has the bundledpy-brotli1.2.0.origin/trunk’sarchivers/py-brotliMakefile switched toUSE_SYSTEM_BROTLI=1with a buildlink onarchivers/brotliin891f60259187(2026-12-04).archivers/py-brotlicffisetsUSE_SHARED_BROTLI=1on both branches.PYTHON_VERSION_DEFAULTinlang/python/pyversion.mkgives the prefix the helper leaves for the reader to supply, forpy-brotlicffias forpy-brotli: 313 onorigin/pkgsrc-2026Q3.origin/trunkraisedPYTHON_VERSION_DEFAULTfrom 313 to 314 in8bb7863a1a8e(2026-10-31), after thepy-brotliupdate; the row’s First fixed keeps thepy313-name of that day.- The
lang/nodejs*identifiers come from the helper directly.
- Rocky Linux / RHEL (the Red Hat hydra JSON for status; the Rocky
AppStream
primary.xml.gzandPackages/listings for versions):- Red Hat
affected_release:brotli-0:1.1.0-8.el10_2.1RHSA-2026:90449,brotli-0:1.0.9-10.el9_8.1RHSA-2026:90495,brotli-0:1.0.6-5.el8_10RHSA-2026:90501, all dated 2026-10-26. - Red Hat
affected_releaseaddednodejs:24errata on 2026-10-29: RHSA-2026:92378 for 9, RHSA-2026:92376 for 8; Rocky’sPackages/n/carries the rebuilt NVRs the same day —nodejs-24.22.1-3.module+el9.8.0+40401+e24b8c95on 9,nodejs-24.22.1-1.module+el8.10.0+40400+ee85ddeaon 8. - Red Hat
affected_releaseadded anodejs:26errata for 9 (RHSA-2026:98522, 2026-11-11, packagenodejs:26-9090020261105145947.rhel9); Rocky 9’sPackages/n/carries the rebuilt NVRnodejs-26.12.1-2.module+el9.9.0+40425+093712cc, uploaded 2026-11-12. - Red Hat
package_state:nodejs:22/nodejsnot affected on 8 and 9;nodejs22,nodejs24,nodejs26not affected on 10. - Rocky 10 AppStream carries
brotli-1.1.0-8.el10_2.1, uploaded 2026-10-26 21:10Z, whose changelog names CVE-2026-111497 and RHEL-290261. - Rocky 9 AppStream carries the RHSA-2026:90495 NVR, uploaded 2026-10-27 10:26Z, whose changelog names CVE-2026-111497 and RHEL-290294.
- Rocky 8 BaseOS carries the RHSA-2026:90501 NVR, uploaded 2026-10-27 10:25Z.
- The
nodejs:22stream’snodejs-libson 9, andnodejs-libsandnodejs24-libson 10, requirelibbrotlidec.so.1. - The
nodejs:24stream’snodejs-libson 9 has no brotli requirement, and itsnodejspackage providesbundled(brotli) = 1.2.0. - Rocky 9 publishes
nodejsstreams 18, 20, 22, and 24; Rocky 8 streams 22 and 24 carry builds. - Rocky 10 ships
nodejs(22),nodejs24, and nownodejs26. python3-brotliis in AppStream on all three releases (Packages/p/) at thebrotliNVR; thenodejs:22streams and Rocky 10’snodejs,nodejs24, andnodejs26are read fromPackages/n/, keyed on the 22.x, 24.x, and 26.x file names.- Rocky 10’s
Packages/n/now carriesnodejs26-26.12.1-3.el10_3, alongside an older26.8.2-1build. - A Rocky 9.8 host checked at seed had the pre-errata 9
libbrotlibuild (1.0.9-10.el9_8) installed and no Node.js, PHP, or Python brotli packages.
- Red Hat