7.5High

CVE-2026-42582Netty: HTTP/3 QPACK literal unbounded allocation

netty netty; io.netty netty-codec-http3 Published: (6 months ago)

Description

Netty is an asynchronous, event-driven network application framework. Prior to 4.2.13.Final, when decoding header blocks, the non-Huffman branch of io.netty.handler.codec.http3.QpackDecoder#decodeHuffmanEncodedLiteral may execute new byte[length] for a string literal before verifying that length bytes are actually present in the compressed field section. The wire encoding allows a very large length to be expressed in few bytes. There is no check that length <= in.readableBytes() before new byte[length]. This vulnerability is fixed in 4.2.13.Final.

Weakness (CWE): CWE-770CWE-789

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
io.netty netty-codec-http3 >= 4.2.0.Alpha1, < 4.2.13.Final
netty netty >= 4.2.0.Alpha1, < 4.2.13.Final

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:* ≥ 4.2.0 < 4.2.13