CVE-2026-59901
Netty Bzip2Decoder: Infinite Loop in RLE State Machine Leads to Event-Loop Thread Hang
Also known as GHSA-558v-64gr-wgg4
Mitigation
- Upgrade io.netty:netty-codec-compression to 4.2.16.Final or later.
- Upgrade io.netty:netty-codec to 4.1.136.Final or later.
Who should check
- Projects that depend on Maven package io.netty:netty-codec-compression (>= 4.2.0.Final, < 4.2.16.Final)
- Projects that depend on Maven package io.netty:netty-codec (< 4.1.136.Final)
- Anyone running netty >=4.2.0.Final, < 4.2.16.Final; < 4.1.136.Final
Vulnerability facts
- Affected
- io.netty:netty-codec-compression >= 4.2.0.Final, < 4.2.16.Final; io.netty:netty-codec < 4.1.136.Final
- Fixed in
- 4.2.16.Final, 4.1.136.Final
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.7 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.46% chance of exploitation in 30 days (percentile 32, 2026-11-26)
- CWE
- CWE-835
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven io.netty:netty-codec-compression | >= 4.2.0.Final, < 4.2.16.Final | 4.2.16.Final | osv |
| Maven io.netty:netty-codec | < 4.1.136.Final | 4.1.136.Final | osv |
| netty | >=4.2.0.Final, < 4.2.16.Final; < 4.1.136.Final | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-59901. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-59901.md Affected: io.netty:netty-codec-compression >= 4.2.0.Final, < 4.2.16.Final; io.netty:netty-codec < 4.1.136.Final Fixed in: 4.2.16.Final, 4.1.136.Final Steps: 1. Search this machine and project for io.netty:netty-codec-compression (Maven), io.netty:netty-codec (Maven), netty: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-59901 being exploited?
There is no confirmed exploitation: CVE-2026-59901 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.46% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-59901?
High: CVSS 8.7 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-59901?
io.netty:netty-codec-compression >= 4.2.0.Final, < 4.2.16.Final; io.netty:netty-codec < 4.1.136.Final.
Is there a fix for CVE-2026-59901?
Yes. Fixed in 4.2.16.Final, 4.1.136.Final. Upgrade io.netty:netty-codec-compression to 4.2.16.Final or later. Upgrade io.netty:netty-codec to 4.1.136.Final or later.
How do I check if I'm affected by CVE-2026-59901?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.