RC RANDOM CHAOS

Critical Brotli Flaw in HTTP Stack Affects Multiple Languages

· via Hacker News

Original source

Node2Shell evolves to HTTP2Shell, blast radius affects many HTTP libs and apps

Hacker News →

CVE-2026-111497 is a critical out-of-bounds write vulnerability in Google’s Brotli compression library (versions 1.0.3–1.2.0) with a CVSS score of 9.2. A remote attacker can exploit the flaw by sending specially crafted compressed data to trigger memory corruption, leak sensitive data, crash processes, or execute arbitrary code. The root cause is a decoder logic error that fails to properly validate compressed streams, allowing malicious bytes to overflow working buffers and compromise memory integrity.

The vulnerability spreads across the HTTP infrastructure because Brotli is bundled into Node.js, Python, curl, Bun, Envoy, Istio, and other major components. Popular Python HTTP clients like requests, httpx, and aiohttp automatically load Brotli when available, expanding exposure. OpenAI discovered the flaw in February; though the underlying bug was patched in Brotli’s source code then, the security implications weren’t understood until now, leaving projects using the vulnerable version unaware of the risk.

The attack surface is bidirectional—malicious servers can target clients accepting compressed responses, while malicious clients can target servers. Vendors have released patches (Brotli 1.2.1, updated Node.js versions, etc.), and immediate upgrade is critical. For environments unable to patch immediately, disabling Brotli decoding at the network or application layer provides temporary mitigation.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.