Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-59248

Type: advisorySource: OSV1 source record

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. Cow

Announced Group revision 1
Original source ↗

DEBIAN-CVE-2026-59248

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-59248

erlang-cowlib

Source reference: /affected/0/package/name

Affected versions
1.3.0-3

Source reference: /affected/0/versions

2.17.1-1

Source reference: /affected/0/versions

2.17.1-2

Source reference: /affected/0/versions

2.18.0-1

Source reference: /affected/0/versions

Fixed versions
2.19.0-1

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.19.0-1"
          }
        ]
      }
    ],
    "package": {
      "name": "erlang-cowlib",
      "purl": "pkg:deb/debian/erlang-cowlib?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "1.3.0-3",
      "2.17.1-1",
      "2.17.1-2",
      "2.18.0-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-59248.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#58019 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement