Node.js has released critical security updates addressing a high-severity flaw in its bundled Brotli decoder that can lead to out-of-bounds memory writes and remote code execution.
The vulnerability, identified as CVE-2026-111497, occurs when a Node.js process decodes attacker-controlled Brotli content, a scenario common in services that accept compressed responses or handle third-party data. This memory corruption issue falls into the category of out-of-bounds writes, where the process writes data beyond allocated buffers, potentially allowing arbitrary code execution under favorable conditions.
The October 21, 2026 security release provides fixes for all currently supported branches. Updated versions include Node.js 22.23.4, 24.22.1, and 26.12.1. Branches 18.x, 20.x, 23.x, and 25.x receive no official patches and require migration to a supported release.
Environments that compile Node.js against a system-provided Brotli library must ensure the dependency incorporates upstream commit 0ed4268 to eliminate residual risk. The same patch batch resolves additional high-severity issues, including hostname validation problems in TLS implementations.
Organizations should inventory services that decode Brotli data, prioritize those accepting untrusted input, and apply updates across production systems, container images, CI runners, and developer workstations to prevent reintroduction of the vulnerability.


