CVE-2026-59248
Last modified
CVE-2026-59248 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. 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. EPSS estimates a 0.29% chance of exploitation in the next 30 days.
Description
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.
Metrics
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/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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ninenines | cowlib | >= 2.0.0-pre.1, < 2.19.0 |
| ninenines | cowlib | >= 5ddecbc121f812aec53d9df91829448d8e94e44c, < f582430498072a0c65ad338030321576dc13a343 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-59248?
How severe is CVE-2026-59248?
How do I fix CVE-2026-59248?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-59242Apache Airflow's XCom `GET /api/v2/{...}/xcomEntries/{key}?d…
- CVE-2026-59243The FAB auth manager's Azure AD OAuth login defaulted `verif…9.8
- CVE-2026-59244Apache Airflow's secrets masker did not mask `var.json` Vari…
- CVE-2026-59245In the Apache Airflow FAB auth manager, a DAG whose `dag_id`…8.1
- CVE-2026-59246Allocation of resources without limits vulnerability in elix…6.3
- CVE-2026-59247Insufficient Verification of Data Authenticity vulnerability…7.6
- CVE-2026-59249Inconsistent interpretation of HTTP requests (HTTP response …6.3
- CVE-2026-59250Classic buffer overflow in the Erlang/OTP megaco flex scanne…8.3
- CVE-2026-59251Allocation of resources without limits in Erlang/OTP public_…7.5
- CVE-2026-59252Improper Validation of Specified Quantity in Input in ZenHiv…8.2
- CVE-2026-59253n8n before 2.28.0 contains an improper authorization vulnera…5
- CVE-2026-59254n8n before 2.28.1 contains an information disclosure vulnera…6.3
Are you affected by CVE-2026-59248?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
