Home / ninenines / cowlib / CVE-2026-7790
CVE-2026-7790: is it exploited, and which versions of ninenines cowlib are affected and fixed?
CVE-2026-7790 is a denial of service (uncontrolled resource consumption) vulnerability in ninenines cowlib. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: cowlib from 0.6.0 before 2.16.1 (GitHub advisory GHSA-32p9-57cr-4x65). Fixed in 2.16.1 (GitHub advisory GHSA-32p9-57cr-4x65). Severity: High (8.7, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 20, 2026, 05:19 UTC and NVD November 20, 2026, 07:04 UTC.
What is CVE-2026-7790?
Unbounded chunk-size hex digits in cowlib cause quadratic CPU and memory DoS
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.
From the CVE record by EEF, last updated November 20, 2026, 05:08 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ninenines | cowlib | from 0.6.0 before 2.16.1 | 2.16.1 |
| ninenines | cowlib ninenines/cowlib | not stated |
As the CVE record by EEF states it, last updated November 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Hex | cowlib | >= 0.6.0, < 2.16.1 | 2.16.1 | GHSA-32p9-57cr-4x65 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 18, 2026. Summary: cowlib cow_http_te module: Uncontrolled Resource Consumption vulnerability allows Excessive Allocation.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ninenines | cowlib | from 0.6.0 before 2.16.1 | application |
NVD analysis (status Modified), last modified November 20, 2026, 06:17 UTC.
How severe is CVE-2026-7790?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 4.0 | 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 | EEF |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-7790 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, May 11, 2026)
- EPSS
- 0.57% probability of exploitation activity in the next 30 days, percentile 48.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-400 Uncontrolled Resource Consumption
Is there a workaround? (from the CVE record)
In Cowboy, setting initial_stream_flow_size to a much lower value limits the amount of chunked body data that cowlib will parse in a single read, reducing the window of data an attacker can use to trigger the quadratic work. This does not fully eliminate the vulnerability but can significantly reduce its impact for some applications.
Where are the vendor advisories and references?
- EEF CNA record for CVE-2026-7790 related, third-party-advisory
- OSV record EEF-CVE-2026-7790 related
- Introducing commit 8c0e428 in ninenines/cowlib related
- Fix commit a4b8039 in ninenines/cowlib patch
Who found and reported it?
- Peter Ullrich (finder)
- Loïc Hoguin (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- May 4, 2026
- Published
- May 11, 2026, 18:06 UTC
- CVE record updated
- November 20, 2026, 05:08 UTC by EEF
- NVD
- Modified, last modified November 20, 2026, 06:17 UTC
- Last checked
- CVE list November 20, 2026, 05:19 UTC; NVD November 20, 2026, 07:04 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect cowlib?
- Nov 6, 2026CVE-2026-113431 ninenines cowlib: denial of service (resources allocated without limits)
- Aug 18, 2026CVE-2026-43971 ninenines cowlib: improper output encoding
- Jul 28, 2026CVE-2026-59248 ninenines cowlib: denial of service (resources allocated without limits)
- Jun 8, 2026CVE-2026-43966 ninenines cowlib: HTTP response splitting
- May 13, 2026CVE-2026-43970 ninenines cowlib: improper Handling of Highly Compressed Data (Data Amplification)
- May 11, 2026CVE-2026-43968 ninenines cowlib: improper Neutralization of CRLF Sequences
- May 11, 2026CVE-2026-43969 ninenines cowlib: improper Neutralization of CRLF Sequences
Questions about CVE-2026-7790
Is CVE-2026-7790 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.57% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of ninenines cowlib are affected by CVE-2026-7790?
cowlib from 0.6.0 before 2.16.1, per the GitHub advisory GHSA-32p9-57cr-4x65. The tables above give every range the sources list.
Which version fixes CVE-2026-7790?
2.16.1, per the GitHub advisory GHSA-32p9-57cr-4x65. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-7790?
High (8.7, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-7790?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.