Brotli Decoder Flaw Threatens Node.js, Bun, Python
Original source
Brotli Decoder Flaw Behind Node.js RCE Also Affects Bun, Python and Other Widely Used Software
The Hacker News →A memory-corruption vulnerability (CVE-2026-111497) in Google’s Brotli decoder exposes multiple software projects to potential remote code execution. The flaw allows maliciously crafted compressed data to overwrite buffer boundaries, corrupting program memory and potentially enabling attacker-controlled code execution. Node.js, Bun, Python’s Brotli and brotlicffi packages, Envoy proxies, and other tools reusing the decoder are all affected.
The vulnerability stems from a shared code base: because each project bundles its own copy of Google’s Brotli decoder, the same bug affects all of them simultaneously. Imperva researchers demonstrated active code execution on an unpatched Node.js build, though no exploitation has been observed in the wild. The vulnerability only threatens systems that process Brotli-compressed data from untrusted sources—a common scenario for web clients making HTTP requests or servers accepting compressed uploads.
The patching challenge is compounded by an unusual fix history: the code correction was merged into Brotli’s source code in February but no official release carried it until October 21. Each downstream project must independently update its bundled copy, creating a staggered patch timeline across the ecosystem. Immediate mitigation involves updating affected software, rejecting untrusted Brotli streams at network boundaries, or disabling automatic decompression in HTTP clients.
Read the full article
Continue reading at The Hacker News →This is an AI-generated summary. Read the original for the full story.