Vulnerabilities in pkg:maven/io.netty.incubator/netty-incubator-codec-ohttp

PACKAGE
Advisory Identifier: GHSA-cg26-4c6j-2x8h
Advisory Summary

CVE-2026-69133 is a MODERATE (CVSS 5.3) ohttp codecs retain consumed outer vulnerability (CWE-772: Missing Release of Resource after Effective Lifetime) affecting netty-incubator-codec-ohttp libraries in the Maven ecosystem. The issue involves ohttp codecs retain consumed outer cumulation buffers after completed exchanges. Remediation is available by upgrading affected packages to version 0.0.27.Final.

5 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/io.netty.incubator/netty-incubator-codec-ohttp

5 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/io.netty.incubator/netty-incubator-codec-ohttp. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-cg26-4c6j-2x8h CVE-2026-69133 MODERATE netty-incubator-codec-ohttp: OHTTP codecs retain consumed outer cumulation buffers after completed exchanges
GHSA-vmr9-j6wf-pmh2 CVE-2026-54251 HIGH netty-incubator-codec-ohttp: [OHttpServerCodec] Native Direct-Memory Leak on AEAD Decryption Failure Leads to Gateway Denial of Service
GHSA-r6fj-869h-4f6q CVE-2026-48480 MODERATE OHttpVersionChunkDraft: Missing Final-Chunk Enforcement Leads to Undetected Stream Truncation
GHSA-f659-372h-6x3x CVE-2026-41207 MODERATE netty-incubator-codec-ohttp's HPKEContext operations may produce empty byte[] on failures
GHSA-g762-h86w-8749 CVE-2024-36121 MODERATE BoringSSLAEADContext in Netty Repeats Nonces

CVE-2026-69133 at a Glance

CVE Identifier CVE-2026-69133
GHSA Identifier GHSA-cg26-4c6j-2x8h
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-772: Missing Release of Resource after Effective Lifetime
Affected Product netty-incubator-codec-ohttp
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2026-69133

To remediate this vulnerability, upgrade all affected netty-incubator-codec-ohttp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

io.netty.incubator:netty-incubator-codec-ohttp fixed: 0.0.27.Final
<dependency>
    <groupId>io.netty.incubator</groupId>
    <artifactId>netty-incubator-codec-ohttp</artifactId>
    <version>0.0.27.Final</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=io.netty.incubator

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-69133, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=io.netty.incubator

Analyze the terminal output to locate any version of netty-incubator-codec-ohttp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.27.Final), your application is affected.

