#1143052 netty: CVE-2026-56821 CVE-2026-56822 CVE-2026-59898 CVE-2026-59899 CVE-2026-59900 CVE-2026-59901 CVE-2026-59919 CVE-2026-59920 CVE-2026-59921

Package:
src:netty
Source:
src:netty
Submitter:
Salvatore Bonaccorso
Date:
2026-11-16 13:35:06 UTC
Severity:
normal
Tags:
#1143052#5
Date:
2026-07-30 04:32:53 UTC
From:
To:
Hi,

The following vulnerabilities were published for netty.

This is the next batch of CVEs, fixed in 4.1.136.Final.

CVE-2026-56821[0]:
| Netty is an asynchronous, event-driven network application
| framework. Prior to versions 4.1.136.Final and 4.2.16.Final, the
| OcspServerCertificateValidator flags an out-of-date OCSP response
| but does not stop processing it, so an expired GOOD response is
| still reported as VALID, letting an on-path attacker replay a stale
| GOOD response to bypass revocation of a since-revoked certificate.
| Exploitation can lead to certificate revocation bypass via replay of
| an expired OCSP response. Any application using
| OcspServerCertificateValidator is affected; a revoked certificate
| can be accepted. This issue has been fixed in versions 4.1.136.Final
| and 4.2.16.Final.


CVE-2026-56822[1]:
| Netty is an asynchronous, event-driven network application
| framework. Prior to versions 4.1.136.Final and 4.2.16.Final, the
| OcspServerCertificateValidator forwards the
| SslHandshakeCompletionEvent before the asynchronous OCSP validation
| completes. This allows the client's downstream handlers to send
| sensitive application data (e.g., HTTP requests) to a revoked server
| before the channel is closed by the OCSP check. n io.netty.handler.s
| sl.ocsp.OcspServerCertificateValidator#userEventTriggered, when an
| SslHandshakeCompletionEvent is received, the validator immediately
| calls ctx.fireUserEventTriggered(evt). It then initiates an
| asynchronous OCSP query using OcspClient.query. Because the
| handshake completion event is forwarded immediately, downstream
| handlers in the client's pipeline are notified that the TLS
| handshake is successful. They may then begin reading and processing
| incoming application data or sending outgoing data. If the OCSP
| response later indicates the server's certificate is REVOKED, the
| validator closes the channel, but by this time, the client may have
| already leaked sensitive data to a revoked server or processed
| malicious responses from it. This issue has been fixed in versions
| 4.1.136.Final and 4.2.16.Final.


CVE-2026-59898[2]:
| Netty is an asynchronous, event-driven network application
| framework.  Prior to versions 4.1.136.Final and 4.2.16.Final, ab
| attacker can force WebSocket upgrade via the lax V07 (or V08)
| handshaker by sending `Sec-WebSocket-Version: 7` and omitting
| `Connection: Upgrade` / `Upgrade: websocket` headers, completing a
| protocol switch that a proxy would not recognize as an Upgrade
| request and enabling HTTP request smuggling / protocol-confusion
| attacks. This issue has been fixed in versions 4.1.136.Final and
| 4.2.16.Final.


CVE-2026-59899[3]:
| Netty is an asynchronous, event-driven network application
| framework. Prior to versions 4.1.136.Final and 4.2.16.Final,
| `HttpContentEncoder` (the superclass of the production handler
| `HttpContentCompressor`) maintains a per-channel
| `ArrayDeque<CharSequence>` named `acceptEncodingQueue` that
| accumulates attacker-controlled data without any size limit. The
| queue is filled on the I/O thread for every inbound HTTP request and
| drained only when the application later writes a non-1xx response.
| This creates a resource exhaustion vulnerability when an attacker
| exploits HTTP/1.1 pipelining to flood the connection with requests
| faster than the application produces responses. This issue has been
| fixed in versions 4.1.136.Final and 4.2.16.Final.


