Io.netty:netty codec http3: Netty HTTP/3 QPACK literal unbounded allocation (CVE-2026-42582)
A vulnerability in Netty's HTTP/3 codec (netty-codec-http3) allows an attacker to cause unbounded memory allocation during QPACK header decoding. Specifically, the decoder may allocate a large byte array based on a length value from the wire without verifying that the data is actually present, enabling a denial-of-service condition due to excessive memory consumption.
AI Analysis
Technical Summary
The vulnerability occurs in the QPACK decoder component of Netty's HTTP/3 implementation. When decoding header blocks, the non-Huffman branch of the QpackDecoder's decodeHuffmanEncodedLiteral method may allocate a byte array of a length derived from the wire data before checking if that many bytes are available. This lack of validation allows a maliciously crafted small header to specify an extremely large length (on the order of a gigabyte), causing the server to allocate excessive memory and potentially crash or become unresponsive. A proof-of-concept demonstrates how a small HTTP/3 HEADERS frame can trigger this behavior.
Potential Impact
This vulnerability can lead to a denial-of-service (DoS) condition by exhausting server memory resources through unbounded allocation. There is no indication of confidentiality or integrity impact. The attack requires sending a specially crafted HTTP/3 header frame to a vulnerable server using Netty's HTTP/3 codec.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. In the absence of an official fix, users should monitor vendor channels for updates. No vendor advisory or patch links are currently provided. Until a fix is available, consider mitigating exposure by limiting access to services using this component or applying network-level protections to block suspicious HTTP/3 traffic.
Io.netty:netty codec http3: Netty HTTP/3 QPACK literal unbounded allocation (CVE-2026-42582)
Description
A vulnerability in Netty's HTTP/3 codec (netty-codec-http3) allows an attacker to cause unbounded memory allocation during QPACK header decoding. Specifically, the decoder may allocate a large byte array based on a length value from the wire without verifying that the data is actually present, enabling a denial-of-service condition due to excessive memory consumption.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability occurs in the QPACK decoder component of Netty's HTTP/3 implementation. When decoding header blocks, the non-Huffman branch of the QpackDecoder's decodeHuffmanEncodedLiteral method may allocate a byte array of a length derived from the wire data before checking if that many bytes are available. This lack of validation allows a maliciously crafted small header to specify an extremely large length (on the order of a gigabyte), causing the server to allocate excessive memory and potentially crash or become unresponsive. A proof-of-concept demonstrates how a small HTTP/3 HEADERS frame can trigger this behavior.
Potential Impact
This vulnerability can lead to a denial-of-service (DoS) condition by exhausting server memory resources through unbounded allocation. There is no indication of confidentiality or integrity impact. The attack requires sending a specially crafted HTTP/3 header frame to a vulnerable server using Netty's HTTP/3 codec.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. In the absence of an official fix, users should monitor vendor channels for updates. No vendor advisory or patch links are currently provided. Until a fix is available, consider mitigating exposure by limiting access to services using this component or applying network-level protections to block suspicious HTTP/3 traffic.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2c5c-chwr-9hqw
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-42582"]
- Ecosystems
- ["Maven"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a4452cf27e9c797198df2ab
Added to database: 06/30/2026, 23:35:43 UTC
Last enriched: 06/30/2026, 23:36:56 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 32
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.