CVE-2026-59901: Netty: [Bzip2Decoder] Infinite Loop in RLE State Machine Leads to Event-Loop Thread Hang
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()]
Published Jul 22, 2026
Affected packages
io.netty:netty-codec-compression
- Ecosystem
- Maven
- Affected
- >= 4.2.0.Final, < 4.2.16.Final
- Fixed in
- 4.2.16.Final
- Check
mvn dependency:tree -Dincludes=io.netty:netty-codec-compression
io.netty:netty-codec
- Ecosystem
- Maven
- Affected
- < 4.1.136.Final
- Fixed in
- 4.1.136.Final
- Check
mvn dependency:tree -Dincludes=io.netty:netty-codec
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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()]
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
