Intel

AIKIDO-2026-420720

netty-tcnative is vulnerable to Improper Handling of Unicode Encoding

CVE-2026-116542Published 6 days ago
November 4, 2026

69

CVE Score

Medium

Improper Handling of Unicode Encoding

Are you affected? Scan for Free

TL;DR

Before the fix, ssl_servername_cb and SSL.getSniHostname decoded the client-supplied SNI server_name with JNI modified UTF-8, so any unauthenticated TLS client could send 0xC0 0x80 in the ClientHello and smuggle an embedded NUL into the Java hostname string handed to SniHostNameMatcher.match and returned by SSL.getSniHostname, confusing SNI-based certificate selection, access decisions and logging. The matcher path needs the application to configure an SNI hostname matcher and the getter path needs it to call SSL.getSniHostname. The fix builds both strings from raw bytes with tcn_new_stringn, which cannot manufacture an embedded NUL.

How do I fix this?

Upgrade the affected package to 2.0.84.Final or later.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and use SNI hostname matching or read the negotiated hostname with SSL.getSniHostname on a TLS server reachable by clients.

Versions

2.0.1.Final - 2.0.83.Final

Fixed in 2.0.84.Final

Background info

netty-tcnative is vulnerable to Improper Handling of Unicode Encoding in versions 2.0.1.Final - 2.0.83.Final.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea