Bug 2576288

Summary: CVE-2026-54873 erlang: openssl: Denial of Service via excessive QUIC packet buffer retention [fedora-all]
Product: [Fedora] Fedora Reporter: Srikanth Balasubramanian <sbalasub>
Component: erlangAssignee: Peter Lemenkov <lemenkov>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jonathan, lemenkov, rhbugs, rich
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["ec2f77c5-9c91-4af5-a07f-7d53cee814c2"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-19 18:30:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2543244    

Description Srikanth Balasubramanian 2026-11-19 09:16:58 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Issue summary: QUIC process may keep memory for QUIC packet
buffer for much longer period than necessary.

Impact summary: Remote peer can exploit this vulnerability
by sending maliciously crafted packets, making the local
QUIC stack to keep the memory for packet buffers allocated.
The time for which the memory remains allocated is entirely
under the control of the potentially malicious remote peer.

CWE: CWE-770: Allocation of Resources Without Limits or Throttling

Description: To save copy operation from the packet buffer to the
stream reassemble buffer the QUIC stack leaves the stream data
on the packet buffer waiting to be copied to a buffer provided
by the local receiving application. The QUIC stack releases
a reference to the packet buffer only after the data are copied
to the application buffer. This design is more efficient for
legitimate data transfers but enables an attacker to allocate a lot
more memory than actually required by the data kept in the receiving
stream buffer.

To mitigate the vulnerability, the QUIC stack now calculates
and monitors memory overhead for every stream. The memory overhead
for a single stream frame is calculated as a difference between the
size of the whole packet that carries the stream frame and the size
of the stream frame itself. The memory overhead for a single stream
frame is added to the total (cumulative) memory overhead QUIC stack
keeps for each stream. Once the cumulative memory overhead exceeds
64kB, the QUIC stack moves the stream frame data from the packet
buffer to the stream buffer, starting with the next packet received.

FIPS impact: no
The FIPS module is not affected as the QUIC implementation is outside of
the OpenSSL FIPS module boundary.

Comment 1 Peter Lemenkov 2026-11-19 18:30:10 UTC
erlang is not affected by CVE-2026-54873.

This flaw is in OpenSSL's QUIC implementation (excessive QUIC packet-buffer retention). Erlang/OTP neither ships nor exercises that code:

- The crypto and ssl applications link against the *system* OpenSSL (BuildRequires: pkgconfig(openssl)); any fix for CVE-2026-54873 is delivered by the openssl package.
- OTP's TLS/DTLS stack (the ssl application) is implemented in Erlang and does not use OpenSSL's QUIC APIs.
- The only OpenSSL code *bundled* in OTP (Provides: bundled(openssl) = 3.1.4) is a very small part of the MD5 digest implementation. erts/emulator/openssl/ contains only crypto/md5/md5_dgst.c, crypto/md5/md5_local.h, include/crypto/md32_common.h and include/openssl_local/md5.h (see erts/emulator/openssl/README). No QUIC, TLS or packet-buffer code is bundled.

The vulnerable QUIC code path therefore does not exist in Erlang/OTP. Closing as NOTABUG (not affected).