Summary

FieldDetail
CVECVE-2026-111497 — “Broccoli2Shell”; also GHSA-9v8h-qqgm-4m35
ComponentGoogle’s brotli C library, the decoder in c/dec/decode.c; every program that bundles or links it
Affectedbrotli 1.0.3 through 1.2.0; fixed in 1.0.10, 1.1.1, and 1.2.1, all released 2026-10-21
MechanismA 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
ImpactMemory 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
Severity9.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)
WeaknessesCWE-787 (out-of-bounds write), CWE-252 (unchecked return value)
Who is exposedAnything 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
CreditOpenAI Codex Security (Khai Tran and Sylvie Mayer), reported through Node.js; exploitation research by the Imperva Red Team (Ron Masas)
Disclosed2026-10-21, with the Node.js security releases; CVE record and advisory published 2026-10-22
KEV listedyes — added to CISA’s KEV catalog 2026-10-27, action due 2026-11-10
Public exploitA 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
EPSS0.9999 (99.983th percentile), scored 2026-12-04
Relatedbroccoli2shell.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.

PackageVulnerableFixed inSource
brotli (C library)1.0.3 – 1.0.9, 1.1.0, 1.2.01.0.10, 1.1.1, 1.2.1CVE record, releases
Node.js 26 / 24 / 22below the fixed release26.12.1 / 24.22.1 / 22.23.4Node.js advisory
PHP brotli extensionbundles brotli through 0.21.00.21.1php-ext-brotli 0.21.1
Python Brotli1.0.3 – 1.2.01.2.1GHSA-9v8h-qqgm-4m35
Python brotlicffi1.0.3 – 1.2.0.21.2.1.0GHSA-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.

