CVE-2023-34462
netty-handler SniHandler 16MB allocation
Also known as GHSA-6mjq-h674-j845
Mitigation
- Upgrade io.netty:netty-handler to 4.1.94.Final or later.
Who should check
- Projects that depend on Maven package io.netty:netty-handler (< 4.1.94.Final)
- Anyone running netty < 4.1.94.Final
Vulnerability facts
- Affected
- io.netty:netty-handler < 4.1.94.Final
- Fixed in
- 4.1.94.Final
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 1.84% chance of exploitation in 30 days (percentile 80, 2026-11-26)
- CWE
- CWE-400
- Modified
Description
Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. The `SniHandler` can allocate up to 16MB of heap for each channel during the TLS handshake. When the handler or the channel does not have an idle timeout, it can be used to make a TCP server using the `SniHandler` to allocate 16MB of heap. The `SniHandler` class is a handler that waits for the TLS handshake to configure a `SslHandler` according to the indicated server name by the `ClientHello` record. For this matter it allocates a `ByteBuf` using the value defined in the `ClientHello` record. Normally the value of the packet should be smaller than the handshake packet but there are not checks done here and the way the code is written, it is possible to craft a packet that makes the `SslClientHelloHandler`. This vulnerability has been fixed in version 4.1.94.Final.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven io.netty:netty-handler | < 4.1.94.Final | 4.1.94.Final | osv |
| netty | < 4.1.94.Final | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-34462. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-34462.md Affected: io.netty:netty-handler < 4.1.94.Final Fixed in: 4.1.94.Final Steps: 1. Search this machine and project for io.netty:netty-handler (Maven), netty: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
FAQ
Is CVE-2023-34462 being exploited?
There is no confirmed exploitation: CVE-2023-34462 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.84% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-34462?
Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2023-34462?
io.netty:netty-handler < 4.1.94.Final.
Is there a fix for CVE-2023-34462?
Yes. Fixed in 4.1.94.Final. Upgrade io.netty:netty-handler to 4.1.94.Final or later.
How do I check if I'm affected by CVE-2023-34462?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.