CVE-2026-59900[4]:
| Netty is an asynchronous, event-driven network application
| framework. Prior to versions 4.1.136.Final and 4.2.16.Final, Netty's
| HTTP/2-to-HTTP/1.x translation layer
| (`Http2StreamFrameToHttpObjectCodec` and
| `InboundHttp2ToHttpAdapter`) fails to deduplicate or validate `Host`
| headers when an HTTP/2 client supplies both the `:authority` pseudo-
| header and a literal `host` header in a single HEADERS frame. The
| translator maps `:authority` to `Host` and separately copies the
| literal `host` header, producing an `HttpRequest` object containing
| two `Host` headers with attacker-controlled differing values. This
| issue has been fixed in versions 4.1.136.Final and 4.2.16.Final.


CVE-2026-59901[5]:
| 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.


CVE-2026-59919[6]:
| Netty is an asynchronous, event-driven network application
| framework. In versions prior to 4.1.136.Final and 4.2.16.Final,
| Netty's HAProxy encoder ( HAProxyMessageEncoder ) writes AF_UNIX
| source and destination socket addresses into the HAProxy V1 text
| protocol without validating them for CRLF characters, so an attacker
| who controls an AF_UNIX address can inject  \r\n  sequences and
| split the single PROXY header into multiple lines. This is possible
| because the V1 protocol uses CRLF as its line terminator and, unlike
| IPv4/IPv6 addresses whose format checks implicitly reject CRLF,
| AF_UNIX addresses are only validated for length (up to 108 bytes),
| allowing a forged second PROXY header line that spoofs the client
| source/destination IP to a downstream server or load balancer. The
| issue is fixed in versions 4.1.136.Final and 4.2.16.Final.


CVE-2026-59920[7]:
| Netty is an asynchronous, event-driven network application
| framework. In versions prior to 4.1.136.Final and 4.2.16.Final,
| Netty's STOMP encoder ( StompSubframeEncoder ) does not escape or
| validate header values in  CONNECT  and  CONNECTED  frames, so raw
| newline ( \n ) characters in a header value are written directly to
| the wire, allowing an attacker who controls a header value to inject
| additional STOMP headers. This happens because the encoder
| intentionally skips escaping for CONNECT/CONNECTED frames per the
| STOMP 1.2 specification but never rejects the raw newlines, and
| since a broker parses each line as a separate header, an attacker
| controlling a value such as a user-supplied login or passcode can
| overwrite connection parameters or add authentication/role headers
| to bypass authentication or escalate privileges (the actual impact
| is broker-dependent). The issue is fixed in versions 4.1.136.Final
| and 4.2.16.Final.


CVE-2026-59921[8]:
| Netty is an asynchronous, event-driven network application
| framework. Prior to versions 4.1.136.Final and 4.2.16.Final,
| HttpPostRequestEncoder constructs multipart HTTP request bodies by
| directly concatenating user-supplied filenames and field names into
| Content-Disposition MIME headers without validating or sanitizing
| CRLF characters (\r\n). Since MIME headers are delimited by CRLF, an
| attacker who controls the filename can inject arbitrary MIME headers
| into the multipart body part. The root cause is that neither the
| encoder nor the FileUpload implementations' setFilename() methods,
| which only check for null, neutralize CRLF characters before the
| filename is embedded into the header. This issue has been fixed in
| versions 4.1.136.Final and 4.2.16.Final.


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-56821
https://www.cve.org/CVERecord?id=CVE-2026-56821
[1] https://security-tracker.debian.org/tracker/CVE-2026-56822
https://www.cve.org/CVERecord?id=CVE-2026-56822
[2] https://security-tracker.debian.org/tracker/CVE-2026-59898
https://www.cve.org/CVERecord?id=CVE-2026-59898
[3] https://security-tracker.debian.org/tracker/CVE-2026-59899
https://www.cve.org/CVERecord?id=CVE-2026-59899
[4] https://security-tracker.debian.org/tracker/CVE-2026-59900
https://www.cve.org/CVERecord?id=CVE-2026-59900
[5] https://security-tracker.debian.org/tracker/CVE-2026-59901
https://www.cve.org/CVERecord?id=CVE-2026-59901
[6] https://security-tracker.debian.org/tracker/CVE-2026-59919
https://www.cve.org/CVERecord?id=CVE-2026-59919
[7] https://security-tracker.debian.org/tracker/CVE-2026-59920
https://www.cve.org/CVERecord?id=CVE-2026-59920
[8] https://security-tracker.debian.org/tracker/CVE-2026-59921
https://www.cve.org/CVERecord?id=CVE-2026-59921

