- CVE ID
- CVE-2025-58057
- CVE Description
- 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.
- Published
- Sep 4, 2025
- CVSS Score & Severity
7.5High
- CVSS Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS Score
- 0.068%
- KEV Status
Not in KEV Catalog: No known exploits
- Vulnerable Methods
io/netty/handler/codec/compression/BrotliDecoder.decompress(Lio/netty/buffer/ByteBuf;Ljava/util/List;Lio/netty/buffer/ByteBufAllocator;)Lio/netty/handler/codec/compression/BrotliDecoder$State;JVMVulnerable params: 0
io/netty/handler/codec/compression/JZlibDecoder.decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)VJVMVulnerable params: 1
io/netty/handler/codec/compression/JdkZlibDecoder.decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)VJVMVulnerable params: 1
io/netty/handler/codec/http/HttpContentDecoder.decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/HttpObject;Ljava/util/List;)VJVMVulnerable params: 1
io/netty/handler/codec/http/HttpContentDecoder.decodeContent(Lio/netty/handler/codec/http/HttpContent;Ljava/util/List;)VJVMVulnerable params: 0
- Source
- National Vulnerability Database