GHSA-4grm-h2qv-h6w6

Suggest an improvement
Source
https://github.com/advisories/GHSA-4grm-h2qv-h6w6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-4grm-h2qv-h6w6/GHSA-4grm-h2qv-h6w6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4grm-h2qv-h6w6
Aliases
  • CVE-2026-48748
Downstream
Related
Published
2026-06-15T20:43:13Z
Modified
2026-06-16T14:44:21.182343395Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Netty HTTP/3 QPACK Blocked Streams Memory Exhaustion
Details

Summary

A memory exhaustion vulnerability in the Netty HTTP/3 codec allows the creation of an infinite number of blocked streams, which can cause OOM error.

Details

The vulnerability exists in io.netty.handler.codec.http3.QpackDecoder#shouldWaitForDynamicTableUpdates:

If a client sends a header referencing a table entry that the server hasn't received yet, the server must pause that stream and wait for the missing entry to arrive. To prevent attackers from exhausting resources by intentionally sending missing references, Netty limits the number of streams that can be blocked at the same time.

However, the check is implemented as:

if (blockedStreamsCount == maxBlockedStreams - 1) {

If the server enables QPACK dynamic tables (by setting HTTP3_SETTINGS_QPACK_MAX_TABLE_CAPACITY > 0) but does not explicitly configure HTTP3_SETTINGS_QPACK_BLOCKED_STREAMS, it defaults to 0.

When maxBlockedStreams is 0, the condition evaluates to blockedStreamsCount == -1. Since blockedStreamsCount starts at 0 and only increments, it never equals -1. This bypasses the limit, allowing an attacker to open an infinite number of streams that block indefinitely. Additionally, the QpackDecoder never removes unblocked streams from the blockedStreams map or decrements the counter, meaning the ReadResumptionListener for each blocked stream is kept in memory for the entire lifetime of the connection. This exhausts server memory and crashes the JVM.

Impact

Denial of Service. Any server using netty-codec-http3 with QPACK dynamic tables enabled and maxBlockedStreams defaulting to 0 is impacted.

Database specific
{
    "nvd_published_at": "2026-06-12T16:16:30Z",
    "github_reviewed_at": "2026-06-15T20:43:13Z",
    "github_reviewed": true,
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-770"
    ]
}
References

Affected packages

Maven / io.netty:netty-codec-http3

Package

Name
io.netty:netty-codec-http3
View open source insights on deps.dev
Purl
pkg:maven/io.netty/netty-codec-http3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.2.0.Final
Fixed
4.2.15.Final

Affected versions

4.*
4.2.2.Final
4.2.3.Final
4.2.4.Final
4.2.5.Final
4.2.6.Final
4.2.7.Final
4.2.8.Final
4.2.9.Final
4.2.10.Final
4.2.11.Final
4.2.12.Final
4.2.13.Final
4.2.14.Final

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-4grm-h2qv-h6w6/GHSA-4grm-h2qv-h6w6.json"
last_known_affected_version_range
"<= 4.2.13.Final"