Regards,
Salvatore

#1143052#10
Date:
2026-11-16 13:34:06 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
netty, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1143052@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bourg <ebourg@apache.org> (supplier of updated netty package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 16 Nov 2026 12:45:50 +0100
Source: netty
Architecture: source
Version: 1:4.1.140-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebourg@apache.org>
Closes: 1010693 1027687 1132229 1132230 1136023 1136652 1139807 1139914 1142680 1143052 1144384 1145017 1145167 1147398 1148396 1150165
Changes:
 netty (1:4.1.140-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release (Closes: #1027687)
     - Fixes CVE-2022-24823 (Closes: #1010693)
     - Fixes CVE-2026-33870 (Closes: #1132229)
     - Fixes CVE-2026-33871 (Closes: #1132230)
     - Fixes CVE-2026-41417 (Closes: #1136023)
     - Fixes CVE-2026-44248 (Closes: #1136652)
     - Fixes CVE-2026-44249, CVE-2026-44250,
             CVE-2026-44890 (Closes: #1139807)
     - Fixes CVE-2026-42578, CVE-2026-42579,
             CVE-2026-42580, CVE-2026-42581,
             CVE-2026-42583, CVE-2026-42584,
             CVE-2026-42585, CVE-2026-42586,
             CVE-2026-42587, CVE-2026-44893,
             CVE-2026-45416, CVE-2026-45536,
             CVE-2026-45673, CVE-2026-45674,
             CVE-2026-46340, CVE-2026-47244,
             CVE-2026-47691, CVE-2026-48006,
             CVE-2026-48043, CVE-2026-48059,
             CVE-2026-50010, CVE-2026-50011,
             CVE-2026-50020, CVE-2026-50560 (Closes: #1139914)
     - Fixes CVE-2026-44891, CVE-2026-55831,
             CVE-2026-55833, CVE-2026-55851,
             CVE-2026-56745, CVE-2026-56746,
             CVE-2026-56817, CVE-2026-56819,
             CVE-2026-56820 (Closes: #1142680)
     - Fixes CVE-2026-56821, CVE-2026-56822,
             CVE-2026-59898, CVE-2026-59899,
             CVE-2026-59900, CVE-2026-59901,
             CVE-2026-59919, CVE-2026-59920,
             CVE-2026-59921 (Closes: #1143052)
     - Fixes CVE-2026-56818, CVE-2026-73507,
             CVE-2026-73508 (Closes: #1144384)
     - Fixes CVE-2026-59902, CVE-2026-59903,
             CVE-2026-75595, CVE-2026-75596 (Closes: #1145017)
     - Fixes CVE-2026-62243, CVE-2026-62380 (Closes: #1145167)
     - Fixes CVE-2026-76816, CVE-2026-89044 (Closes: #1147398)
     - Fixes CVE-2026-93488, CVE-2026-93491,
             CVE-2026-93492, CVE-2026-93493,
             CVE-2026-93494, CVE-2026-93558,
             CVE-2026-93560, CVE-2026-93561,
             CVE-2026-93562, CVE-2026-93563,
             CVE-2026-93564, CVE-2026-93565,
             CVE-2026-93566, CVE-2026-93567,
             CVE-2026-93568, CVE-2026-93569,
             CVE-2026-93572, CVE-2026-93573,
             CVE-2026-93574, CVE-2026-93575,
             CVE-2026-93576, CVE-2026-93578,
             CVE-2026-93579 (Closes: #1148396)
     - Fixes CVE-2026-100666 (Closes: #1150165)
     - Refreshed the patches
     - Updated the Maven rules
     - Compile without the --release option to access sun.misc.Unsafe
     - Define the os.detected properties normally set by os-maven-plugin
     - New build dependencies on libbctls-java, libjetbrains-annotations-java,
       libreflections-java and libzstd-jni-java
     - Depend on libcompress-lzf-java (>= 1.2.1)
     - Install the new module netty-handler-ssl-ocsp
     - Disabled the Brotli support (missing dependency)
     - Updated the Lintian overrides
     - Build the classes of the netty-*-classes-* modules into the native jars
   * Enabled the LZ4 compression support
   * Tightened the dependency on libnetty-tcnative-java
   * Ignore the unused commons-lang test dependency
   * Standards-Version updated to 4.7.4
   * Removed the Priority field
   * Removed the Rules-Requires-Root field
   * Converted debian/watch to the version 5 format
Checksums-Sha1:
 b667bdcea77e89757fc6cac47c3830efb7cc425f 2700 netty_4.1.140-1.dsc
 eb4858aa52d2af00411f0035cdb91b63d0845a37 2307912 netty_4.1.140.orig.tar.xz
 92d7cee967d5aeaea89f42ecad87e3de61d77be2 22200 netty_4.1.140-1.debian.tar.xz
 ee364cd11b89ce5745902f01897095f0c4c0ec92 17462 netty_4.1.140-1_source.buildinfo
Checksums-Sha256:
 db0fabc66e59e81439874d45163ecbd268785f4f19ed72569638130912f12e5e 2700 netty_4.1.140-1.dsc
 2dbddc4301a072ac6e035c37146e7b68e58d6c70bc62dbab219c2189e8eee672 2307912 netty_4.1.140.orig.tar.xz
 f2e3e83f029cffae9a5a926b7aceca4f73253d036365e060b9e17e973ddbcd54 22200 netty_4.1.140-1.debian.tar.xz
 2379626f09992d3b68f1a94b55e01581d75fa0197c9a05f63f608d8a5a07d5fc 17462 netty_4.1.140-1_source.buildinfo
Files:
 c3305c3173e1417e292203138ca5c7c1 2700 java optional netty_4.1.140-1.dsc
 191170b16c543e3b900e8f9a9889ee9f 2307912 java optional netty_4.1.140.orig.tar.xz
 c4a966583fec641441b41b4a9034316f 22200 java optional netty_4.1.140-1.debian.tar.xz
 8223fff1d090b1a4ea5ed9309193a397 17462 java optional netty_4.1.140-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAmr7AMgSHGVib3VyZ0Bh
cGFjaGUub3JnAAoJEPUTxBnkudCsUL8P/3dAHHxHDCoEUFFay2VYC0aphrDeS9Jl
BYkK/wX+CPILa/GyhyGK8A1jz/Pk2WsvstH2POtofZG1bu3S+laQufJUogj8I3OW
GVHtPgHr+R2FHFqpd2P34LSLLk9CGgnOTXWgsCk/O1+OJbSHChh9xaEZ4n60eesN
0bo+wd8bF7JBEfCkEBbyB4516VF5GJVAOUw98q9KrFB43mA2VwUbbPX9mOJty4RH
b1oBoO4TPHhx30Nb6k7RwA9gwKRo6sJK0K8rSsfpsKxjxtpYZ+rBVnug0yTchzU/
VIibK1BbxcwLBL2++eNxMHjdeUKB6CTxdGHGC+Hybw6vQVt0urCPQep2UK+3O9e9
vOZzVh57ZkMCFc2wXrNa50VWbJFMpVxNWftgXd3Dg+OQUvCxwG73WHS9hq+qg+wD
7RNy9ukDgL05ZFQuzJraTdUGa6m6ZgcHUEXD5r8O7ZVb1Xmmc/ppdJUGZiefDNd4
C5VIE7qwp5mi1X580LV7111AgP5YINKW0/yPFhRDzrr63xgZ+LuMdhMNAGqxhosl
Q+Mmq463lUu4+ks8DEE7RPZYX5/uYg15EGZGxzLurXemeiGLkUHn7kCyoU+hjc/a
+NeWrxRl/HsygPgunXJrv8SbkWUP9IRsBepjckkpZQI0dOA0QrdEgzx3+Ha70KIN
TRN8iDoXhf+W
=QQ/h
-----END PGP SIGNATURE-----