GHSA-558v-64gr-wgg4
Netty: [Bzip2Decoder] Infinite Loop in RLE State Machine Leads to Event-Loop Thread Hang
At a glance
- Published
- Updated
- CVE
- CVE-2026-59901
- CVSS_V4
- 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
Description
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 packages
| Package | Versions |
|---|---|
| Maven · io.netty:netty-codec-compression | introduced 4.2.0.Final, fixed 4.2.16.Final |
| Maven · io.netty:netty-codec | introduced 0, fixed 4.1.136.Final |
References
- https://github.com/netty/netty/security/advisories/GHSA-558v-64gr-wgg4 WEB
- https://github.com/netty/netty PACKAGE
- https://github.com/netty/netty/releases/tag/netty-4.1.136.Final WEB
- https://github.com/netty/netty/releases/tag/netty-4.2.16.Final WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |