CVE-2026-111497
JSON

9.2criticalExploited

Out-of-Bounds Write in Google Brotli Decoder

Severity
9.2critical CVSS:4.0 by Google
Exploit likelihood
99.9% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Google
Also known as
GHSA-9v8h-qqgm-4m35BIT-BROTLI-2026-111497BIT-DOTNET-2026-111497BIT-DOTNET-SDK-2026-111497BIT-NODE-2026-111497BIT-NODE-MIN-2026-111497BIT-POWERSHELL-2026-111497GHSA-c9gr-gmg4-2vqvGO-2026-6888PYSEC-2026-4322PYSEC-2026-4323

Description

A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli versions 1.0.3 through 1.2.0 on all platforms allows a remote unauthenticated attacker to corrupt adjacent decoder state memory, disclose sensitive memory contents, cause a denial of service, or potentially execute arbitrary code using a crafted Brotli-compressed stream. Users need to update any Brotli libraries or binaries between 1.0.3 through 1.2.0 to the latest available version: 1.0.10 or 1.1.1 or 1.2.1.

Affected

Product or packageVersionsReported by
github.com/google/brotlifrom 1.0.3 before 1.0.10, from 1.1.0 before 1.1.1, from 1.2.0 before 1.2.1CVE List
brotli (PyPI)from 1.0.3 before 1.2.1, before 1.2.1GitHub Advisory Database, PyPA Advisory Database
brotlicffi (PyPI)from 1.0.3 before 1.2.1.0, before 1.2.1.0GitHub Advisory Database, PyPA Advisory Database
github.com/andybalholm/brotli (Go)before 1.2.7Go Vulnerability Database
google brotlifrom 1.0.3 before 1.0.10, from 1.1.0 before 1.1.1, from 1.2.0 before 1.2.1NVD, CISA KEV
nodejs node.jsbefore 22.23.4, from 23.0.0 before 24.22.1, from 25.0.0 before 26.12.1NVD
python-hyper brotlicffibefore 1.2.1.0NVD
microsoft .netfrom 8.0.0 before 8.0.33, from 9.0.0 before 9.0.22, from 10.0.0 before 10.0.14, 11.0.0NVD
debian debian_linux12.0NVD
istio istiobefore 1.29.9, from 1.30.0 before 1.30.6, from 1.31.0 before 1.31.2NVD
anthropic bunbefore 1.4.4NVD
envoyproxy envoybefore 1.37.8, from 1.38.0 before 1.38.6, from 1.39.0 before 1.39.3NVD

All scores

Google9.2critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Bitnami Vulnerability Databasecritical rating

Classification

CWE-252CWE-787

SSVC (CISA-ADP): exploitation active, automatable no, technical impact total.

What each source says

CVE List

A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli versions 1.0.3 through 1.2.0 on all platforms allows a remote unauthenticated attacker to corrupt adjacent decoder state memory, disclose sensitive memory contents, cause a denial of service, or potentially execute arbitrary code using a crafted Brotli-compressed stream. Users need to update any Brotli libraries or binaries between 1.0.3 through 1.2.0 to the latest available version: 1.0.10 or 1.1.1 or 1.2.1.

Go Vulnerability Database

In github.com/andybalholm/brotli before v1.2.7, the decompressor allocates memory for Huffman tables and block-type trees on every meta-block header without bounding the cumulative allocations relative to the input size. A small crafted brotli stream containing many empty meta-blocks with new Huffman trees can trigger hundreds of megabytes of allocations per kilobyte of input, leading to denial of service.

PyPA Advisory Database

CVE-2026-111497 ("Node2Shell") is an out-of-bounds write (CWE-787) in Google's Brotli decoder (c/dec/decode.c). DecodeBlockTypeAndLength() returns an ambiguous value for an invalid block switch, and the fast decode path discards it (CWE-252, unchecked return value), so a crafted Brotli stream makes the decoder continue on corrupted state and write past the ring buffer. Upstream rates it CVSS 4.0 9.2 and classifies the impact as potential remote code execution.

The vulnerability is in Google's C library, not in Node.js specifically. The PyPI Brotli package is Google's CPython binding and compiles the same c/dec/decode.c that has the actual vulnerability. All Brotli releases up to and including 1.2.0 ship the vulnerable decoder; 1.2.1 contains the upstream fix (commit 0ed4268a) and differs from 1.2.0 only in that fix plus a version bump.

