CVE-2026-48040
Published:June 04, 2026
Updated:June 07, 2026
The netty incubator codec.bhttp is a java language binary http parser. The library implements Oblivious HTTP (RFC 9458) using BoringSSL's HPKE C library via JNI. When deriving native memory addresses for cryptographic operations versions prior to 0.0.22.Final provide a fallback path for direct ByteBufs that do not expose their memory address through "hasMemoryAddress()". This fallback occurs when "sun.misc.Unsafe" is unavailable to Netty — for example, when the JVM is started with "-Dio.netty.noUnsafe=true", when a SecurityManager restricts Unsafe access, or when running on non-HotSpot JVMs. In these configurations, Netty's default "PooledByteBufAllocator" returns "PooledDirectByteBuf" instances for which "hasMemoryAddress()" returns false. Under the enabling JVM configuration, an unauthenticated network attacker can cause the OHTTP gateway to corrupt memory belonging to other concurrent connections and disclose the contents of adjacent pooled direct buffers by triggering cryptographic operations with crafted OHTTP requests. The corruption occurs regardless of whether the AEAD tag verification succeeds, as BoringSSL zeroizes the output buffer on failure. The information disclosure path provides the attacker with the encryption key needed to extract the leaked data. This violates the confidentiality and integrity of all connections sharing the same Netty buffer arena. Version 0.0.22.Final fixes the issue.
Affected Packages
https://github.com/netty/netty-incubator-codec-ohttp.git (GITHUB):
Affected version(s) >=netty-incubator-codec-parent-ohttp-0.0.3.Final <netty-incubator-codec-parent-ohttp-0.0.22.FinalFix Suggestion:
Update to version netty-incubator-codec-parent-ohttp-0.0.22.Finalio.netty.incubator:netty-incubator-codec-ohttp-hpke-classes-boringssl (JAVA):
Affected version(s) >=0.0.3.Final <0.0.22.FinalFix Suggestion:
Update to version 0.0.22.FinalRelated Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
UNREPORTED
CVSS v3
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
EPSS
Base Score:
0.02