DistributionPackageCurrent versionFirst fixedFixed sinceStatus
brotli1.2.x1.2.11.2.12026-10-21✅ Fixed
brotli1.1.x1.1.11.1.12026-10-21✅ Fixed
brotli1.0.x1.0.101.0.102026-10-21✅ Fixed
Node.js26.x26.14.026.12.12026-10-21✅ Fixed
Node.js24.x24.23.024.22.12026-10-21✅ Fixed
Node.js22.x22.23.522.23.42026-10-21✅ Fixed
PHPbrotli extension (PECL)0.21.10.21.12026-10-24✅ Fixed
PythonBrotli (PyPI)1.2.11.2.12026-10-22✅ Fixed
Pythonbrotlicffi (PyPI)1.2.1.01.2.1.02026-10-22✅ Fixed
Debian sid (unstable)brotli1.2.1-11.2.0-4.12026-10-25✅ Fixed
Debian sid (unstable)nodejs24.22.3+dfsg+~cs24.19.2-224.22.1+dfsg+~cs24.19.2-12026-10-27✅ Fixed
Debian sid (unstable)python-brotlicffi1.2.1.0+ds-11.2.1.0+ds-12026-10-25✅ Fixed
Debian sid (unstable)python3-brotli1.2.1-1N/A2026-10-25✅ Fixed — via brotli
Debian forky (testing)brotli1.2.1-11.2.0-4.12026-11-04✅ Fixed
Debian forky (testing)nodejs24.22.2+dfsg+~cs24.19.2-124.22.2+dfsg+~cs24.19.2-12026-11-10✅ Fixed
Debian forky (testing)python-brotlicffi1.2.1.0+ds-11.2.1.0+ds-12026-10-29✅ Fixed
Debian forky (testing)python3-brotli1.2.1-1N/A2026-11-04✅ Fixed — via brotli
Debian 13 (trixie)brotli1.1.0-2+deb13u11.1.0-2+deb13u12026-10-23✅ Fixed — DSA-6582-1
Debian 13 (trixie)nodejs20.19.2+dfsg-1+deb13u3——❌ Vulnerable
Debian 13 (trixie)python-brotlicffi1.1.0.0+ds1-1——❌ Vulnerable
Debian 13 (trixie)python3-brotli1.1.0-2+deb13u1N/A2026-10-23✅ Fixed — via brotli
Debian 12 (bookworm)brotli1.0.9-2+deb12u11.0.9-2+deb12u12026-10-23✅ Fixed — DLA-4855-1
Debian 12 (bookworm)nodejs18.20.4+dfsg-1~deb12u3——❌ Vulnerable
Debian 12 (bookworm)python3-brotli1.0.9-2+deb12u1N/A2026-10-23✅ Fixed — via brotli
FreeBSD ports mainbrotli1.2.1_2,11.2.1,12026-10-23✅ Fixed
FreeBSD ports mainnode2222.23.522.23.42026-10-25✅ Fixed
FreeBSD ports mainnode2424.23.024.22.12026-10-25✅ Fixed
FreeBSD ports mainnode2626.14.026.12.12026-10-25✅ Fixed
FreeBSD ports mainphp-brotli0.21.0N/A2026-10-23✅ Fixed — via brotli
FreeBSD ports mainpy-brotli1.2.1_1N/A2026-10-23✅ Fixed — via brotli
FreeBSD ports mainpy-brotlicffi1.2.1.0N/A2026-10-23✅ Fixed — via brotli
FreeBSD ports 2026Q4brotli1.2.1_1,11.2.1,12026-10-23✅ Fixed
FreeBSD ports 2026Q4node2222.23.522.23.42026-10-25✅ Fixed
FreeBSD ports 2026Q4node2424.22.324.22.12026-10-25✅ Fixed
FreeBSD ports 2026Q4node2626.13.126.12.12026-10-25✅ Fixed
FreeBSD ports 2026Q4php-brotli0.21.0N/A2026-10-23✅ Fixed — via brotli
FreeBSD ports 2026Q4py-brotli1.2.1_1N/A2026-10-23✅ Fixed — via brotli
FreeBSD ports 2026Q4py-brotlicffi1.2.1.0N/A2026-10-23✅ Fixed — via brotli
NetBSD -currentbrotli (xsrc)1.2.11.2.12026-10-28✅ Fixed
NetBSD 11 (netbsd-11)brotli (xsrc)1.2.11.2.12026-10-29✅ Fixed
NetBSD 10 (netbsd-10)brotli (xsrc)———➖ Not affected — no brotli in xsrc
NixOS nixos-unstablebrotli1.2.11.2.12026-11-08✅ Fixed
NixOS nixos-unstablenodejs_2222.23.522.23.42026-10-24✅ Fixed
NixOS nixos-unstablenodejs_2424.22.324.22.12026-11-08✅ Fixed
NixOS nixos-unstablenodejs_2626.14.026.12.12026-10-24✅ Fixed
NixOS nixos-unstablepython3Packages.brotli1.2.1N/A2026-11-08✅ Fixed — via brotli
NixOS nixos-unstablepython3Packages.brotlicffi1.2.1.0N/A2026-11-08✅ Fixed — via brotli
NixOS nixos-unstable-smallbrotli1.2.11.2.12026-11-07✅ Fixed
NixOS nixos-unstable-smallnodejs_2222.23.522.23.42026-10-21✅ Fixed
NixOS nixos-unstable-smallnodejs_2424.22.324.22.12026-11-07✅ Fixed
NixOS nixos-unstable-smallnodejs_2626.14.026.12.12026-10-21✅ Fixed
NixOS nixos-unstable-smallpython3Packages.brotli1.2.1N/A2026-11-07✅ Fixed — via brotli
NixOS nixos-unstable-smallpython3Packages.brotlicffi1.2.1.0N/A2026-11-07✅ Fixed — via brotli
NixOS nixos-26.11brotli1.2.11.2.1—✅ Fixed — from its first release
NixOS nixos-26.11nodejs_2222.23.522.23.5—✅ Fixed — from its first release
NixOS nixos-26.11nodejs_2424.22.324.22.3—✅ Fixed — from its first release
NixOS nixos-26.11nodejs_2626.14.026.13.1—✅ Fixed — from its first release
NixOS nixos-26.11python3Packages.brotli1.2.1N/A—✅ Fixed — via brotli
NixOS nixos-26.11python3Packages.brotlicffi1.2.1.0N/A—✅ Fixed — via brotli
NixOS nixos-26.11-smallbrotli1.2.11.2.1—✅ Fixed — from its first release
NixOS nixos-26.11-smallnodejs_2222.23.522.23.5—✅ Fixed — from its first release
NixOS nixos-26.11-smallnodejs_2424.22.324.22.3—✅ Fixed — from its first release
NixOS nixos-26.11-smallnodejs_2626.14.026.13.1—✅ Fixed — from its first release
NixOS nixos-26.11-smallpython3Packages.brotli1.2.1N/A—✅ Fixed — via brotli
NixOS nixos-26.11-smallpython3Packages.brotlicffi1.2.1.0N/A—✅ Fixed — via brotli
NixOS nixos-26.05brotli1.2.11.2.12026-10-28✅ Fixed
NixOS nixos-26.05nodejs_2222.23.522.23.42026-10-22✅ Fixed
NixOS nixos-26.05nodejs_2424.22.324.22.12026-10-28✅ Fixed
NixOS nixos-26.05nodejs_2626.14.026.12.12026-10-22✅ Fixed
NixOS nixos-26.05python3Packages.brotli1.2.1N/A2026-10-28✅ Fixed — via brotli
NixOS nixos-26.05python3Packages.brotlicffi1.2.0.0N/A2026-10-28✅ Fixed — via brotli
NixOS nixos-26.05-smallbrotli1.2.11.2.12026-10-28✅ Fixed
NixOS nixos-26.05-smallnodejs_2222.23.522.23.42026-10-21✅ Fixed
NixOS nixos-26.05-smallnodejs_2424.22.324.22.12026-10-28✅ Fixed
NixOS nixos-26.05-smallnodejs_2626.14.026.12.12026-10-21✅ Fixed
NixOS nixos-26.05-smallpython3Packages.brotli1.2.1N/A2026-10-28✅ Fixed — via brotli
NixOS nixos-26.05-smallpython3Packages.brotlicffi1.2.0.0N/A2026-10-28✅ Fixed — via brotli
nixpkgs master branchbrotli1.2.11.2.12026-11-07✅ Fixed
nixpkgs master branchnodejs_2222.23.522.23.42026-10-21✅ Fixed
nixpkgs master branchnodejs_2424.22.324.22.12026-11-07✅ Fixed
nixpkgs master branchnodejs_2626.14.026.12.12026-10-21✅ Fixed
nixpkgs master branchpython3Packages.brotli1.2.1N/A2026-11-07✅ Fixed — via brotli
nixpkgs master branchpython3Packages.brotlicffi1.2.1.0N/A2026-11-07✅ Fixed — via brotli
nixpkgs release-26.11 branchbrotli1.2.11.2.1—✅ Fixed — since the branch was cut
nixpkgs release-26.11 branchnodejs_2222.23.522.23.5—✅ Fixed — since the branch was cut
nixpkgs release-26.11 branchnodejs_2424.22.324.22.3—✅ Fixed — since the branch was cut
nixpkgs release-26.11 branchnodejs_2626.14.026.13.1—✅ Fixed — since the branch was cut
nixpkgs release-26.11 branchpython3Packages.brotli1.2.1N/A—✅ Fixed — via brotli
nixpkgs release-26.11 branchpython3Packages.brotlicffi1.2.1.0N/A—✅ Fixed — via brotli
nixpkgs release-26.05 branchbrotli1.2.11.2.12026-10-28✅ Fixed
nixpkgs release-26.05 branchnodejs_2222.23.522.23.42026-10-21✅ Fixed
nixpkgs release-26.05 branchnodejs_2424.22.324.22.12026-10-28✅ Fixed
nixpkgs release-26.05 branchnodejs_2626.14.026.12.12026-10-21✅ Fixed
nixpkgs release-26.05 branchpython3Packages.brotli1.2.1N/A2026-10-28✅ Fixed — via brotli
nixpkgs release-26.05 branchpython3Packages.brotlicffi1.2.0.0N/A2026-10-28✅ Fixed — via brotli
nixpkgs nixpkgs-unstablebrotli1.2.11.2.12026-11-12✅ Fixed — channel for non-NixOS Nix users
nixpkgs nixpkgs-unstablenodejs_2222.23.522.23.42026-10-24✅ Fixed
nixpkgs nixpkgs-unstablenodejs_2424.22.324.22.12026-11-12✅ Fixed
nixpkgs nixpkgs-unstablenodejs_2626.14.026.12.12026-10-24✅ Fixed
nixpkgs nixpkgs-unstablepython3Packages.brotli1.2.1N/A2026-11-12✅ Fixed — via brotli
nixpkgs nixpkgs-unstablepython3Packages.brotlicffi1.2.1.0N/A2026-11-12✅ Fixed — via brotli
OpenBSD ports -currentbrotli1.2.11.2.12026-10-23✅ Fixed
OpenBSD ports -currentnode24.23.0v024.22.1v02026-10-21✅ Fixed
OpenBSD ports -currentpy-brotli1.2.11.2.12026-10-23✅ Fixed
OpenBSD ports -currentpy-brotlicffi1.2.1.01.2.1.02026-10-23✅ Fixed
OpenBSD ports 8.0 -stablebrotli1.2.11.2.12026-10-27✅ Fixed
OpenBSD ports 8.0 -stablenode24.22.3v024.22.1v02026-10-27✅ Fixed
OpenBSD ports 8.0 -stablepy-brotli1.2.11.2.12026-10-27✅ Fixed
OpenBSD ports 8.0 -stablepy-brotlicffi1.2.1.01.2.1.02026-10-27✅ Fixed
pkgsrc pkgsrc-currentbrotlibrotli-1.2.1brotli-1.2.12026-10-22✅ Fixed
pkgsrc pkgsrc-currentnodejsnodejs-26.14.0N/A2026-10-22✅ Fixed — via brotli
pkgsrc pkgsrc-currentnodejs22nodejs-22.23.5N/A2026-10-22✅ Fixed — via brotli
pkgsrc pkgsrc-currentnodejs24nodejs-24.23.0N/A2026-10-22✅ Fixed — via brotli
pkgsrc pkgsrc-currentpy-brotlipy314-brotli-1.2.1nb1py313-brotli-1.2.12026-10-22✅ Fixed — via brotli
pkgsrc pkgsrc-currentpy-brotlicffipy314-brotlicffi-1.2.1.0nb1N/A2026-10-22✅ Fixed — via brotli
pkgsrc pkgsrc-2026Q3brotlibrotli-1.2.1brotli-1.2.12026-10-25✅ Fixed — pullup #7322
pkgsrc pkgsrc-2026Q3nodejsnodejs-26.12.1N/A2026-10-25✅ Fixed — via brotli
pkgsrc pkgsrc-2026Q3nodejs22nodejs-22.23.4N/A2026-10-25✅ Fixed — via brotli
pkgsrc pkgsrc-2026Q3nodejs24nodejs-24.22.1N/A2026-10-25✅ Fixed — via brotli
pkgsrc pkgsrc-2026Q3py-brotlipy313-brotli-1.2.0——❌ Vulnerable — bundles 1.2.0
pkgsrc pkgsrc-2026Q3py-brotlicffipy313-brotlicffi-1.2.0.2N/A2026-10-25✅ Fixed — via brotli
Rocky Linux 10brotli1.1.0-8.el10_2.11.1.0-8.el10_2.12026-10-26✅ Fixed — RHSA-2026:90449
Rocky Linux 10nodejs22.23.5-1.el10_3N/A2026-10-26✅ Fixed — via brotli
Rocky Linux 10nodejs2424.22.3-1.el10_3N/A2026-10-26✅ Fixed — via brotli
Rocky Linux 10nodejs2626.13.1-1.el10_3N/A2026-10-26✅ Fixed — via brotli
Rocky Linux 10python3-brotli1.1.0-8.el10_2.1N/A2026-10-26✅ Fixed — via brotli
Rocky Linux 9brotli1.0.9-10.el9_8.11.0.9-10.el9_8.12026-10-27✅ Fixed — RHSA-2026:90495
Rocky Linux 9nodejs:2222.23.5-1.module+el9.9.0+40519+47aaae31N/A2026-10-27✅ Fixed — via brotli
Rocky Linux 9nodejs:2424.22.3-1.module+el9.9.0+40520+184a53fb24.22.1-3.module+el9.8.0+40401+e24b8c952026-10-29✅ Fixed — RHSA-2026:92378
Rocky Linux 9nodejs:2626.13.1-1.module+el9.9.0+40521+c9da606b26.12.1-2.module+el9.9.0+40425+093712cc2026-11-12✅ Fixed — RHSA-2026:98522
Rocky Linux 9python3-brotli1.0.9-10.el9_8.1N/A2026-10-27✅ Fixed — via brotli
Rocky Linux 8brotli1.0.6-5.el8_101.0.6-5.el8_102026-10-27✅ Fixed — RHSA-2026:90501
Rocky Linux 8nodejs:2222.23.5-1.module+el8.10.0+40513+6855c841N/A2026-10-27✅ Fixed — via brotli
Rocky Linux 8nodejs:2424.22.3-1.module+el8.10.0+40511+ed32f4d724.22.1-1.module+el8.10.0+40400+ee85ddea2026-10-29✅ Fixed — RHSA-2026:92376
Rocky Linux 8python3-brotli1.0.6-5.el8_10N/A2026-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.

  • -current and netbsd-11 both replaced their old import outright with a fixed release, rather than taking the patch alone.
  • netbsd-10 predates 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 libbrotli is fixed with the library; Red Hat lists those as not affected in their own right, since they need no errata of their own.
  • nodejs:24 on 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 system libbrotli like the release’s other Node.js packages and is fixed with it.
  • Rocky 9 now packages a nodejs:26 stream too, but it bundles its own brotli like nodejs:24 does: 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:18 and nodejs:20 streams 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: br from request bodies, and br from the Accept-Encoding a 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 Brotli and brotlicffi packages; the HTTP clients then stop advertising br.
  • 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.
    • cisaExploitAdd 2026-10-27, cisaActionDue 2026-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 br request 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):
    • Brotli 1.2.1 uploaded 2026-10-22; brotlicffi 1.2.1.0 uploaded 2026-10-22 (its changelog dates it 2026-10-21).
    • The GitHub advisory lists both: brotli fixed in 1.2.1, brotlicffi in 1.2.1.0.

