NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central
Maven Central, #635 by repository stars
Latest stable
4.2.20.Final
Last release 20 days ago
02 Nov 2026
Ships fairly regularly
a new release about every 5 weeks
Some releases are documented
notes for 19 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
259 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
https://github.com/netty/netty/security/advisories/GHSA-m77g-r4c7-3w77 - out-of-bounds read in netty-buffer
netty-buffernetty-codec-http3netty-buffernetty-resolver-dnsnetty-codec-http2netty-codec-httpnetty-codec-classes-quicnetty-buffernetty-codec-mqttnetty-handler and netty-codec-quicReferenceCountedOpenSslEngine by @gavinbunney in https://github.com/netty/netty/pull/17781Full Changelog: https://github.com/netty/netty/compare/netty-4.2.19.Final...netty-4.2.20.Final
Your coding agent can read these notes before it upgrades. Set up the MCP server →
We strongly recommend upgrading to this version to get the following security fixes:
Note that Netty 4.1 will be End-of-Life on July 1st, 2027.
We strongly recommend upgrading to this version to get the following security fixes:
io.netty:netty-codec-haproxyio.netty:netty-codec-httpio.netty:netty-codec-httpio.netty:netty-codec-http2io.netty:netty-codec-httpio.netty:netty-handler-ssl-ocspio.netty:netty-handlerio.netty:netty-codec-xmlio.netty:netty-codec-baseio.netty:netty-codec-httpio.netty:netty-codec-socksio.netty:netty-handlerio.netty:netty-codec-dnsio.netty:netty-codec-http3io.netty:netty-transport-classes-io_uringio.netty:netty-transport-native-io_uringNote that due to overwhelming strain on the CVE infrastructure, we have not gotten a single CVE number assigned to these reports in time for our release. The advisories will be published without.
Specific changes worth calling out:
Validation in FileUpload.setContentType.
Previously, the FileUpload.setContentType methods did not validate their inputs.
They now throw an IllegaalArgumentException if the given string is not formatted as a plausible MIME content type.
IoEventLoopGroup.isCompatible/isIoType side-effect free by @idelpivnitskiy in https://github.com/netty/netty/pull/17544ByteBuf.setBytes(int, ByteBuffer) when the source is the buffer's own internal NIO buffer by @laosijikaichele in https://github.com/netty/netty/pull/17618AdaptiveByteBuf.getBytes(...) channel variants by @laosijikaichele in https://github.com/netty/netty/pull/17620clear() on ByteBuffer after AdaptiveByteBuf.internalNioBuffer() by @laosijikaichele in https://github.com/netty/netty/pull/17619Full Changelog: https://github.com/netty/netty/compare/netty-4.2.18.Final...netty-4.2.19.Final
CVE-2026-XXXXX : unbounded resource usage in io.netty:netty-codec-http (SPDY)
io.netty:netty-codec-http (SPDY)io.netty:netty-codec-http (HTTP/1.1)io.netty:netty-codec-http2io.netty:netty-handler-ssl-ocspio.netty:netty-codec-stompio.netty:netty-codec-httpio.netty:netty-codec-http3io.netty:netty-codec-stompio.netty:netty-codec-memcacheio.netty:netty-codec-http3io.netty:netty-codec-http3io.netty:netty-codec-http3io.netty:netty-codec-httpio.netty:netty-codec-smtpio.netty:netty-codec-haproxyio.netty:netty-codec-http (RTSP)io.netty:netty-codec-http (HTTP/1)io.netty:netty-codec-http2io.netty:netty-codec-http (HTTP/1)io.netty:netty-codec-http3io.netty:netty-codec-http3 and in io.netty:netty-codec-http2io.netty:netty-codec-http2io.netty:netty-codec-classes-quicio.netty:netty-codec-redisio.netty:netty-codec-http (HTTP/1.1)io.netty:netty-codec-http (HTTP/1.1)io.netty:netty-codec-mqttio.netty:netty-codec-smtpio.netty:netty-handler-ssl-ocspio.netty:netty-codec-http2A number of security fixes have added additional validation and impose new resource usage limits, which may cause existing workloads to fail or be rejected. We recommend that you test your systems thoroughly as part of your Netty upgrade.
Two specific changes are worth calling out:
QUIC now explicitly requires X509ExtendedTrustManager when hostname verification is enabled.
Previously, when configuring QUIC with an endpoint identification algorithm and an X509TrustManager, hostname verification would be silently skipped.
This is now considered a misconfiguration and an exception will be thrown.
HTTP/2 header value validation is now enabled by default. HTTP/2 header name validation has always been enabled by default, with an option to disable it, but HTTP/2 header value validation has been disabled by default until now. Configuration options still exist to disable this, but validation of HTTP header names and values are now both opt-in by default rather than opt-out.
Full Changelog: https://github.com/netty/netty/compare/netty-4.2.17.Final...netty-4.2.18.Final
AsciiString.cached(String) should sanitize the provided String (#13749) by @vpelikh in https://github.com/netty/netty/pull/17007
HttpObjectEncoder / DefaultHttp2FrameWriter: fix buffer leak when a Throwable is thrown during header encoding by @HwangRock in https://github.com/netty/netty/pull/17089HttpServerCodec: do not consume the method queue for 1xx interim responses by @HwangRock in https://github.com/netty/netty/pull/17182.editorconfig to enforce consistent coding style by @vpelikh in https://github.com/netty/netty/pull/17052Full Changelog: https://github.com/netty/netty/compare/netty-4.2.16.Final...netty-4.2.17.Final
IpFilter: Deprecate constructor which use accept by default by @normanmaurer in https://github.com/netty/netty/pull/16961
AbstractCoalescingBufferQueue readableBytes when it drains, and fail stuck HTTP/2 streams instead of spinning empty DATA frames by @gavinbunney in https://github.com/netty/netty/pull/16947Full Changelog: https://github.com/netty/netty/compare/netty-4.2.15.Final...netty-4.2.16.Final
CVE-2026-48059: memory exhaustion in io.netty:netty-codec-haproxy (high).
io.netty:netty-codec-haproxy (high).io.netty:netty-resolver-dns (high).io.netty:netty-codec-http2.io.netty:netty-codec-redis (high).io.netty:netty-codec-redis (high).io.netty:netty-codec-redis (high).io.netty:netty-codec-classes-quic.io.netty:netty-handler (high).io.netty:netty-codec-http.io.netty:netty-codec-http3 (high).io.netty:netty-codec-haproxy (high).io.netty:netty-codec-classes-quic (high).io.netty:netty-handler (high).io.netty:netty-resolver-dns.io.netty:netty-handler (high).io.netty:netty-transport-native-epoll and io.netty:netty-transport-native-kqueue.io.netty:netty-resolver-dns (high).io.netty:netty-transport-sctp (high).io.netty:netty-codec-http2.io.netty:netty-codec-redis (high).io.netty:netty-codec-http3 (high).io.netty:netty-codec-http2.Full Changelog: https://github.com/netty/netty/compare/netty-4.2.14.Final...netty-4.2.15.Final
HTTP: Fix revapi failure introduced by 84530fa81e12dcd1d42310bb20c1385cb44128d8 by @normanmaurer in https://github.com/netty/netty/pull/16748
Full Changelog: https://github.com/netty/netty/compare/netty-4.2.13.Final...netty-4.2.14.Final
CVE-2026-42586 (netty-codec-redis)
The patch for CVE-2026-42581 prohibits HTTP/1.1 requests containing both the Transfer-Encoding and Content-Length headers, in line with RFC 9112. Previous versions of HTTP/1.1 (RFC 7230) permitted this combination. You can restore the old behavior with the -Dio.netty.handler.codec.http.rfc9112TransferEncoding=false system property or with HttpDecoderConfig. Note that disabling this check may lead to request smuggling vulnerabilities.
shutdownInput bug in kqueue for empty recv buffer by @chrisvest in https://github.com/netty/netty/pull/16630Full Changelog: https://github.com/netty/netty/compare/netty-4.2.12.Final...netty-4.2.13.Final
Revert "Eliminate redundant bounds checks in CompositeByteBuf accessors" by @chrisvest in https://github.com/netty/netty/pull/16550
Full Changelog: https://github.com/netty/netty/compare/netty-4.2.11.Final...netty-4.2.12.Final
CVE-2026-33871, HTTP/2 CONTINUATION Frame Flood Denial of Service
unreserveMatchingBuddy(...) if byteBuf initialization failed by @laosijikaichele in https://github.com/netty/netty/pull/16327ensureAccessible() call in capacity(int) method by @laosijikaichele in https://github.com/netty/netty/pull/16473CloseWebSocketFrame by @Munoon in https://github.com/netty/netty/pull/16486ClosedChannelException with StacklessClosedChannelException by @Munoon in https://github.com/netty/netty/pull/16506Full Changelog: https://github.com/netty/netty/compare/netty-4.2.10.Final...netty-4.2.11.Final
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
https://github.com/netty/netty/security/advisories/GHSA-m77g-r4c7-3w77 - out-of-bounds read in netty-buffer
netty-buffernetty-buffernetty-resolver-dnsnetty-codec-http2netty-codec-httpnetty-buffernetty-codec-mqttnetty-handlerReferenceCountedOpenSslEngine (#17781) by @normanmaurer in https://github.com/netty/netty/pull/17824Full Changelog: https://github.com/netty/netty/compare/netty-4.1.139.Final...netty-4.1.140.Final
We strongly recommend upgrading to this version to get the following security fixes:
Note that Netty 4.1 will be End-of-Life on July 1st, 2027.
We strongly recommend upgrading to this version to get the following security fixes:
io.netty:netty-codec-haproxyio.netty:netty-codec-httpio.netty:netty-codec-httpio.netty:netty-codec-http2io.netty:netty-codec-httpio.netty:netty-handler-ssl-ocspio.netty:netty-handlerio.netty:netty-codec-xmlio.netty:netty-codec-baseio.netty:netty-codec-httpio.netty:netty-codec-socksio.netty:netty-handlerio.netty:netty-codec-dnsNote that due to overwhelming strain on the CVE infrastructure, we have not gotten a single CVE number assigned to these reports in time for our release. The advisories will be published without.
Specific changes worth calling out:
Validation in FileUpload.setContentType.
Previously, the FileUpload.setContentType methods did not validate their inputs.
They now throw an IllegaalArgumentException if the given string is not formatted as a plausible MIME content type.
ByteBuf.setBytes(int, ByteBuffer) when the source is the buffer's own internal NIO buffer (#17618) by @normanmaurer in https://github.com/netty/netty/pull/17626AdaptiveByteBuf.getBytes(...) channel variants by @netty-project-bot in https://github.com/netty/netty/pull/17629clear() on ByteBuffer after AdaptiveByteBuf.internalNioBuffer() (#17619) by @normanmaurer in https://github.com/netty/netty/pull/17653Full Changelog: https://github.com/netty/netty/compare/netty-4.1.138.Final...netty-4.1.139.Final
CVE-2026-XXXXX : unbounded resource usage in io.netty:netty-codec-http (SPDY)
io.netty:netty-codec-http (SPDY)io.netty:netty-codec-http (HTTP/1.1)io.netty:netty-codec-http2io.netty:netty-handler-ssl-ocspio.netty:netty-codec-stompio.netty:netty-codec-httpio.netty:netty-codec-stompio.netty:netty-codec-memcacheio.netty:netty-codec-httpio.netty:netty-codec-smtpio.netty:netty-codec-haproxyio.netty:netty-codec-http (RTSP)io.netty:netty-codec-http (HTTP/1)io.netty:netty-codec-http2io.netty:netty-codec-http2io.netty:netty-codec-http2io.netty:netty-codec-redisio.netty:netty-codec-http (HTTP/1.1)io.netty:netty-codec-http (HTTP/1.1)io.netty:netty-codec-mqttio.netty:netty-codec-smtpio.netty:netty-handler-ssl-ocspio.netty:netty-codec-http2HTTP/2 header value validation is now enabled by default. HTTP/2 header name validation has always been enabled by default, with an option to disable it, but HTTP/2 header value validation has been disabled by default until now. Configuration options still exist to disable this, but validation of HTTP header names and values are now both opt-in by default rather than opt-out.
Full Changelog: https://github.com/netty/netty/compare/netty-4.1.137.Final...netty-4.1.138.Final
Auto-port 4.1: AsciiString.cached(String) should sanitize the provided String (#13749) by @netty-project-bot in https://github.com/netty/netty/pull/17
HttpObjectEncoder / DefaultHttp2FrameWriter: fix buffer leak when a Throwable is thrown during header encoding by @netty-project-bot in https://github.com/netty/netty/pull/17178HttpServerCodec: do not consume the method queue for 1xx interim responses (#17182) by @normanmaurer in https://github.com/netty/netty/pull/17203.editorconfig to enforce consistent coding style by @netty-project-bot in https://github.com/netty/netty/pull/17209Full Changelog: https://github.com/netty/netty/compare/netty-4.1.136.Final...netty-4.1.137.Final
Auto-port 4.1: IpFilter: Deprecate constructor which use accept by default by @netty-project-bot in https://github.com/netty/netty/pull/16973
AbstractCoalescingBufferQueue readableBytes when it drains, and fail stuck HTTP/2 streams instead of spinning empty DATA frames by @netty-project-bot in https://github.com/netty/netty/pull/16997Full Changelog: https://github.com/netty/netty/compare/netty-4.1.135.Final...netty-4.1.136.Final
CVE-2026-48059: memory exhaustion in io.netty:netty-codec-haproxy (high).
io.netty:netty-codec-haproxy (high).io.netty:netty-resolver-dns (high).io.netty:netty-codec-http2.io.netty:netty-codec-redis (high).io.netty:netty-codec-redis (high).io.netty:netty-codec-redis (high).io.netty:netty-handler (high).io.netty:netty-codec-http.io.netty:netty-codec-haproxy (high).io.netty:netty-handler (high).io.netty:netty-resolver-dns.io.netty:netty-handler (high).io.netty:netty-transport-native-epoll and io.netty:netty-transport-native-kqueue.io.netty:netty-resolver-dns (high).io.netty:netty-transport-sctp (high).io.netty:netty-codec-http2.io.netty:netty-codec-redis (high).io.netty:netty-codec-http2.Full Changelog: https://github.com/netty/netty/compare/netty-4.1.134.Final...netty-4.1.135.Final
Auto-port 4.1: HTTP: Re-add constructor to HttpProxyHandler that was removed by mistake by @netty-project-bot in https://github.com/netty/netty/pull/1
Full Changelog: https://github.com/netty/netty/compare/netty-4.1.133.Final...netty-4.1.134.Final
CVE-2026-42586 (netty-codec-redis)
shutdownInput bug in kqueue for empty recv buffer (#16630) by @normanmaurer in https://github.com/netty/netty/pull/16638Full Changelog: https://github.com/netty/netty/compare/netty-4.1.132.Final...netty-4.1.133.Final
CVE-2026-33871, HTTP/2 CONTINUATION Frame Flood Denial of Service
unreserveMatchingBuddy(...) if byteBuf initialization failed by @netty-project-bot in https://github.com/netty/netty/pull/16331ensureAccessible() call in capacity(int) method by @netty-project-bot in https://github.com/netty/netty/pull/16475Full Changelog: https://github.com/netty/netty/compare/netty-4.1.131.Final...netty-4.1.132.Final
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.