Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to HTTP/1.1 endpoint
-
DeliverySend chunked request with huge hex chunk-size
-
ExploitDrip-feed bytes to force parser restarts
-
ExecutionTrigger O(N³) bignum accumulation in chunked_len
-
PersistExhaust CPU and memory
-
ImpactDenial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target must terminate HTTP/1.1 using cowlib < 2.16.1 (typically via the Cowboy server or Gun client) and accept requests using Transfer-Encoding: chunked - which is standard, default HTTP/1.1 behavior, not an opt-in feature. Exploitation requires no authentication, no user interaction, and no special configuration (CVSS PR:N/UI:N/AC:L), so any reachable HTTP endpoint parsing chunked bodies is exposed. The severity of impact scales with the attacker's ability to send a long chunk-size field and to drip-feed it across multiple partial reads (which unlocks the worst-case O(N³) cost); limiting factors are therefore any upstream proxy/WAF that caps request-line/chunk-size length or buffers the full request before forwarding, and network reachability of the vulnerable service (internal-only services face far lower real-world risk). |
| Impact | The CVSS 4.0 base score is 8.7 (High) with vector AV:N/AC:L/AT:N/PR:N/UI:N and impact isolated to availability (VA:H, no confidentiality or integrity impact), which is internally consistent with a pure DoS reachable by any unauthenticated remote client against default configurations. CISA SSVC lists Exploitation: none, Automatable: yes, Technical Impact: partial - so this is a scalable, easily-scriptable availability attack but not a code-execution or data-breach issue. EPSS is only 0.08% (23rd percentile) and the CVE is not in CISA KEV, and no public PoC has been identified, so real-world exploitation pressure is currently low despite the high base score. The signals are not conflicting so much as differently weighted: high severity comes entirely from ease of reach plus total availability loss, while low EPSS reflects that this is a targeted resource-exhaustion bug rather than a wormable RCE. Priority should be driven by exposure - internet-facing Cowboy/Gun deployments warrant prompt patching, internal-only services can follow normal cycles. |
| Exploit ScenarioDerived | An unauthenticated attacker opens a TCP connection to an internet-facing Cowboy-based HTTP server and sends an HTTP/1.1 request with Transfer-Encoding: chunked whose chunk-size field is a very long string of hex digits (e.g. tens of thousands of F's), optionally drip-fed a few bytes at a time to trigger the O(N³) restart-on-partial-read path. The server's Erlang scheduler burns CPU on ever-growing bignum multiplications and allocates large integers, and a handful of such connections can exhaust processing capacity and degrade or halt the service. No public proof-of-concept has been identified at time of analysis, but the attack is trivially scriptable given the low complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Remote denial of service in ninenines cowlib (the HTTP support library behind the Cowboy web server and Gun client) from 0.6.0 before 2.16.1 lets an unauthenticated attacker exhaust CPU and memory by sending an HTTP/1.1 request whose Transfer-Encoding: chunked chunk-size field contains an unbounded run of hex digits. Each digit triggers a bignum multiply-add, so N digits cost O(N²) CPU and O(N) memory, and because the parser discards accumulated length and restarts on every partial read, drip-feeding the input inflates this to O(N³). There is no public exploit identified at time of analysis and EPSS is very low (0.08%), but the flaw is unauthenticated, network-reachable, and per CISA SSVC automatable.
RemediationAI
Vendor-released patch: upgrade cowlib to 2.16.1 or later (fix commit a4b8039ce8c93ab00867ef6b7e888822c09f4369), which caps the chunk-size parser at 16 hex digits. Because cowlib is usually a transitive dependency, update it through your dependency manager (e.g. bump the cowlib entry via rebar3/mix and confirm the resolved version is >= 2.16.1) and rebuild, since pinning only Cowboy/Gun may not force the cowlib bump. If you cannot patch immediately, place the service behind a reverse proxy or WAF that normalizes or bounds Transfer-Encoding: chunked requests and rejects abnormally long chunk-size lines (trade-off: adds an extra hop and requires the proxy to fully parse chunked framing), and/or enforce strict request-size, header, and connection-time limits plus per-IP rate limiting to blunt CPU/memory amplification (trade-off: aggressive limits may reject large legitimate uploads or slow clients). Reference the advisories at https://cna.erlef.org/cves/CVE-2026-7790.html and https://github.com/ninenines/cowlib/commit/a4b8039ce8c93ab00867ef6b7e888822c09f4369.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
cowlib is the low-level HTTP/1.1 and HTTP/2 message-parsing library used by the Cowboy HTTP server and the Gun HTTP client in the Erlang/Elixir ecosystem. The defect (CWE-400, Uncontrolled Resource Consumption / Excessive Allocation) lives in src/cow_http_te.erl, specifically cow_http_te:stream_chunked/2 and the recursive hex accumulator cow_http_te:chunked_len/4, which computes the chunk length as Len*16+digit for every hex character with no cap on the number of digits. Because Erlang integers are arbitrary-precision bignums, Len grows without bound, making each successive multiplication more expensive; the vendor fix adds a digit counter (chunked_len/5 with a when D < 16 guard) that stops accumulating after 16 hex digits, which is more than enough for any legitimate chunk size. The upstream test confirms the pre-patch behavior by parsing 16 F's into the value 18446744073709551617.
Know when Cowlib gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Unauthenticated remote request over default HTTP/1.1 chunked parsing with low complexity (AV:N/AC:L/PR:N/UI:N); impact is pure availability loss (A:H), no confidentiality or integrity effect.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
Lifecycle Timeline
3DescriptionCVE.org
Uncontrolled Resource Consumption vulnerability in ninenines cowlib (cow_http_te module) allows Excessive Allocation.
The chunked transfer-encoding parser in cow_http_te accepts an unbounded number of hex digits in the chunk-size field. Each digit causes a bignum multiplication (Len * 16 + digit), so parsing N hex digits requires O(N²) CPU work and O(N) memory. Additionally, when input is drip-fed, the parser discards the accumulated length on each partial read and restarts from zero on resumption, raising the cost to O(N³). An unauthenticated remote attacker can exploit this by sending an HTTP/1.1 request with Transfer-Encoding: chunked and a very long chunk-size hex string to cause denial of service through CPU exhaustion and memory amplification.
This vulnerability is associated with program file src/cow_http_te.erl and program routines cow_http_te:stream_chunked/2, cow_http_te:chunked_len/4.
This issue affects cowlib: from 0.6.0 before 2.16.1.
Executive ViewAI
Ninenines cowlib versions before 2.16.1, which power Cowboy web servers and Gun HTTP clients, are vulnerable to remote denial-of-service attacks from unauthenticated attackers. Attackers can exhaust server CPU and memory with specially crafted HTTP/1.1 requests, rendering affected services unavailable. Any organization running services built on these frameworks faces service continuity risk.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
An unauthenticated remote peer can exhaust memory on an HTTP/2 endpoint built on ninenines cowlib 2.7.0 or later by send
Unauthenticated remote denial of service in ninenines cowlib (versions 0.1.0 through 2.16.0) allows a single crafted SPD
Link header directive smuggling in ninenines cowlib (2.9.0+) enables attacker-controlled browsers to initiate out-of-ban
HTTP response splitting in ninenines cowlib allows network-accessible attackers to inject arbitrary HTTP headers when ap
CRLF injection in cowlib's SSE encoder allows an attacker who supplies field values - id, event, data, or comment - cont
CRLF injection in cowlib's cow_cookie:cookie/1 encoder allows an attacker who controls cookie name or value strings to i
EUVD-2026-29200
GHSA-32p9-57cr-4x65
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB