CVE catalog

CVE-2026-59248

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 denia

[CVE catalog]

Severity
High · CVSS 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Source
[NVD] · [CVE record]
EPSS
0.29% · Oct 25, 2026

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 before 2.19.0.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianerlang-cowlibsid2.21.0-1fixed
Debianerlang-cowlibforky2.21.0-1fixed
Debianerlang-cowlibtrixie1.3.0-3not affected
Debianerlang-cowlibbookworm1.3.0-3not affected
Ubunturabbitmq-servernoble3.12.1-1ubuntu1.6fixed
Ubunturabbitmq-serverpro3.7.8-4ubuntu2vulnerable
Ubunturabbitmq-serverpro3.7.18-1vulnerable
Ubunturabbitmq-serverpro3.8.2-0ubuntu1vulnerable
Ubunturabbitmq-serverpro3.8.2-0ubuntu1.1vulnerable
Ubunturabbitmq-serverpro3.8.2-0ubuntu1.2vulnerable
Ubunturabbitmq-serverpro3.8.2-0ubuntu1.3vulnerable
Ubunturabbitmq-serverpro3.8.2-0ubuntu1.4vulnerable
Ubunturabbitmq-serverpro3.8.2-0ubuntu1.5vulnerable
Ubunturabbitmq-serverpro3.8.3-0ubuntu0.1vulnerable
Ubunturabbitmq-serverpro3.8.3-0ubuntu0.2vulnerable
Ubunturabbitmq-serverpro3.8.3-0ubuntu0.3vulnerable
Ubunturabbitmq-serverpro3.8.3-0ubuntu0.3+esm1fixed
Ubunturabbitmq-server22.043.8.9-3ubuntu1vulnerable
Ubunturabbitmq-server22.043.9.8-1vulnerable
Ubunturabbitmq-server22.043.9.8-2vulnerable
Ubunturabbitmq-server22.043.9.8-3vulnerable
Ubunturabbitmq-server22.043.9.8-5vulnerable
Ubunturabbitmq-server22.043.9.8-6vulnerable
Ubunturabbitmq-server22.043.9.13-1vulnerable
Ubunturabbitmq-server22.043.9.13-1ubuntu0.22.04.1vulnerable
Ubunturabbitmq-server22.043.9.13-1ubuntu0.22.04.2vulnerable
Ubunturabbitmq-server22.043.9.27-0ubuntu0.1vulnerable
Ubunturabbitmq-server22.043.9.27-0ubuntu0.2vulnerable
Ubunturabbitmq-server22.043.9.27-0ubuntu0.5fixed
Ubunturabbitmq-server24.043.12.1-1vulnerable
Ubunturabbitmq-server24.043.12.1-1ubuntu1vulnerable
Ubunturabbitmq-server24.043.12.1-1ubuntu1.2vulnerable
Ubunturabbitmq-server24.043.12.1-1ubuntu1.4vulnerable
Ubunturabbitmq-server24.043.12.1-1ubuntu1.6fixed
Ubunturabbitmq-server26.044.0.5-8ubuntu2vulnerable
Ubunturabbitmq-server26.044.0.5-10ubuntu1vulnerable
Ubunturabbitmq-server26.044.0.5-10ubuntu2vulnerable
Ubunturabbitmq-server26.044.0.5-10ubuntu3vulnerable
Ubunturabbitmq-server26.044.0.5-10ubuntu4vulnerable
Ubunturabbitmq-server26.044.0.5-10ubuntu5vulnerable
Ubunturabbitmq-server26.044.0.5-10ubuntu5.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianerlang-cowlibsourcesid2.19.0-1not yet assignedNot reported[1142982]
Debianerlang-cowlibsourceforky2.19.0-1not yet assignedNot reported[1142982]
Debianerlang-cowlibsourcetrixieNot affectedunimportantNot reported[1142982]
Debianerlang-cowlibsourcebookwormNot affectedunimportantNot reported[1142982]
Ubunturabbitmq-serverdebnoble3.12.1-1ubuntu1.6Not reportedNot reportedNot reported
Ubunturabbitmq-serverdebpro3.8.3-0ubuntu0.3+esm1Not reportedUSN-8869-1Not reported
Ubunturabbitmq-serverdeb22.043.9.27-0ubuntu0.5Not reportedUSN-8869-1Not reported
Ubunturabbitmq-serverdeb24.043.12.1-1ubuntu1.6Not reportedUSN-8869-1Not reported
Ubunturabbitmq-serverdeb26.044.0.5-10ubuntu5.1Not reportedUSN-8869-1Not reported

[Debian bug #1142982]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [erlang-cowlib]Not affected
    Details (2)
    • 1.3.0-3 · arm64 · bookworm

      Not affected

      nvd · erlang-cowlib · debian · bookworm

    • 1.3.0-3+b1 · amd64 · bookworm

      Not affected

      nvd · erlang-cowlib · debian · bookworm

Observed:

References