Google out-of-bounds write in decompression decoder
Summary
Google's Brotli decoder (and software that bundles it) has an out-of-bounds write flaw that lets an attacker send a crafted Brotli-compressed stream, remotely and without logging in, to corrupt process memory, causing a crash, leaking memory contents, or running their own code. Public exploit code exists and the bug is being exploited in attacks.
Details
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
Affects Brotli 1.0.3 up to 1.2.0 and products bundling it, including Node.js 22.x, 24.x and 26.x when node:zlib decompresses attacker-supplied Brotli data. Fixed in Brotli 1.0.10, 1.1.1 or 1.2.1.
Suggested Fix
Upgrade to 1.0.10, 1.1.1, 1.2.1.
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---high
- https://github.com/andybalholm/brotli/releases/tag/v1.2.7
- https://ellio.tech/en/blog/node2shell-cve-2026-111497-rce-on-stock-nodejs-builds/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-111497
- https://github.com/advisories/GHSA-9v8h-qqgm-4m35
- http://www.openwall.com/lists/oss-security/2026/10/23/25
- https://lists.debian.org/debian-lts-announce/2026/10/msg00049.html
- http://www.openwall.com/lists/oss-security/2026/10/24/6