HIGH 7.5

CVE-2026-124709

Unbounded Memory Retention in QUIC Server for Rejected Streams

Preliminary: affected artifacts were inferred from the fix commits of the source repository and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

Description

Issue summary: A QUIC server that rejects a stream opened by the peer may retain that stream's state for the lifetime of the connection if the peer resets the stream before the rejection is signalled, even though the peer's stream credit is returned.

Impact summary: A remote client that completes a QUIC handshake can repeatedly open and reset streams, causing server memory to grow without bound until the process runs out of memory and every connection on it is lost. This is a Denial of Service.

CWE: CWE-401: Missing Release of Memory after Effective Lifetime

Description: QUIC servers track each stream the peer opens. When the incoming stream policy rejects a stream, OpenSSL schedules a STOP_SENDING frame, marks the stream deleted and returns the peer's stream credit. A deleted stream is collected only once its receive part is fully drained, which for a rejected stream means the STOP_SENDING has been acknowledged. If the peer sends RESET_STREAM first, the reset cancels the pending STOP_SENDING, so it is never sent or acknowledged and the stream is never collected.

The default configuration reaches this path. Once a connection has a default stream, meaning the application has read from or written to the connection as the tutorial server does, the effective incoming stream policy rejects streams the application does not accept. Applications that set the REJECT policy explicitly are affected too.

Each retained stream costs about 300 bytes, and the peer's stream credit window paces how quickly they accumulate. A client that keeps the connection open and keeps opening and resetting streams grows server memory without bound. The severity is Low because growth is slow, needs a long-lived connection, and causes no memory corruption or disclosure.

FIPS impact: no The affected code is outside the FIPS module boundary.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
com.fpliu.ndk.pkg.prefab.android.21 » opensslpreliminary
< ead311df1037e7994a6d86c7e862d71ad59c52c7< 22291a6af12f158fbb13bfbd572a33dbdbf290d2< f3acb0a3328046741479482c51cec815839e1b05>= 3.5.0, < 3.5.10>= 4.0.0, < 4.0.4>= 4.1.0, < 4.1.1
ead311df1037e7994a6d86c7e862d71ad59c52c7, 22291a6af12f158fbb13bfbd572a33dbdbf290d2, f3acb0a3328046741479482c51cec815839e1b05, 3.5.10, 4.0.4, 4.1.1

Blast radius

0affected artifacts
0affected versions
0dependent artifacts (est.)
0dependent versions

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.