High

Netty: [Bzip2Decoder] Infinite Loop in RLE State Machine Leads to Event-Loop Thread Hang

  • Disclosed: 22.07.2026
  • Updated: 11.10.2026 13:20

The Bzip2Decoder handler in Netty's compression codec pipeline is vulnerable to a denial-of-service attack through a malformed bzip2 stream that permanently captures the event-loop thread in an infinite loop. The vulnerability exists in the run-length encoding (RLE) state machine within [Bzip2BlockDecompressor.read()]

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) io.netty:netty-codec < 4.1.136.Final 4.1.136.Final
Java / Kotlin (Maven) io.netty:netty-codec-compression >= 4.2.0.Final, < 4.2.16.Final 4.2.16.Final

References

CVSS score -
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Weakness (CWE)
CWE-835
Platform
Java / Kotlin (Maven)
Package
io.netty:netty-codec, io.netty:netty-codec-compression
Disclosed
22.07.2026
Updated
11.10.2026 13:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-558v-64gr-wgg4 - CC BY 4.0

Vulnerability history: io.netty:netty-codec-compression

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
09.2025 07.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 1

Disclosures per year

  1. 2025: 1
  2. 2026: 2
  1. Netty: [Bzip2Decoder] Infinite Loop in RLE State Machine Leads to Event-Loop Thread Hang this entry
    High CVE-2026-59901 >= 4.2.0.Final, < 4.2.16.Final 4.2.16.Final
  2. High · 7.5 CVE-2026-42583 < 4.2.13.Final 4.2.13.Final
  3. Medium CVE-2025-58057 >= 4.2.0.Alpha1, < 4.2.5.Final 4.2.5.Final

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.