HIGH 7.5

CVE-2025-24970

SslHandler doesn't correctly validate packets which can lead to native crash when using native SSLEngine

Description

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, ....);

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
io.netty » netty-handler
>= 4.1.91.Final, < 4.1.118.Final
4.1.118.Final

Blast radius

1affected artifacts
49affected versions
18,776dependent artifacts (est.)
513,452dependent versions

46% of the dependent artifacts (8,661) still pull an affected version in their latest release.

DepthDependent versions
Direct
20,010
2 hops
75,859
3 hops
163,690
4 hops
111,550
5 hops
83,979
6 hops
58,364

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.