A buffer overflow exists in the Brotli decoder `c/dec/decode.c` due to a missing return value check. A remote unauthenticated attacker can exploit this by sending a specially crafted Brotli-compressed stream, which causes an invalid block switch that the decoder misinterprets as a request for more input. This leads to data being written beyond the limits of an internal eight-byte buffer, corrupting adjacent decoder state memory. This flaw, nicknamed Node2Shell or HTTP2Shell, can result in a denial of service, disclosure of sensitive memory contents, privilege escalation, or remote code execution. The issue affects various HTTP clients and servers that decompress Brotli data, including those in Node.js, Python, and .NET environments. Real-world scanning and exploit attempts have been observed.