HighGHSA-4g8c-wm8x-jfhwCVE-2025-24970
SslHandler doesn't correctly validate packets which can lead to native crash when using native SSLEngine
Published 10 Feb 2025 · Updated 10 Sept 2026
Is your project on an affected io.netty:netty-handler?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- >=4.1.91.Final <4.1.118.Final
- Fixed in
- 4.1.118.Final
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=io.netty:netty-handler -DdepVersion=4.1.118.Final -DforceVersion=trueDetails
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, ....);
Is GHSA-4g8c-wm8x-jfhw in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected io.netty:netty-handler, and gives you the command that fixes it.
More advisories for io.netty:netty-handler
- CriticalCVE-2026-75595Netty: SNI Routing Bypass via Fragmented TLS ClientHello Causing Fallback to Default SslContext · 8 Sept 2026
- MediumCVE-2026-75596Netty: Fragmented ClientHello records trigger quadratic pre-handshake reassembly in default SNI parsing · 8 Sept 2026
- HighCVE-2026-50010Netty: Wrapping plain trust manager silently disables hostname verification · 15 Jun 2026
- HighCVE-2026-45416Netty: SNI handler pre-allocates up to 16 MiB from nine attacker bytes · 8 Jun 2026
- HighCVE-2026-44249Netty has an IPv6 Subnet Filter Bypass via Incorrect Comparator Masking · 8 Jun 2026
- MediumCVE-2023-34462netty-handler SniHandler 16MB allocation · 20 Jun 2023
References
- Linkgithub.com/netty/netty/security/advisories/GHSA-4g8c-wm8x-jfhw
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-24970
- Linkgithub.com/netty/netty/commit/87f40725155b2f89adfde68c7732f97c153676c4
- Packagegithub.com/netty/netty
- Linksecurity.netapp.com/advisory/ntap-20250221-0005
- Linkwww.vicarius.io/vsociety/posts/cve-2025-24970-netty-vulnerability-detection
- Linkwww.vicarius.io/vsociety/posts/cve-2025-24970-netty-vulnerability-mitigation
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.