cve.bz

CVE-2026-59248 ninenines cowlib

8.7 highEPSS 0.3%Fix available

High (8.7) in ninenines cowlib. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in cowlib 2.19.0.

On this page
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.

Severity

CVSS 4.0

8.7 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 22nd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-07-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-59248 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-59248?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-59248?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-59248 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
ninenines cowlibfrom 2.0.0-pre.1 before 2.19.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
EEF-CVE-2026-59248Hexcowlib>=2.0.0-pre.1 <2.19.02.19.0
EEF-CVE-2026-592482.18.0, 2.17.1, 2.17.0, 2.16.1, 2.16.0 and 27 moreno fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14erlang-cowlib2.19.0-1DEBIAN-CVE-2026-59248
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 3 moreerlang-cowlibno fix listedUBUNTU-CVE-2026-59248
Ubuntu22.04:LTSrabbitmq-server3.9.27-0ubuntu0.5UBUNTU-CVE-2026-59248 USN-8869-1
Ubuntu24.04:LTSrabbitmq-server3.12.1-1ubuntu1.6UBUNTU-CVE-2026-59248 USN-8869-1
Ubuntu26.04:LTSrabbitmq-server4.0.5-10ubuntu5.1UBUNTU-CVE-2026-59248 USN-8869-1
Ubuntu26.10erlang-cowlib, rabbitmq-serverno fix listedUBUNTU-CVE-2026-59248
UbuntuPro:16.04:LTS, Pro:18.04:LTSrabbitmq-serverno fix listedUBUNTU-CVE-2026-59248
UbuntuPro:20.04:LTSrabbitmq-server3.8.3-0ubuntu0.3+esm1UBUNTU-CVE-2026-59248 USN-8869-1
Red Hathummingbird:1rabbitmq-server4.20:4.2.9-0.2.hum1RHSA-2026:47236
Red Hathummingbird:1rabbitmq-server4.30:4.3.4-0.2.hum1RHSA-2026:47231
Red Hathummingbird:1rabbitmq-server4.30:4.3.5-0.1.hum1RHSA-2026:57882
Azure Linux3rabbitmq-server3.13.7-9AZL-94305

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important denial of service vulnerability in cowlib, an HTTP parser used by components like RabbitMQ. An unauthenticated remote attacker can exploit this flaw by sending specially crafted HTTP/2 or HTTP/3 frames, leading to unbounded memory allocation and exhaustion, which can cause a service outage. The remote and unauthenticated nature of the attack vector contributes to its Important severity.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Hardened Imagesrabbitmq-server4-3-main-4.3.4-0.2.hum1Fixed 2026-07-28RHSA-2026:47231
Red Hat Hardened Imagesrabbitmq-server4-2-main-4.2.9-0.2.hum1Fixed 2026-07-28RHSA-2026:47236
Red Hat Hardened Imagesrabbitmq-server4-3-main-4.3.5-0.1.hum1Fixed 2026-08-21RHSA-2026:57882

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-59248.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON