Netty: HTTP/3 QPACK literal unbounded allocation (netty netty)

CVE-2026-42582
HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.44 % · percentile 40 ()
State
PUBLISHED
Published
Updated
Assigner
GitHub_M
Affected products
netty · netty
io.netty · netty-codec-http3
NVD status
Analyzed

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.

Weaknesses (CWE)

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

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · security-advisories@github.com (Secondary)

Advisories

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductAffected versions
netty · netty
affected : >= 4.2.0.Alpha1, < 4.2.13.Final
io.netty · netty-codec-http3
affected : >= 4.2.0.Alpha1, < 4.2.13.Final

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD