# CVE-2023-34462: netty-handler SniHandler 16MB allocation

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.46%, higher than 84% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-06-20T16:33:22.000Z
- Modified: 2026-09-10T03:50:02.086Z
- Also known as: GHSA-6mjq-h674-j845
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- netty netty: < 4.1.94.Final; before 4.1.94
- io.netty:netty-handler (Maven): before 4.1.94.Final

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/netty/netty/security/advisories/GHSA-6mjq-h674-j845> (exploit, vendor-advisory, web)
- <https://github.com/netty/netty/commit/535da17e45201ae4278c0479e6162bb4127d4c32> (patch, web)
- <https://security.netapp.com/advisory/ntap-20230803-0001/>
- <https://www.debian.org/security/2023/dsa-5558> (web)
- <https://security.netapp.com/advisory/ntap-20240621-0007/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-34462> (advisory)
- <https://github.com/netty/netty> (package)
- <https://security.netapp.com/advisory/ntap-20230803-0001> (web)
- <https://security.netapp.com/advisory/ntap-20240621-0007> (web)

## Sources

- CVE List: [CVE-2023-34462](https://www.cve.org/CVERecord?id=CVE-2023-34462), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-6mjq-h674-j845](https://github.com/advisories/GHSA-6mjq-h674-j845), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-34462](https://nvd.nist.gov/vuln/detail/CVE-2023-34462), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-34462 · Whole record: https://cve.day/CVE-2023-34462.json · Rebuilt by cve.day 2026-11-25T22:58:25.008Z
