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

PackageVersions
Maven · io.netty:netty-codec-compressionintroduced 4.2.0.Final, fixed 4.2.16.Final
Maven · io.netty:netty-codecintroduced 0, fixed 4.1.136.Final

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database