Note: The mvn dependency:tree -Dincludes=io.netty.incubator command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-772: Missing Release of Resource after Effective Lifetime, where the product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed. In netty-incubator-codec-ohttp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Summary: OHttpClientCodec and OHttpServerCodec retain the encrypted outer HttpContent in a handler-level cumulationBuffer. After a valid OHTTP exchange completes, the OHTTP request/response context is destroyed, but the outer cumulationBuffer is not released or reset. It remains referenced by the codec until a later inbound content frame replaces it or the handler is removed/channel is closed. This can pin attacker-influenced pooled/direct buffer capacity on idle keep-alive channels. Across many long-lived idle connections, this can create availability pressure. Affected components: * codec-ohttp/src/main/java/io/netty/incubator/codec/ohttp/OHttpClientCodec.java * codec-ohttp/src/main/java/io/netty/incubator/codec/ohttp/OHttpServerCodec.java * codec-ohttp/src/main/java/io/netty/incubator/codec/ohttp/OHttpRequestResponseContext.java ## Root cause: OHttpClientCodec retains inbound content into a handler-level cumulationBuffer. On LastHttpContent, it destroys only the OHttpRequestResponseContextHolder. The cumulationBuffer is released in handlerRemoved(), not immediately after successful exchange completion. OHttpServerCodec follows the same pattern: it retains inbound content into a handler-level cumulationBuffer, and on completed request/response it destroys the OHttpRequestResponseContext. The outer cumulationBuffer remains owned by the codec and is released only when the handler is removed. OHttpRequestResponseContext.parse() consumes bytes from the caller-provided outer cumulation buffer, but its destroy() path releases only the inner binary HTTP cumulation, not the codec-level outer cumulationBuffer. ## PoC: A local test only: ``` codec-ohttp/src/test/java/io/netty/incubator/codec/ohttp/OHttpCumulationBufferRetentionTest.java ``` The test reuses existing OHTTP test helpers and BouncyCastle crypto provider to perform valid completed OHTTP exchanges over EmbeddedChannel pairs. It sends both a small and a large request/response exchange, confirms completion, then reflects the private cumulationBuffer field from both OHttpClientCodec and OHttpServerCodec. Command: ``` ./mvnw -pl codec-ohttp -Dtest=OHttpCumulationBufferRetentionTest -DfailIfNoTests=false test ``` Observed output: ``` small client after completion: refCnt=1 capacity=1064 readerIndex=1064 writerIndex=1064 readableBytes=0 small server after completion: refCnt=1 capacity=1110 readerIndex=1110 writerIndex=1110 readableBytes=0 large client after completion: refCnt=1 capacity=262144 readerIndex=131114 writerIndex=131114 readableBytes=0 large server after completion: refCnt=1 capacity=262144 readerIndex=131160 writerIndex=131160 readableBytes=0 small after close: clientOldRefCnt=0 serverOldRefCnt=0 large after close: clientOldRefCnt=0 serverOldRefCnt=0 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 BUILD SUCCESS ``` Interpretation: After completion, both the client and server cumulationBuffer objects have: * refCnt=1 * readableBytes=0 * large retained capacity for the large exchange * channel still open/active * OHTTP context completed/destroyed After channel close/handler removal, the previously retained buffers are released and their old refCnt values become 0. ## Impact: A peer can complete a large valid OHTTP request/response and keep the connection open. The codec retains the high-water outer cumulation buffer for the lifetime of the idle keep-alive channel, or until a later inbound content frame replaces it. Across many idle keep-alive channels, this can pin pooled/direct memory and create availability pressure. This is not unbounded growth per exchange on a single channel. The more precise impact is connection-lifetime retention of the current consumed high-water outer cumulation buffer. ## Suggested fix: After successful LastHttpContent processing, release and reset the codec-level outer cumulationBuffer once parsing has consumed the complete message and no unread bytes remain. Care is needed not to release the buffer if unread bytes remain for pipelined data. A safe fix would release/reset the outer cumulationBuffer in the completed-exchange path only when the parse consumed the full outer body. ## Test environment: * WSL Ubuntu * Java 11 * Current main branch / 0.0.24.Final-SNAPSHOT * PoC test used BouncyCastleOHttpCryptoProvider and existing OHttpCodecsTest helpers Affected version testing: The issue was reproduced on the following release tags: * netty-incubator-codec-parent-ohttp-0.0.20.Final * netty-incubator-codec-parent-ohttp-0.0.21.Final * netty-incubator-codec-parent-ohttp-0.0.22.Final * netty-incubator-codec-parent-ohttp-0.0.23.Final It was also reproduced on main / 0.0.24.Final-SNAPSHOT. For 0.0.20.Final through 0.0.23.Final, the PoC output consistently showed: * large client after completion: refCnt=1 capacity=262144 ... readableBytes=0 * large server after completion: refCnt=1 capacity=262144 ... readableBytes=0 * large after close: clientOldRefCnt=0 serverOldRefCnt=0 * BUILD SUCCESS This confirms that completed exchanges leave the consumed outer cumulation buffer retained until channel/handler close in these versions.

CVE-2026-69133 Affected netty-incubator-codec-ohttp Versions

1 component(s)
Fixed Versions:
0.0.27.Final
Product / Package Ecosystem Affected Versions Fixed Version
io.netty.incubator:netty-incubator-codec-ohttp
Maven
≥ 0.0.20.Final
< 0.0.27.Final
0.0.27.Final

