Home / netty / netty-incubator-codec-ohttp / CVE-2026-48040
CVE-2026-48040: is it exploited, and which versions of netty-incubator-codec-ohttp are affected and fixed?
CVE-2026-48040 is an out-of-bounds read vulnerability in netty-incubator-codec-ohttp. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl before 0.0.22.Final (GitHub advisory GHSA-32hf-8jw3-v4qq). Fixed in 0.0.22.Final (GitHub advisory GHSA-32hf-8jw3-v4qq). Severity: Medium (6.8, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-48040?
netty-incubator-codec-ohttp's Incorrect Native Pointer Derivation in Pooled Direct ByteBuf Fallback Leads to Out-of-Bounds Native Memory Access
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.
From the CVE record by GitHub_M, last updated June 4, 2026, 18:01 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| netty | netty-incubator-codec-ohttp | < 0.0.22.Final |
As the CVE record by GitHub_M states it, last updated June 4, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl | < 0.0.22.Final | 0.0.22.Final | GHSA-32hf-8jw3-v4qq |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 11, 2026. Summary: netty-incubator-codec-ohttp's Incorrect Native Pointer Derivation in Pooled Direct ByteBuf Fallback Leads to Out-of-Bounds Native Memory Access.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| netty | netty-incubator-codec-ohttp | before 0.0.22 | application |
NVD analysis (status Analyzed), last modified July 22, 2026, 20:10 UTC.
How severe is CVE-2026-48040?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:U | GitHub_M |
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-48040 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, June 4, 2026)
- EPSS
- 0.17% probability of exploitation activity in the next 30 days, percentile 7.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/netty/netty-incubator-codec-ohttp/security/advisories/GHSA-32hf-8jw3-v4qq x_refsource_CONFIRM
- https://github.com/netty/netty-incubator-codec-ohttp/commit/7ad38d5cc2827af7e067e5c1e1ac37cd4566dad9 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 20, 2026
- Published
- June 4, 2026, 17:33 UTC
- CVE record updated
- June 4, 2026, 18:01 UTC by GitHub_M
- NVD
- Analyzed, last modified July 22, 2026, 20:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect netty-incubator-codec-ohttp?
- Nov 19, 2026CVE-2026-69133 netty-incubator-codec-ohttp: resource not released after use
- Nov 19, 2026CVE-2026-63202 netty-incubator-codec-ohttp: denial of service (uncontrolled resource consumption)
- Nov 19, 2026CVE-2026-61827 netty-incubator-codec-ohttp: denial of service (resources allocated without limits)
- Nov 19, 2026CVE-2026-63124 netty-incubator-codec-ohttp: denial of service (uncontrolled resource consumption)
- Nov 19, 2026CVE-2026-61798 netty-incubator-codec-ohttp: information disclosure
- Nov 19, 2026CVE-2026-61799 netty-incubator-codec-ohttp: integer overflow
- Sep 15, 2026CVE-2026-54251 netty-incubator-codec-ohttp: improper Control of a Resource Through its Lifetime
- Jun 4, 2026CVE-2026-48480 netty-incubator-codec-ohttp: missing Cryptographic Step
Every CVE in netty-incubator-codec-ohttp
Questions about CVE-2026-48040
Is CVE-2026-48040 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.17% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of netty-incubator-codec-ohttp are affected by CVE-2026-48040?
io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl before 0.0.22.Final, per the GitHub advisory GHSA-32hf-8jw3-v4qq. The tables above give every range the sources list.
Which version fixes CVE-2026-48040?
0.0.22.Final, per the GitHub advisory GHSA-32hf-8jw3-v4qq. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-48040?
Medium (6.8, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-48040?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.