Bug 2587524

Summary: CVE-2026-113431 erlang-cowlib: cowlib: Denial of Service via unbounded HTTP/2 header decompression [fedora-all]
Product: [Fedora] Fedora Reporter: Samuele Negrini <snegrini>
Component: erlang-cowlibAssignee: Peter Lemenkov <lemenkov>
Status: ON_QA --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: lemenkov
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["6cc59dd7-f935-4cea-8854-e9e16ad65da8"]}
Fixed In Version: Doc Type: ---
Doc Text:
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:
Bug Depends On:    
Bug Blocks: 2568126    

Description Samuele Negrini 2026-11-30 18:15:38 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.

Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowlib allows an unauthenticated remote peer to exhaust the memory of an HTTP/2 endpoint via HPACK-indexed header fields.

cow_http2_machine:headers_decode/4 in src/cow_http2_machine.erl decodes every HEADERS block with cow_hpack:decode/3. It bounds the compressed block size and the number of fields, but not the size of the decoded header list that RFC 9113 section 6.5.2 places under SETTINGS_MAX_HEADER_LIST_SIZE. A peer stores one header value of up to the dynamic table size (4096 bytes by default) and then references it with one-byte indexed fields, so about 100 bytes on the wire decode to a header list of about 390 KB. A consumer that copies the decoded values, as Cowboy does when cowboy_http2:headers_to_map/2 joins repeated cookie fields into one binary, allocates that amount for every stream. The total across streams and connections is not bounded.

This issue affects cowlib: affected from 2.7.0 before 2.22.0.

Fedora 43 and 44 are affected

Comment 1 Fedora Update System 2026-12-01 17:37:13 UTC
FEDORA-2026-6e9da69776 (erlang-cowlib-2.19.0-2.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-6e9da69776

Comment 2 Fedora Update System 2026-12-02 02:35:20 UTC
FEDORA-2026-6e9da69776 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-6e9da69776`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-6e9da69776

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.