CVE-2026-42582

Netty: HTTP/3 QPACK literal unbounded allocation

State
Published
Severity
7.5 High
Published
May 13, 2026
Updated
May 13, 2026
Reserved
Apr 28, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-770 Allocation of Resources Without Limits or Throttling
  • CWE-789 Memory Allocation with Excessive Size Value

Affected Products

ProductVersions
nettynetty
  • >= 4.2.0.Alpha1, < 4.2.13.FinalAffected
netty-codec-http3io.netty
  • >= 4.2.0.Alpha1, < 4.2.13.FinalAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.