8.7high
Netty Bzip2Decoder: Infinite Loop in RLE State Machine Leads to Event-Loop Thread Hang
- Severity
- 8.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.46% (higher than 32% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-558v-64gr-wgg4
Description
Netty is an asynchronous, event-driven network application framework. Prior to versions 4.1.136.Final and 4.2.16.Final, 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()`]. This issue has been fixed in versions 4.1.136.Final and 4.2.16.Final.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| netty netty | >=4.2.0.Final, < 4.2.16.Final, < 4.1.136.Final, before 4.1.136, from 4.2.0 before 4.2.16 | CVE List, NVD |
| io.netty:netty-codec-compression (Maven) | from 4.2.0.Final before 4.2.16.Final | GitHub Advisory Database |
| io.netty:netty-codec (Maven) | before 4.1.136.Final | GitHub Advisory Database |
All scores
| GitHub_M | 8.7high CVSS:4.0 | 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 |
| GitHub | high CVSS:4.0 | 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 |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Netty is an asynchronous, event-driven network application framework. Prior to versions 4.1.136.Final and 4.2.16.Final, 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()`]. This issue has been fixed in versions 4.1.136.Final and 4.2.16.Final.
GitHub Advisory Database
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-59901 changed 2026-07-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-558v-64gr-wgg4 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-59901 changed 2026-08-06 | Public domain |