Distributions

  • Debian (security tracker per-CVE page; Current version from scripts/debian-versions):
    • brotli: sid and forky fixed in 1.2.0-4.1, trixie in 1.1.0-2+deb13u1 (DSA-6582-1), bookworm in 1.0.9-2+deb12u1 (DLA-4855-1).
    • nodejs: sid fixed in 24.22.1+dfsg+~cs24.19.2-1; forky fixed in 24.22.2+dfsg+~cs24.19.2-1; trixie and bookworm listed vulnerable.
    • python-brotlicffi: sid and forky fixed in 1.2.1.0+ds-1; trixie listed vulnerable; no bookworm package.
    • The tracker’s notes say nodejs and python-brotlicffi use the system library and that nodejs may need an error-constant define.
    • python3-brotli is a binary of the brotli source: its rows take the source version (an architecture’s binNMU suffix, forky’s +b2, is not recorded).
    • Fixed since (sid uploads): the .dsc first_seen on snapshot.debian.org — brotli 1.2.0-4.1 2026-10-25, 1.1.0-2+deb13u1 and 1.0.9-2+deb12u1 2026-10-23, nodejs 24.22.1 2026-10-27, python-brotlicffi 1.2.1.0+ds-1 2026-10-25.
    • Fixed since (forky brotli and python-brotlicffi): the testing-migration date from tracker.debian.org’s package news page.
    • Fixed since (forky nodejs): the news page carries no MIGRATED to testing entry for 24.22.x yet; narrowed instead by snapshot.debian.org, which held 24.21.0 in testing at 2026-11-09 12:00Z and 24.22.2+dfsg+~cs24.19.2-1 at 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/brotli updated to 1.2.1 on origin/main (1f82b2d) and origin/2026Q4 (08ebbd469), both 2026-10-23.
    • www/node22, www/node24, www/node26 security update on origin/main (ba7474131) and origin/2026Q4 (5355d058d), both 2026-10-25.
    • VuXML f1e61d76-cdb6-11f1-b15e-589cfc104230 (brotli below 1.2.1,1, entered 2026-10-22) and 33a752ba-4cbe-46d8-abda-587011d90575 (node, node22, node24, node26 below the fixed releases, entered 2026-10-24).
    • www/node24/Makefile sets --shared-brotli with libbrotlidec.so:archivers/brotli; archivers/php-brotli, py-brotli, and py-brotlicffi depend on archivers/brotli, and their versions come from the helper too.
    • A 15.1-RELEASE host on the latest package set had brotli-1.2.0,1 installed on 2026-10-27, flagged by pkg audit.
  • NetBSD (local xsrc and src clones, scripts/netbsd-xsrc-versions):
    • origin/trunk replaced the old 1.0.9 import outright in commit c85bcf65b (2026-10-28), “Initial import of brotli 1.2.1, that fixes CVE 2026-111497”; its c/dec/decode.c now names the error code.
    • origin/netbsd-11 received the same reimport in commit b2f7e3892 (2026-10-29, pull-up ticket #562); its c/dec/decode.c now names the error code too.
    • origin/netbsd-10 has no external/mit/brotli in xsrc and no external/mit/xorg/lib/brotli in src.
    • src’s external/mit/xorg/lib/brotli/brotli.mk compiles the decoder objects into libfreetype with renamed symbols; a NetBSD 11.0_STABLE host has no libbrotli and 20 brotli symbols in libfreetype.so.
  • NixOS channels (local nixpkgs clone at each channel’s revision, scripts/nixpkgs-versions):
    • brotli versions from pkgs/by-name/br/brotli/package.nix, whose only patch is a LoongArch build fix; nodejs_22/24/26 from pkgs/development/web/nodejs/v2{2,4,6}.nix.
    • nodejs.nix overrides brotli for nodejs_22 and nodejs_26 with the upstream 0ed4268 patch, “Fix for CVE-2026-111497”; nodejs_24 takes the plain brotli.
    • python3Packages.brotli inherits pkgs.brotli’s version and source (inherit (brotli) version src), so its rows take the brotli version; brotlicffi’s own version is read from pkgs/development/python-modules/brotlicffi/default.nix.
    • scripts/nixos-first-shipped on the master merges 7172431e, 1e6783a8, 1e4a5818: nixos-unstable-small nixos-26.11pre1098711.c53532a93865 (2026-10-21), nixos-unstable nixos-26.11pre1100280.3ec636362e18 (2026-10-24), nixpkgs-unstable nixpkgs-26.11pre1100332.901c54c08bdc (2026-10-24).
    • On the release-26.05 backports f730322a, 338d3b46, 2f11bb7f: nixos-26.05-small nixos-26.05.12372.8c259fc0dd1f (2026-10-21), nixos-26.05 nixos-26.05.12400.da6dc0e7b260 (2026-10-22).
    • scripts/nixos-first-shipped nixos-26.05-small 08d3a97586f6 (the release-26.05 merge of the brotli 1.2.1 bump): nixos-26.05.13050.08d3a97586f6 (2026-10-28).
    • The same lookup against nixos-26.05 finds the fix in the same release, nixos-26.05.13050.08d3a97586f6 (2026-10-28).
    • scripts/nixos-first-shipped nixos-unstable-small ddb4542757ab (the master merge of the brotli 1.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 revision nixos-unstable-small shipped on 2026-11-07, published to the nixpkgs-unstable bucket five days later.
    • release-26.11 was cut 2026-11-24 (git merge-base origin/master origin/release-26.11 = 8d7adf10bf07); scripts/nixos-first-shipped nixos-26.11-small ddb4542757ab finds nixos-26.11beta1.f48af937b95f (2026-11-24), the channel’s first published release.
    • scripts/nixos-first-shipped nixos-26.11 ddb4542757ab finds nixos-26.11beta177.3115e401b5d1 (2026-11-27), the nixos-26.11 channel’s own first published release — three days behind its -small sibling.
  • 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-versions with branch:master, branch:release-26.05, and branch:release-26.11):
    • origin/master first-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.05 first-parent: f730322a6515, 338d3b462fc8, 2f11bb7ff83b (the backports of the three), all 2026-10-21.
    • origin/release-26.05 first-parent 08d3a97586f6 (2026-10-28) is a full brotli 1.2.0 -> 1.2.1 bump landing alongside nodejs_24 24.21.0 -> 24.22.1, both pristine upstream builds rather than patches.
    • origin/staging has brotli 1.2.1 (ddb4542757ab, 2026-10-22, after the patch commit 187cc6729b1f of 2026-10-21); origin/staging-next merged it in b19422583727 (2026-10-29); origin/master’s first-parent merge of it is 03b955f14b99 (2026-11-07).
    • origin/release-26.11’s history unique to the branch (origin/master..origin/release-26.11) starts at f48af937b95f (2026-11-24, “26.11 beta release”); its own pkgs/by-name/br/brotli history has no commit past ddb4542757ab (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; the packages-stable index):
    • archivers/brotli 1.2.1 (5d0d5310e), archivers/py-brotli 1.2.1 (bf10fdcd9), and archivers/py-brotlicffi 1.2.1.0 (eb3ad30b0) on origin/master, all 2026-10-23.
    • lang/node 24.22.1 (7e1334357) on origin/master, 2026-10-21.
    • lang/node has no --shared-brotli and no brotli dependency; both Python ports have their archivers/brotli LIB_DEPENDS commented out.
    • 8.0/packages-stable/amd64/ lists brotli-1.2.1.tgz, node-24.22.1v0.tgz, py3-brotli-1.2.1.tgz, and py3-brotlicffi-1.2.1.0.tgz, all dated 2026-10-27 — the -stable rows’ Fixed since; the 8.0 release set has brotli-1.2.0.tgz.
    • An 8.0 host has no libbrotli under /usr/lib, /usr/X11R6/lib or /usr/local/lib, and no brotli symbols in its libfreetype.
  • pkgsrc (local clone, scripts/pkgsrc-versions):
    • archivers/brotli DISTNAME reached 1.2.1 on origin/trunk in 8ae58096be02 (2026-10-22) and on origin/pkgsrc-2026Q3 in 4617735e894c (2026-10-25, pullup ticket #7322, which also updated lang/nodejs, lang/nodejs22, lang/nodejs24).
    • archivers/py-brotli reached 1.2.1 on origin/trunk in fb1f54bbfcf0 (2026-10-22) — the pkgsrc-current row’s First fixed and Fixed since.
    • origin/pkgsrc-2026Q3 still has the bundled py-brotli 1.2.0.
    • origin/trunk’s archivers/py-brotli Makefile switched to USE_SYSTEM_BROTLI=1 with a buildlink on archivers/brotli in 891f60259187 (2026-12-04).
    • archivers/py-brotlicffi sets USE_SHARED_BROTLI=1 on both branches.
    • PYTHON_VERSION_DEFAULT in lang/python/pyversion.mk gives the prefix the helper leaves for the reader to supply, for py-brotlicffi as for py-brotli: 313 on origin/pkgsrc-2026Q3.
    • origin/trunk raised PYTHON_VERSION_DEFAULT from 313 to 314 in 8bb7863a1a8e (2026-10-31), after the py-brotli update; the row’s First fixed keeps the py313- 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.gz and Packages/ listings for versions):
    • Red Hat affected_release: brotli-0:1.1.0-8.el10_2.1 RHSA-2026:90449, brotli-0:1.0.9-10.el9_8.1 RHSA-2026:90495, brotli-0:1.0.6-5.el8_10 RHSA-2026:90501, all dated 2026-10-26.
    • Red Hat affected_release added nodejs:24 errata on 2026-10-29: RHSA-2026:92378 for 9, RHSA-2026:92376 for 8; Rocky’s Packages/n/ carries the rebuilt NVRs the same day — nodejs-24.22.1-3.module+el9.8.0+40401+e24b8c95 on 9, nodejs-24.22.1-1.module+el8.10.0+40400+ee85ddea on 8.
    • Red Hat affected_release added a nodejs:26 errata for 9 (RHSA-2026:98522, 2026-11-11, package nodejs:26-9090020261105145947.rhel9); Rocky 9’s Packages/n/ carries the rebuilt NVR nodejs-26.12.1-2.module+el9.9.0+40425+093712cc, uploaded 2026-11-12.
    • Red Hat package_state: nodejs:22/nodejs not affected on 8 and 9; nodejs22, nodejs24, nodejs26 not 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:22 stream’s nodejs-libs on 9, and nodejs-libs and nodejs24-libs on 10, require libbrotlidec.so.1.
    • The nodejs:24 stream’s nodejs-libs on 9 has no brotli requirement, and its nodejs package provides bundled(brotli) = 1.2.0.
    • Rocky 9 publishes nodejs streams 18, 20, 22, and 24; Rocky 8 streams 22 and 24 carry builds.
    • Rocky 10 ships nodejs (22), nodejs24, and now nodejs26.
    • python3-brotli is in AppStream on all three releases (Packages/p/) at the brotli NVR; the nodejs:22 streams and Rocky 10’s nodejs, nodejs24, and nodejs26 are read from Packages/n/, keyed on the 22.x, 24.x, and 26.x file names.
    • Rocky 10’s Packages/n/ now carries nodejs26-26.12.1-3.el10_3, alongside an older 26.8.2-1 build.
    • A Rocky 9.8 host checked at seed had the pre-errata 9 libbrotli build (1.0.9-10.el9_8) installed and no Node.js, PHP, or Python brotli packages.

References

SourceURL
Broccoli2Shell — impacted software cataloguehttps://broccoli2shell.com/
google/brotlihttps://github.com/google/brotli
brotli releases (v1.2.1, v1.1.1, v1.0.10)https://github.com/google/brotli/releases
Fixing commit 0ed4268https://github.com/google/brotli/commit/0ed4268a4401abcb4472096340477cf4af7d1a2b
GitHub advisory GHSA-9v8h-qqgm-4m35https://github.com/advisories/GHSA-9v8h-qqgm-4m35
Node.js October 2026 security releaseshttps://nodejs.org/en/blog/vulnerability/october-2026-security-releases
php-ext-brotli 0.21.1https://github.com/kjdev/php-ext-brotli/releases/tag/0.21.1
CVE-2026-111497 — MITRE CVE Recordhttps://www.cve.org/CVERecord?id=CVE-2026-111497
CVE Services API recordhttps://cveawg.mitre.org/api/cve/CVE-2026-111497
NVD — CVE-2026-111497https://nvd.nist.gov/vuln/detail/CVE-2026-111497
Debian security tracker — CVE-2026-111497https://security-tracker.debian.org/tracker/CVE-2026-111497
DSA-6582-1 (trixie)https://lists.debian.org/debian-security-announce/2026/msg00498.html
DLA-4855-1 (bookworm)https://lists.debian.org/debian-lts-announce/2026/10/msg00049.html
NetBSD xsrc — external/mit/brotli (GitHub mirror)https://github.com/NetBSD/xsrc/tree/trunk/external/mit/brotli
pkgsrc — archivers/brotli Makefile (GitHub mirror)https://github.com/NetBSD/pkgsrc/blob/trunk/archivers/brotli/Makefile
FreeBSD VuXML — brotlihttps://www.vuxml.org/freebsd/f1e61d76-cdb6-11f1-b15e-589cfc104230.html
FreeBSD VuXML — Node.jshttps://www.vuxml.org/freebsd/33a752ba-4cbe-46d8-abda-587011d90575.html
OpenBSD 8.0 packages-stable (amd64)https://cdn.openbsd.org/pub/OpenBSD/8.0/packages-stable/amd64/
nixpkgs — brotli 1.2.1 on staginghttps://github.com/NixOS/nixpkgs/commit/ddb4542757ab
Red Hat CVE pagehttps://access.redhat.com/security/cve/CVE-2026-111497
NixOS security trackerhttps://tracker.security.nixos.org/