# CVE-2026-54251: netty-incubator-codec-ohttp: [OHttpServerCodec] Native Direct-Memory Leak on AEAD Decryption Failure Leads to Gateway Denial of Service

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-08-20T18:39:50.000Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-vmr9-j6wf-pmh2
- Weaknesses: CWE-664
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

netty-incubator-codec-ohttp implements Oblivious HTTP (OHTTP) gateway and client functionality using Netty. Prior to 0.0.23.Final, the OHTTP gateway decryption path in codec-ohttp/src/main/java/io/netty/incubator/codec/ohttp/OHttpRequestResponseContext.java allocates a pooled direct ByteBuf for decrypted plaintext before the AEAD tag is verified. When an invalid tag causes decryptChunk() to throw CryptoException, OHttpRequestResponseContext.decodeChunk() does not release the ByteBuf because the allocation is not guarded by try/finally. Repeated invalid encrypted requests can therefore leak native off-heap memory until the gateway is unable to continue serving requests. This issue is fixed in version 0.0.23.Final.

(As written by CVE List.)

## Affected

- netty netty-incubator-codec-ohttp: < 0.0.23.Final
- io.netty.incubator netty-incubator-codec-ohttp: < 0.0.23.Final
- io.netty.incubator:netty-incubator-codec-ohttp (Maven): before 0.0.23.Final

## Every score

- GitHub_M: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/netty/netty-incubator-codec-ohttp/security/advisories/GHSA-vmr9-j6wf-pmh2> (web)
- <https://github.com/netty/netty-incubator-codec-ohttp/commit/ba6871bcbd6b3606872d2a81fabc73b284418bf8>
- <https://github.com/netty/netty-incubator-codec-ohttp/releases/tag/netty-incubator-codec-parent-ohttp-0.0.23.Final> (web)
- <https://github.com/netty/netty-incubator-codec-ohttp> (package)

## Sources

- CVE List: [CVE-2026-54251](https://www.cve.org/CVERecord?id=CVE-2026-54251), CVE Terms of Use, modified 2026-09-15
- GitHub Advisory Database: [GHSA-vmr9-j6wf-pmh2](https://github.com/advisories/GHSA-vmr9-j6wf-pmh2), CC-BY-4.0, modified 2026-08-20
- NVD: [CVE-2026-54251](https://nvd.nist.gov/vuln/detail/CVE-2026-54251), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-54251 · Whole record: https://cve.day/CVE-2026-54251.json · Rebuilt by cve.day 2026-11-25T22:59:38.616Z
