p PatchFirst

CVE-2026-59248

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

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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 · Élevée · EPSS 0,3% · Code d’exploitation public · Correctif disponible

Publication
Mise à jour

Pile logicielle: system

Produits et versions concernés

  • cowlib

    Versions du logiciel
    • ≥ 2.0.0-pre.1, < 2.19.0: Concernée (semver)

    Mettez à jour vers 2.19.0

  • cowlib

    Versions du logiciel
    • ≥ 5ddecbc121f812aec53d9df91829448d8e94e44c, < f582430498072a0c65ad338030321576dc13a343: Concernée (git)

    Aucun correctif publié

  • erlang-cowlib Debian:14

    Versions du logiciel
    • 1.3.0-3
    • 2.17.1-1
    • 2.17.1-2
    • 2.18.0-1
    Plages de versions concernées
    • ECOSYSTEM: < 2.19.0-1

    Mettez à jour vers 2.19.0-1

  • rabbitmq-server Ubuntu:Pro:16.04:LTS

    Versions du logiciel
    • 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
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • erlang-cowlib Ubuntu:16.04:LTS

    Versions du logiciel
    • 1.3.0-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • rabbitmq-server Ubuntu:Pro:18.04:LTS

    Versions du logiciel
    • 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
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • erlang-cowlib Ubuntu:18.04:LTS

    Versions du logiciel
    • 1.3.0-2
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • rabbitmq-server Ubuntu:Pro:20.04:LTS

    Versions du logiciel
    • 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
    Plages de versions concernées
    • ECOSYSTEM: < 3.8.3-0ubuntu0.3+esm1

    Mettez à jour vers 3.8.3-0ubuntu0.3+esm1

  • erlang-cowlib Ubuntu:20.04:LTS

    Versions du logiciel
    • 1.3.0-3
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • erlang-cowlib Ubuntu:22.04:LTS

    Versions du logiciel
    • 1.3.0-3
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • rabbitmq-server Ubuntu:22.04:LTS

    Versions du logiciel
    • 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
    Plages de versions concernées
    • ECOSYSTEM: < 3.9.27-0ubuntu0.5

    Mettez à jour vers 3.9.27-0ubuntu0.5

  • erlang-cowlib Ubuntu:24.04:LTS

    Versions du logiciel
    • 1.3.0-3
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • rabbitmq-server Ubuntu:24.04:LTS

    Versions du logiciel
    • 3.12.1-1
    • 3.12.1-1ubuntu1
    • 3.12.1-1ubuntu1.2
    • 3.12.1-1ubuntu1.4
    Plages de versions concernées
    • ECOSYSTEM: < 3.12.1-1ubuntu1.6

    Mettez à jour vers 3.12.1-1ubuntu1.6

  • erlang-cowlib Ubuntu:26.10

    Versions du logiciel
    • 1.3.0-3build1
    • 2.19.0-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • rabbitmq-server Ubuntu:26.10

    Versions du logiciel
    • 4.0.5-10ubuntu5
    • 4.3.2-4ubuntu2
    • 4.3.2-4ubuntu3
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • erlang-cowlib Ubuntu:26.04:LTS

    Versions du logiciel
    • 1.3.0-3
    • 1.3.0-3build1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • rabbitmq-server Ubuntu:26.04:LTS

    Versions du logiciel
    • 4.0.5-8ubuntu2
    • 4.0.5-10ubuntu1
    • 4.0.5-10ubuntu2
    • 4.0.5-10ubuntu3
    • 4.0.5-10ubuntu4
    • 4.0.5-10ubuntu5
    Plages de versions concernées
    • ECOSYSTEM: < 4.0.5-10ubuntu5.1

    Mettez à jour vers 4.0.5-10ubuntu5.1

Sources originales

Vérifiez votre serveur →