Intel

AIKIDO-2026-499728

netty-tcnative is vulnerable to Out-of-bounds Write

CVE-2026-116539Published Oct 30, 2026
October 30, 2026

82

CVE Score

High

Out-of-bounds Write

Are you affected? Scan for Free

TL;DR

Before the fix, tcn_write_to_bytebuffer computed the ring buffer's write start index without wrapping it modulo the buffer size, so after a wrapping write the index exceeded the buffer and the next write called memcpy with an out-of-bounds destination and a negative length cast to size_t, overflowing the heap. Any remote TLS peer could drive this BIO write callback with handshake, renegotiation, or post-handshake bytes when the native OpenSSL/BoringSSL engine runs with heap ByteBuffers, because an SSL_read may write data. The fix wraps the start index with % nonApplicationBufferSize, keeping every write in bounds.

How do I fix this?

Upgrade the io.netty:netty-tcnative or io.netty:netty-tcnative-boringssl-static 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 serve TLS with netty-tcnative's native OpenSSL/BoringSSL engine over heap ByteBuffers, accepting connections from remote peers.

Versions

2.0.0.Final - 2.0.83.Final

Fixed in 2.0.84.Final

Background info

netty-tcnative is vulnerable to Out-of-bounds Write in versions 2.0.0.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