Brotli Decoder Flaw Behind Node.js RCE Also Affects Bun, Python and Other Widely Used Software

A memory corruption vulnerability exists in Google’s Brotli decoder in various applications that decompress Brotli data including Bun, Microsoft’s .NET, Python’s Brotli and brotlicffi packages, and Envoy proxies configured to decompress Brotli data.

This issue (CVE-2026-111497) can be exploited by crafted compressed data to cause out-of-bounds writes that corrupt memory in an application. This may lead to a crash, memory leak or control of execution by an attacker.

Imperva researchers have demonstrated that arbitrary code can be executed in one unpatched Node.js build. It has not been shown that arbitrary code can be executed in the other applications. There are no known attacks in the wild.

The problem was first reported on October 21st, with patches being released for Node.js and Google. Since then there have been patches for each product. As the error is present inside Google’s decode code, and every program includes a copy of the code, they need to be updated individually.

Brotli is a compression format used throughout the web created by Google. As the error is in the C code that decompresses the Brotli stream, the error affects any software that uses this code. This ranges from language runtimes to proxies and Python packages read more about Brotli Decoder Flaw Behind Node.js RCE Also Affects Bun Python and Other Widely Used Software

Get up to date on the latest cybersecurity news and enhance your knowledge of cybersecurity with our thorough coverage of the dangers, breaches, and solutions.

Leave a Reply

Your email address will not be published. Required fields are marked *