The decoder is reached whenever untrusted Brotli data is decompressed. With Brotli installed, common HTTP clients decode Brotli responses automatically (urllib3/requests, httpx with the brotli extra, aiohttp) and services that accept Content-Encoding: br request bodies decode inbound data, so the flaw is reachable from attacker-controlled input.

PyPA Advisory Database

CVE-2026-111497 ("Node2Shell") is an out-of-bounds write (CWE-787) in Google's Brotli decoder (c/dec/decode.c). DecodeBlockTypeAndLength() returns an ambiguous value for an invalid block switch, and the fast decode path discards it (CWE-252, unchecked return value), so a crafted Brotli stream makes the decoder continue on corrupted state and write past the ring buffer. Upstream rates it CVSS 4.0 9.2 and classifies the impact as potential remote code execution.

The vulnerability is in Google's C library, not in Node.js specifically. The PyPI Brotli package is Google's CPython binding and compiles the same c/dec/decode.c that has the original vulnerability. All Brotli releases up to and including 1.2.0 ship the vulnerable decoder; 1.2.1 contains the upstream fix (commit 0ed4268a) and differs from 1.2.0 only in that fix plus a version bump.

The decoder is reached whenever untrusted Brotli data is decompressed. With brotlicffi installed, common HTTP clients decode Brotli responses automatically (urllib3/requests, httpx with the brotli extra, aiohttp) and services that accept Content-Encoding: br request bodies decode inbound data, so the flaw is reachable from attacker-controlled input.

Bitnami Vulnerability Database

A flaw in Node.js can cause Node.js Brotli decoder out-of-bounds write permits remote code execution. This vulnerability affects Node.js 22.x, 24.x, and 26.x.

CISA KEV

Google Brotli contains an unchecked return value vulnerability that allows a remote unauthenticated attacker to corrupt adjacent decoder state memory, disclose sensitive memory contents, cause a denial of service, or potentially execute arbitrary code using a crafted Brotli-compressed stream.

References

https://nodejs.org/en/blog/vulnerability/october-2026-security-releases#nodejs-brotli-decoder-out-of-bounds-write-permits-remote-code-execution-cve-2026-111497---highadvisory, patch, third-party-advisory, web
https://github.com/andybalholm/brotli/releases/tag/v1.2.7article, release-notes, third-party-advisory, web
https://ellio.tech/en/blog/node2shell-cve-2026-111497-rce-on-stock-nodejs-builds/advisory, third-party-advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-111497government-resource, us-government-resource, web
https://github.com/advisories/GHSA-9v8h-qqgm-4m35advisory, third-party-advisory
http://www.openwall.com/lists/oss-security/2026/10/23/25advisory, mailing-list, third-party-advisory, web
https://lists.debian.org/debian-lts-announce/2026/10/msg00049.htmladvisory, mailing-list, third-party-advisory, web
http://www.openwall.com/lists/oss-security/2026/10/24/6advisory, mailing-list, third-party-advisory, web
http://www.openwall.com/lists/oss-security/2026/10/26/12advisory, mailing-list, third-party-advisory, web
http://www.openwall.com/lists/oss-security/2026/10/26/13advisory, mailing-list, third-party-advisory, web
https://www.aikido.dev/blog/node2shell-nodejs-brotli-rce-cve-2026-111497advisory, third-party-advisory, web
https://broccoli2shell.comadvisory, third-party-advisory, web

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-111497 changed 2026-11-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-9v8h-qqgm-4m35 changed 2026-11-05CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6888 changed 2026-11-26CC-BY-4.0
NVDCVE-2026-111497 changed 2026-11-27Public domain
PyPA Advisory DatabasePYSEC-2026-4322 changed 2026-11-05CC-BY-4.0
PyPA Advisory DatabasePYSEC-2026-4323 changed 2026-11-05CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-BROTLI-2026-111497 changed 2026-11-17Apache-2.0
Bitnami Vulnerability DatabaseBIT-DOTNET-2026-111497 changed 2026-11-17Apache-2.0
Bitnami Vulnerability DatabaseBIT-DOTNET-SDK-2026-111497 changed 2026-11-17Apache-2.0
Bitnami Vulnerability DatabaseBIT-NODE-2026-111497 changed 2026-11-05Apache-2.0
Bitnami Vulnerability DatabaseBIT-NODE-MIN-2026-111497 changed 2026-11-05Apache-2.0
Bitnami Vulnerability DatabaseBIT-POWERSHELL-2026-111497 changed 2026-11-17Apache-2.0
CISA KEVCVE-2026-111497 changed 2026-10-27CC0-1.0