CVE-2025-58057Netty
Medium 6.9 No auth needed
Follow: this CVE · Netty · Netty We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 4.0
- 6.9
- EPSS
- —
- Auth required
- No
- Published
- Sep 4, 2025
- Updated
- Oct 19, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-409
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. In netty-codec-compression versions 4.1.124.Final and below, and netty-codec versions 4.2.4.Final and below, when supplied with specially crafted input, BrotliDecoder and certain other decompression decoders will allocate a large number of reachable byte buffers, which can lead to denial of service. BrotliDecoder.decompress has no limit in how often it calls pull, decompressing data 64K bytes at a time. The buffers are saved in the output list, and remain reachable until OOM is hit. This is fixed in versions 4.1.125.Final of netty-codec and 4.2.5.Final of netty-codec-compression.
What to do
- Apply the vendor's security update for Netty.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | io.netty:netty-codec |
< 4.1.125.Final |
4.1.125.Final |
— |
| Maven | io.netty:netty-codec-compression |
≥ 4.2.0.Alpha1 < 4.2.5.Final |
4.2.5.Final |
— |
Per OSV / GitHub Advisories (GHSA-3p8m-j85q-pgmj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| netty | netty | < 4.1.125 |
| netty | netty | ≥ 4.2.0 < 4.2.5 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory