Out-of-bounds Write (HTTP2Shell) Affecting com.aayushatharva.brotli4j:all package, versions [,1.24.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends
Exploit Maturity
Attacked
EPSS
82.64% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-COMAAYUSHATHARVABROTLI4J-21762878
  • published28 Oct 2026
  • disclosed21 Oct 2026
  • creditmcollina

Introduced: 21 Oct 2026

NewCVE-2026-111497  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade com.aayushatharva.brotli4j:all to version 1.24.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write (HTTP2Shell) via block-switch handling in the Brotli decoder, specifically DecodeBlockTypeAndLength in deps/brotli/c/dec/decode.c. An attacker can execute arbitrary code by supplying a crafted Brotli-compressed stream with an invalid block switch to the code that decodes it; the decoder fails to propagate the block-switch error during command processing, allowing the out-of-bounds write.

Notes

  • At a literal, command, or distance block-switch, the vulnerable path is reached when that stream’s block-type count is at most one (max_block_type <= 1); the decoder’s boolean failure is then discarded by the unsafe switch path, which continues processing.

CVSS Base Scores

version 4.0
version 3.1