HTTP2Shell: Critical Brotli Flaw Enables RCE, Prompts Urgent Updates
Original source
Critical 'HTTP2Shell' Brotli vulnerability triggers emergency patches
BleepingComputer →A critical buffer overflow in Brotli, Google’s open-source compression library, threatens applications across multiple ecosystems. Tracked as CVE-2026-111497 and also known as “Broccoli2Shell” and “Node2Shell,” the flaw affects Brotli versions 1.0.3 through 1.0.9, 1.1.0, and 1.2.0. The vulnerability impacts Node.js, Python HTTP clients including urllib3[brotli], requests, and httpx, plus other applications decompressing untrusted Brotli data.
The flaw stems from improper handling of invalid block switches in compressed streams. When a malicious payload triggers an invalid block switch, the decoder misinterprets it as a request for more data, causing it to overwrite an 8-byte internal buffer and corrupt adjacent memory. This enables attackers to crash processes, expose memory, and achieve remote code execution. Microsoft released an emergency .NET patch, noting that successful exploitation allows privilege escalation.
Fixes arrived October 21 for Node.js and Brotli itself, with Python packages following on October 23. Patched versions include Brotli 1.0.10/1.1.1/1.2.1, Node.js 22.23.4/24.22.1/26.12.1, and Python Brotli 1.2.1. PoC exploits exist but no active abuse has been reported. Administrators must restart affected processes and rebuild container images. Updating system Brotli doesn’t protect bundled copies in applications, and blocking inbound Brotli traffic leaves the malicious HTTP-response vector open. If patching is delayed, disable Brotli in Python apps or block Brotli traffic at the proxy.
Read the full article
Continue reading at BleepingComputer →This is an AI-generated summary. Read the original for the full story.