CVE-2025-24970: SslHandler doesn't correctly validate packets which can lead to native crash when using native SSLEngine
Impact When a special crafted packet is received via SslHandler it doesn't correctly handle validation of such a packet in all cases which can lead to a native crash. Workarounds As workaround its possible to either disable the usage of the native SSLEngine or changing the code from: to:
Published Feb 10, 2025 · Updated Apr 16, 2025
Affected packages
io.netty:netty-handler
- Ecosystem
- Maven
- Affected
- >= 4.1.91.Final, <= 4.1.117.Final
- Fixed in
- 4.1.118.Final
- Check
mvn dependency:tree -Dincludes=io.netty:netty-handler
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
When a special crafted packet is received via SslHandler it doesn't correctly handle validation of such a packet in all cases which can lead to a native crash.
Workarounds
As workaround its possible to either disable the usage of the native SSLEngine or changing the code from:
SslContext context = ...;
SslHandler handler = context.newHandler(....);to:
SslContext context = ...;
SSLEngine engine = context.newEngine(....);
SslHandler handler = new SslHandler(engine, ....);Credited to johnou.
References
- https://github.com/netty/netty/security/advisories/GHSA-4g8c-wm8x-jfhw
- https://github.com/netty/netty/commit/87f40725155b2f89adfde68c7732f97c153676c4
- https://nvd.nist.gov/vuln/detail/CVE-2025-24970
- https://security.netapp.com/advisory/ntap-20250221-0005
- https://www.vicarius.io/vsociety/posts/cve-2025-24970-netty-vulnerability-detection
- https://www.vicarius.io/vsociety/posts/cve-2025-24970-netty-vulnerability-mitigation
- https://github.com/advisories/GHSA-4g8c-wm8x-jfhw
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-75595
Netty: SNI Routing Bypass via Fragmented TLS ClientHello Causing Fallback to Default SslContext
critical9.1Sep 8, 2026CVE-2026-75596
Netty: Fragmented ClientHello records trigger quadratic pre-handshake reassembly in default SNI parsing
medium6.9Sep 8, 2026CVE-2026-50010
Netty: Wrapping plain trust manager silently disables hostname verification
high7.5Jun 15, 2026CVE-2026-44249
Netty has an IPv6 Subnet Filter Bypass via Incorrect Comparator Masking
high8.1Jun 8, 2026CVE-2026-45416
Netty: SNI handler pre-allocates up to 16 MiB from nine attacker bytes
high7.5Jun 8, 2026
