Bug 2588742 (CVE-2026-142450)

Summary: CVE-2026-142450 io.netty/netty-codec-http2: Netty: netty-codec-http2 unbounded growth of pending HPACK dynamic-table-size-update buffer
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: ant, aschwart, asyoung, aszczucz, boliveir, ccranfor, cescoffi, chfoley, cmah, csuconic, dbruscin, dhanak, drichtar, drosa, dsimansk, ewittman, fmariani, fmongiar, gmalinko, gsmet, gtanzill, gtully, janstey, jbuscemi, jkrystof, jmartisk, jnethert, jpechane, jsherman, jturenov, jwon, kaycoth, kingland, kvanderr, manderse, mcarlett, mnovotny, mposolda, nipatil, olubyans, ozzy, pantinor, pjindal, prichard, rgemmell, rgodfrey, rguimara, rkubis, rmartinc, rstepani, sausingh, sbiarozk, sdawley, ssilvert, sthirugn, sthorger, swoodman, tbish, tcunning, tlavocat, tmielke, tzimanyi, varjain, vmuzikar, yfang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Netty's HTTP/2 codec (netty-codec-http2). An unauthenticated remote attacker could exploit this vulnerability by sending numerous HTTP/2 settings frames with header table size updates while keeping connections open without sending requests. Because the internal buffer holding these updates lacks a size limit and is not drained until request headers are processed, memory usage grows continuously. This can lead to server heap exhaustion and cause a Denial of Service (DoS).
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-12-02 16:50:13 UTC
Netty's HTTP/2 codec (netty-codec-http2) does not bound the buffer that holds pending HPACK dynamic-table-size updates. Each time a remote peer sends a SETTINGS frame that changes SETTINGS_HEADER_TABLE_SIZE, DefaultHttp2HeadersEncoder appends an update of up to 6 bytes to an unpooled heap buffer (tableSizeChangeOutput) that has no capacity limit. The updates are never coalesced, and the buffer is only drained when the local endpoint writes a HEADERS or PUSH_PROMISE block. RFC 7541 section 4.2 requires at most two updates between header blocks.

A remote peer can send many protocol-legal SETTINGS frames, each with a different header table size value, and never open a stream or send a request. The buffer then grows without limit for the lifetime of the connection. No credentials are needed beyond completing an HTTP/2 connection (TLS-ALPN h2 or h2c prior knowledge).

The impact is denial of service through heap exhaustion. In testing, default-configured servers reached java.lang.OutOfMemoryError after roughly 230 MiB of SETTINGS traffic, within seconds at a small heap, and many idle connections can hold most of the heap indefinitely. Applying the documented hardening options (stream limits, header list limits, control-frame queue limits and similar) did not prevent it.

Affected are users of io.netty:netty-codec-http2 versions up to and including 4.1.138.Final, and 4.2.0.Final through 4.2.18.Final, that accept HTTP/2 connections from untrusted peers. The issue is fixed in 4.1.139.Final and 4.2.19.Final.

Affected versions: >= 4.2.0.Final, <= 4.2.18.Final; <= 4.1.138.Final
Patched versions: 4.2.19.Final; 4.1.139.Final
CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (7.5)
CWE: CWE-770
Upstream advisory: https://github.com/netty/netty/security/advisories/GHSA-2p3h-phr9-jf38
CVE requested by the Netty Project via PSIRTSUPT-32166.