Brotli decoder overflow leaks memory, RCE risk
Actively exploited
Risk assessment
Brotli 1.0.3-1.2.0 decoder buffer overflow (CVSS 9.2) lets remote attackers leak memory, crash decoders, or run code. Update to 1.2.1.
What to do
Apply the latest security patches from the vendor. If patching is not immediately possible, review the mitigation steps in this advisory and monitor for exploitation attempts.
- No fixed version listed yet. Restrict exposure and watch the vendor advisory. NVD references
- Remediation and Mitigation in this advisory
Exploitation confirmed - public proof-of-concept - CVE-2026-111497 is a critical buffer overflow in the Google Brotli decoder (c/dec/decode.c) affecting versions 1.0.3 through 1.2.0 on all platforms, and it lets a remote unauthenticated attacker corrupt adjacent decoder state memory, disclose sensitive memory contents, cause a denial of service, or potentially execute arbitrary code with a crafted Brotli-compressed stream. Patched in 1.2.1 (also 1.0.10 and 1.1.1); update any embedded Brotli library immediately.
Overview
Brotli is a compression algorithm Google maintains and ships widely: browsers, web servers, CDNs, HTTP client libraries, and countless applications embed the reference C/C++ decoder. The bug lives in c/dec/decode.c, where the decoder mishandles certain length or state transitions while processing a compressed stream. When a target decodes a maliciously crafted Brotli stream, the write exceeds the intended buffer and lands in adjacent decoder state memory.
Because Brotli decoding is typically reachable over the network - think Content-Encoding: br on an HTTP response or a request body an application decompresses - an attacker needs no credentials and no user interaction. They only need the victim to decode attacker-supplied data. The CVSS 9.2 score reflects that: network vector, low complexity, no privileges, no interaction.
Impact
The consequences depend on how the decoder is reached:
- Memory disclosure. Corrupted decoder state can cause sensitive heap contents to leak into decompressed output, exposing secrets such as keys, tokens, or adjacent request data.
- Denial of service. A malformed stream can crash the decoder outright, taking down servers, proxies, or client processes.
- Potential code execution. In the worst case, controlled corruption of adjacent state can be steered toward arbitrary code execution. The public proof-of-concept demonstrates the overflow; reliable exploitation depends on the specific build, hardening flags, and memory layout.
Any service that decompresses untrusted Brotli data - web servers, API gateways, proxies, crawlers, mail scanners, and anything linking a bundled Brotli library - should be treated as exposed.
Remediation and Mitigation
- Upgrade the Brotli library. Move to 1.2.1. If you are pinned to an older line, 1.1.1 or 1.0.10 carry the fix. Verify the version your application actually links, including statically compiled copies and transitive dependencies.
- Audit embedded copies. Language runtimes, HTTP clients, load balancers, and container base images often vendor their own Brotli. Grep build manifests and SBOMs for
brotliand confirm each instance. - Interim mitigation. Where you cannot patch immediately, disable Brotli decompression of untrusted data (reject or strip
Content-Encoding: brat the edge) and avoid decompressing attacker-controlled payloads. - Harden builds. Compile with stack protection, ASLR, and modern allocator hardening to raise the bar for turning the overflow into code execution.
Security Insight
Brotli’s bug is a reminder that ubiquitous, low-level codecs are a systemic supply-chain risk: one overflow in a library nobody thinks about ships into browsers, servers, and embedded devices simultaneously. The disclosure also carries a familiar pattern of a public proof-of-concept arriving alongside the fix, compressing the patch window to days. Compare this to the recent Chrome V8 zero-day and the broader weekly threat roundup: decoder and parser bugs remain the workhorse of real-world exploitation, and organizations that inventory third-party libraries catch them faster than those that only track top-level vendors.
Further Reading
Exploit references 50 PoC Show
Public PoC References
Unverified third-party code
These repositories are publicly listed on GitHub and have not been audited by Yazoul Security. They may contain malware, backdoors, destructive payloads, or operational security risks (telemetry, exfiltration). Treat them as hostile binaries. Inspect source before execution. Run only in isolated, disposable lab environments (offline VM, no credentials, no production data).
Authorized use only. This information is provided for defensive research, detection engineering, and patch validation. Using exploit code against systems you do not own or do not have explicit written permission to test is illegal in most jurisdictions and violates Yazoul's terms of use.
| Repository | Stars |
|---|---|
| dimasma0305/CVE-2026-111497-POC Reproducible local Brotli decoder proof for CVE-2026-111497 with a self-checking tuned RCE harness | ★ 81 |
| syrex1013/CVE-2026-111497-node2shell CVE-2026-111497 Node2Shell — Node.js Brotli OOB Write RCE PoC (CVSS 9.2) | ★ 52 |
| MchinaMd57764/CVE-2026-111497-PoC | ★ 52 |
| caveeroo/cve-2026-111497-wordpress-poc CVE-2026-111497 RCE PoC for one pinned Docker Official Image for WordPress | ★ 31 |
| CaterMaoZi/CVE-2026-111497-POC Nodejs漏洞 CVE-2026-111497 POC | ★ 17 |
Showing 5 of 50 known references. Source: nomi-sec/PoC-in-GitHub.
Related
- CVE-2026-0300 · PAN-OS unauth RCE exploited in the wildMay 6, 2026
- CVE-2026-42483 · hashcat heap overflow DoS or RCEMay 1, 2026
- CVE-2026-32956 · SD-330AC and AMC Manager unauthenticated RCEApr 20, 2026
- CVE-2026-6296 · Chrome sandbox escape via heap overflowApr 15, 2026
- CISA adds Adobe Commerce and Brotli bugs to KEVOct 28, 2026
- Weekly Threat Roundup: VeloCloud Exploit, Camel Bugs (Oct 19–25)Oct 25, 2026