You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bundled Brotli 1.2.0 is affected by CVE-2026-111497 (decoder out-of-bounds write) #579
CVE-2026-111497 is an out-of-bounds write in the Brotli C decoder (c/dec/decode.c, versions 1.0.3 through 1.2.0). A crafted stream can request an impossible block switch, which the decoder mistakes for "needs more input". It then writes past the end of an internal 8-byte buffer. GitHub rates it 9.2 (CVSS 4.0), and Node.js shipped fixes for it on 2026-10-21.
C/brotli bundles Brotli 1.2.0 (as listed in the README, and its decode.h doesn't include the fix). The decoder runs when 7-Zip-zstd opens Brotli-compressed archives or .br files, so opening a crafted file is enough to reach the bug.
Upstream fixed this in Brotli 1.0.10, 1.1.1 and 1.2.1 (fix commit). Updating the bundled copy to v1.2.1, or applying that commit, resolves it. A patched copy is easy to recognise: its decode.h defines BROTLI_DECODER_ERROR_FORMAT_BLOCK_SWITCH (-17).
Activity
stefano2734 commentedon Oct 27, 2026
Yes, now a big thing.
See in German
Brotli-Decoder-Lücke nicht nur in Node.js, sondern auch in Bun, Python und mehr | heise online
sebres commentedon Nov 2, 2026
v26.05-v1.5.7-R1 with brotli 1.2.1 is released now.