p PatchFirst

CVE-2026-59248

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

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

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.

CVSS 8.7 · Hoch · EPSS 0,3% · Öffentlicher Exploit · Korrektur verfügbar

Veröffentlicht
Aktualisiert

Technologie-Stack: system

Betroffene Produkte und Versionen

  • cowlib

    Softwareversionen
    • ≥ 2.0.0-pre.1, < 2.19.0: Betroffen (semver)

    Auf 2.19.0 aktualisieren

  • cowlib

    Softwareversionen
    • ≥ 5ddecbc121f812aec53d9df91829448d8e94e44c, < f582430498072a0c65ad338030321576dc13a343: Betroffen (git)

    Keine Korrektur veröffentlicht

  • erlang-cowlib Debian:14

    Softwareversionen
    • 1.3.0-3
    • 2.17.1-1
    • 2.17.1-2
    • 2.18.0-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 2.19.0-1

    Auf 2.19.0-1 aktualisieren

  • rabbitmq-server Ubuntu:Pro:16.04:LTS

    Softwareversionen
    • 3.5.4-1
    • 3.5.4-3
    • 3.5.4-3.1
    • 3.5.7-1
    • 3.5.7-1ubuntu0.16.04.1
    • 3.5.7-1ubuntu0.16.04.2
    • 3.5.7-1ubuntu0.16.04.4
    • 3.5.7-1ubuntu0.16.04.4+esm1
    • 3.5.7-1ubuntu0.16.04.4+esm2
    • 3.5.7-1ubuntu0.16.04.4+esm3
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • erlang-cowlib Ubuntu:16.04:LTS

    Softwareversionen
    • 1.3.0-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • rabbitmq-server Ubuntu:Pro:18.04:LTS

    Softwareversionen
    • 3.6.10-1
    • 3.6.10-1ubuntu0.1
    • 3.6.10-1ubuntu0.3
    • 3.6.10-1ubuntu0.4
    • 3.6.10-1ubuntu0.5
    • 3.6.10-1ubuntu0.5+esm1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • erlang-cowlib Ubuntu:18.04:LTS

    Softwareversionen
    • 1.3.0-2
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • rabbitmq-server Ubuntu:Pro:20.04:LTS

    Softwareversionen
    • 3.7.8-4ubuntu2
    • 3.7.18-1
    • 3.8.2-0ubuntu1
    • 3.8.2-0ubuntu1.1
    • 3.8.2-0ubuntu1.2
    • 3.8.2-0ubuntu1.3
    • 3.8.2-0ubuntu1.4
    • 3.8.2-0ubuntu1.5
    • 3.8.3-0ubuntu0.1
    • 3.8.3-0ubuntu0.2
    • 3.8.3-0ubuntu0.3
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 3.8.3-0ubuntu0.3+esm1

    Auf 3.8.3-0ubuntu0.3+esm1 aktualisieren

  • erlang-cowlib Ubuntu:20.04:LTS

    Softwareversionen
    • 1.3.0-3
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • erlang-cowlib Ubuntu:22.04:LTS

    Softwareversionen
    • 1.3.0-3
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • rabbitmq-server Ubuntu:22.04:LTS

    Softwareversionen
    • 3.8.9-3ubuntu1
    • 3.9.8-1
    • 3.9.8-2
    • 3.9.8-3
    • 3.9.8-5
    • 3.9.8-6
    • 3.9.13-1
    • 3.9.13-1ubuntu0.22.04.1
    • 3.9.13-1ubuntu0.22.04.2
    • 3.9.27-0ubuntu0.1
    • 3.9.27-0ubuntu0.2
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 3.9.27-0ubuntu0.5

    Auf 3.9.27-0ubuntu0.5 aktualisieren

  • erlang-cowlib Ubuntu:24.04:LTS

    Softwareversionen
    • 1.3.0-3
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • rabbitmq-server Ubuntu:24.04:LTS

    Softwareversionen
    • 3.12.1-1
    • 3.12.1-1ubuntu1
    • 3.12.1-1ubuntu1.2
    • 3.12.1-1ubuntu1.4
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 3.12.1-1ubuntu1.6

    Auf 3.12.1-1ubuntu1.6 aktualisieren

  • erlang-cowlib Ubuntu:26.10

    Softwareversionen
    • 1.3.0-3build1
    • 2.19.0-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • rabbitmq-server Ubuntu:26.10

    Softwareversionen
    • 4.0.5-10ubuntu5
    • 4.3.2-4ubuntu2
    • 4.3.2-4ubuntu3
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • erlang-cowlib Ubuntu:26.04:LTS

    Softwareversionen
    • 1.3.0-3
    • 1.3.0-3build1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • rabbitmq-server Ubuntu:26.04:LTS

    Softwareversionen
    • 4.0.5-8ubuntu2
    • 4.0.5-10ubuntu1
    • 4.0.5-10ubuntu2
    • 4.0.5-10ubuntu3
    • 4.0.5-10ubuntu4
    • 4.0.5-10ubuntu5
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 4.0.5-10ubuntu5.1

    Auf 4.0.5-10ubuntu5.1 aktualisieren

Originalquellen

Prüfen Sie Ihren Server →