References

Frequently Asked Questions

What is CVE-2026-69133?
CVE-2026-69133 is a security vulnerability in netty-incubator-codec-ohttp involving OHTTP codecs retain consumed outer cumulation buffers after completed exchanges under CWE-772: Missing Release of Resource after Effective Lifetime.
Which netty-incubator-codec-ohttp versions are affected?
Affected versions include releases prior to 0.0.27.Final across affected packages: io.netty.incubator:netty-incubator-codec-ohttp.
What version fixes CVE-2026-69133?
Upgrading to 0.0.27.Final (or the latest patched release for your respective branch) resolves the vulnerability.
Is netty-incubator-codec-ohttp affected?
Yes, io.netty.incubator:netty-incubator-codec-ohttp is affected in releases prior to 0.0.27.Final. Upgrade your dependency to 0.0.27.Final or later.
What is the CVSS score of CVE-2026-69133?
CVE-2026-69133 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2026-69133?
CVE-2026-69133 is classified under CWE-772: Missing Release of Resource after Effective Lifetime (The product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed.).
How can I check Maven dependencies for CVE-2026-69133?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.netty.incubator'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-cg26-4c6j-2x8h",
  "modified" : "2026-11-20T16:22:09Z",
  "published" : "2026-11-20T16:22:09Z",
  "aliases" : [ "CVE-2026-69133" ],
  "summary" : "netty-incubator-codec-ohttp: OHTTP codecs retain consumed outer cumulation buffers after completed exchanges",
  "details" : "## Summary:\n\nOHttpClientCodec and OHttpServerCodec retain the encrypted outer HttpContent in a handler-level cumulationBuffer. After a valid OHTTP exchange completes, the OHTTP request/response context is destroyed, but the outer cumulationBuffer is not released or reset. It remains referenced by the codec until a later inbound content frame replaces it or the handler is removed/channel is closed.\n\nThis can pin attacker-influenced pooled/direct buffer capacity on idle keep-alive channels. Across many long-lived idle connections, this can create availability pressure.\n\nAffected components:\n\n* codec-ohttp/src/main/java/io/netty/incubator/codec/ohttp/OHttpClientCodec.java\n* codec-ohttp/src/main/java/io/netty/incubator/codec/ohttp/OHttpServerCodec.java\n* codec-ohttp/src/main/java/io/netty/incubator/codec/ohttp/OHttpRequestResponseContext.java\n\n## Root cause:\n\nOHttpClientCodec retains inbound content into a handler-level cumulationBuffer. On LastHttpContent, it destroys only the OHttpRequestResponseContextHolder. The cumulationBuffer is released in handlerRemoved(), not immediately after successful exchange completion.\n\nOHttpServerCodec follows the same pattern: it retains inbound content into a handler-level cumulationBuffer, and on completed request/response it destroys the OHttpRequestResponseContext. The outer cumulationBuffer remains owned by the codec and is released only when the handler is removed.\n\nOHttpRequestResponseContext.parse() consumes bytes from the caller-provided outer cumulation buffer, but its destroy() path releases only the inner binary HTTP cumulation, not the codec-level outer cumulationBuffer.\n\n## PoC:\n\nA local test only:\n\n```\ncodec-ohttp/src/test/java/io/netty/incubator/codec/ohttp/OHttpCumulationBufferRetentionTest.java\n```\n\nThe test reuses existing OHTTP test helpers and BouncyCastle crypto provider to perform valid completed OHTTP exchanges over EmbeddedChannel pairs. It sends both a small and a large request/response exchange, confirms completion, then reflects the private cumulationBuffer field from both OHttpClientCodec and OHttpServerCodec.\n\nCommand:\n\n```\n./mvnw -pl codec-ohttp -Dtest=OHttpCumulationBufferRetentionTest -DfailIfNoTests=false test\n```\n\nObserved output:\n\n```\nsmall client after completion: refCnt=1 capacity=1064 readerIndex=1064 writerIndex=1064 readableBytes=0\nsmall server after completion: refCnt=1 capacity=1110 readerIndex=1110 writerIndex=1110 readableBytes=0\nlarge client after completion: refCnt=1 capacity=262144 readerIndex=131114 writerIndex=131114 readableBytes=0\nlarge server after completion: refCnt=1 capacity=262144 readerIndex=131160 writerIndex=131160 readableBytes=0\nsmall after close: clientOldRefCnt=0 serverOldRefCnt=0\nlarge after close: clientOldRefCnt=0 serverOldRefCnt=0\nTests run: 1, Failures: 0, Errors: 0, Skipped: 0\nBUILD SUCCESS\n```\n\nInterpretation:\n\nAfter completion, both the client and server cumulationBuffer objects have:\n\n* refCnt=1\n* readableBytes=0\n* large retained capacity for the large exchange\n* channel still open/active\n* OHTTP context completed/destroyed\n\nAfter channel close/handler removal, the previously retained buffers are released and their old refCnt values become 0.\n\n## Impact:\n\nA peer can complete a large valid OHTTP request/response and keep the connection open. The codec retains the high-water outer cumulation buffer for the lifetime of the idle keep-alive channel, or until a later inbound content frame replaces it. Across many idle keep-alive channels, this can pin pooled/direct memory and create availability pressure.\n\nThis is not unbounded growth per exchange on a single channel. The more precise impact is connection-lifetime retention of the current consumed high-water outer cumulation buffer.\n\n## Suggested fix:\n\nAfter successful LastHttpContent processing, release and reset the codec-level outer cumulationBuffer once parsing has consumed the complete message and no unread bytes remain.\n\nCare is needed not to release the buffer if unread bytes remain for pipelined data. A safe fix would release/reset the outer cumulationBuffer in the completed-exchange path only when the parse consumed the full outer body.\n\n## Test environment:\n\n* WSL Ubuntu\n* Java 11\n* Current main branch / 0.0.24.Final-SNAPSHOT\n* PoC test used BouncyCastleOHttpCryptoProvider and existing OHttpCodecsTest helpers\n\nAffected version testing:\n\nThe issue was reproduced on the following release tags:\n\n* netty-incubator-codec-parent-ohttp-0.0.20.Final\n* netty-incubator-codec-parent-ohttp-0.0.21.Final\n* netty-incubator-codec-parent-ohttp-0.0.22.Final\n* netty-incubator-codec-parent-ohttp-0.0.23.Final\n\nIt was also reproduced on main / 0.0.24.Final-SNAPSHOT.\n\nFor 0.0.20.Final through 0.0.23.Final, the PoC output consistently showed:\n\n* large client after completion: refCnt=1 capacity=262144 ... readableBytes=0\n* large server after completion: refCnt=1 capacity=262144 ... readableBytes=0\n* large after close: clientOldRefCnt=0 serverOldRefCnt=0\n* BUILD SUCCESS\n\nThis confirms that completed exchanges leave the consumed outer cumulation buffer retained until channel/handler close in these versions.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.netty.incubator:netty-incubator-codec-ohttp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.0.20.Final"
      }, {
        "fixed" : "0.0.27.Final"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.0.26.Final"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/netty/netty-incubator-codec-ohttp/security/advisories/GHSA-cg26-4c6j-2x8h"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-69133"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/netty/netty-incubator-codec-ohttp/commit/a82cd85099c1a1fb78b73b068c77c8c902fc32ce"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/netty/netty-incubator-codec-ohttp"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/netty/netty-incubator-codec-ohttp/releases/tag/netty-incubator-codec-parent-ohttp-0.0.27.Final"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-772" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-20T16:22:09Z",
    "nvd_published_at" : "2026-11-19T22:18:08Z"
  }
}