CVEfocus › CVE database › CVE-2026-59248

CVE-2026-59248Unbounded HPACK/QPACK prefixed-integer decoding in Cowlib causes memory-exhaustion DoS

CVSS 8.7 HighEPSS 0.5% (higher than 38% of CVEs)Published 2026-07-28Updated 2026-11-24Assigner: EEF

Allocation of resources without limits vulnerability in ninenines cowlib allows an unauthenticated remote HTTP/2 or HTTP/3 peer to exhaust memory on the vulnerable server (or client) and cause a denial of service. The HPACK and QPACK prefixed-integer decoder cow_hpack_common:dec_big_int/3 in src/cow_hpack_common.hrl (invoked from cow_hpack:decode/2 in src/cow_hpack.erl and from cow_qpack:decode_field_section/3 in src/cow_qpack.erl) reads continuation octets until it sees one whose high bit is clear, evaluating Int + (Value bsl M) at each step with the shift M growing by seven per octet. No limit is enforced on the number of continuation octets, on the resulting bit width, or on the value; the decoder consumes whatever encoded length the peer supplies. Because Erlang integers are immutable, each intermediate Value bsl M and each accumulator update allocates a fresh bignum whose digit width grows linearly with the number of octets processed so far. Summed across the whole decode, the transient bignum digit materialization is on the order of the square of the encoded length. A single maximal HPACK indexed representation carried inside one HTTP/2 HEADERS plus one CONTINUATION frame at Cowboy's default max_frame_size_received can force hundreds of megabytes of transient allocation and garbage-collection churn before the resulting header-table index is rejected as invalid. Repeated or concurrent connections multiply the pressure and can drive the Erlang VM to memory exhaustion. Cowlib is the HTTP parser used by Cowboy, RabbitMQ's management plugin, and other Erlang and Elixir HTTP/2 and HTTP/3 servers and clients, so any exposed endpoint that accepts HPACK or QPACK from an untrusted peer is reachable. This issue affects cowlib: from 2.0.0-pre.1 before 2.19.0.

CWE-770

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
8Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10erlang-cowlibFix pendingUBUNTU-CVE-2026-59248
Ubuntu 26.10rabbitmq-serverFix pendingUBUNTU-CVE-2026-59248
Ubuntu 26.04erlang-cowlibUnder investigationUBUNTU-CVE-2026-59248
Ubuntu 26.04rabbitmq-serverFixed4.0.5-10ubuntu5.1UBUNTU-CVE-2026-59248
Ubuntu 24.04erlang-cowlibUnder investigationUBUNTU-CVE-2026-59248
Ubuntu 24.04rabbitmq-serverFixed3.12.1-1ubuntu1.6UBUNTU-CVE-2026-59248
Ubuntu 22.04erlang-cowlibUnder investigationUBUNTU-CVE-2026-59248
Ubuntu 22.04rabbitmq-serverFixed3.9.27-0ubuntu0.5UBUNTU-CVE-2026-59248
Ubuntu 20.04erlang-cowlibFix pendingUBUNTU-CVE-2026-59248
Ubuntu 20.04rabbitmq-serverFix pending3.8.3-0ubuntu0.3+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-59248
Ubuntu 18.04erlang-cowlibFix pendingUBUNTU-CVE-2026-59248
Ubuntu 18.04rabbitmq-serverFix pendingUBUNTU-CVE-2026-59248
Ubuntu 16.04erlang-cowlibFix pendingUBUNTU-CVE-2026-59248
Ubuntu 16.04rabbitmq-serverFix pendingUBUNTU-CVE-2026-59248
Debian 14erlang-cowlibFixed2.19.0-1DEBIAN-CVE-2026-59248

What the vendor says

As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.