CVE-2026-7790: CWE-400 Uncontrolled Resource Consumption in ninenines cowlib
CVE-2026-7790 is a high-severity vulnerability in the ninenines cowlib library, specifically in the cow_http_te module's chunked transfer-encoding parser. The parser accepts an unbounded number of hexadecimal digits in the chunk-size field, leading to excessive CPU and memory consumption. An unauthenticated remote attacker can exploit this by sending a specially crafted HTTP/1.1 request with a very long chunk-size hex string, causing denial of service through resource exhaustion. This affects cowlib versions from 0.6.0 before 2.16.1. No official patch or remediation guidance is currently provided by the vendor.
AI Analysis
Technical Summary
The vulnerability in ninenines cowlib's cow_http_te module arises from the chunked transfer-encoding parser accepting an unlimited number of hex digits in the chunk-size field. Each hex digit triggers a bignum multiplication operation, resulting in O(N²) CPU complexity and O(N) memory usage for N digits. When input is drip-fed, the parser restarts the length calculation on each partial read, increasing the computational cost to O(N³). This flaw allows an unauthenticated attacker to cause denial of service by sending an HTTP/1.1 request with Transfer-Encoding: chunked and an excessively long chunk-size hex string, leading to CPU exhaustion and memory amplification. The issue affects cowlib versions starting from 0.6.0 up to but not including 2.16.1. The vulnerability is tracked as CWE-400 (Uncontrolled Resource Consumption) and has a CVSS 4.0 base score of 8.7, indicating high severity. No patch or official remediation level is currently documented.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to cause denial of service by exhausting CPU resources and amplifying memory usage on systems running affected versions of cowlib. This can disrupt service availability due to excessive resource consumption triggered by specially crafted HTTP requests with chunked transfer encoding. There are no indications of confidentiality, integrity, or other impacts beyond denial of service.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, consider implementing network-level protections such as limiting the size and rate of chunked transfer-encoding requests or using a web application firewall to detect and block suspiciously long chunk-size headers. Monitor for unusual resource usage patterns that may indicate exploitation attempts.
CVE-2026-7790: CWE-400 Uncontrolled Resource Consumption in ninenines cowlib
Description
CVE-2026-7790 is a high-severity vulnerability in the ninenines cowlib library, specifically in the cow_http_te module's chunked transfer-encoding parser. The parser accepts an unbounded number of hexadecimal digits in the chunk-size field, leading to excessive CPU and memory consumption. An unauthenticated remote attacker can exploit this by sending a specially crafted HTTP/1.1 request with a very long chunk-size hex string, causing denial of service through resource exhaustion. This affects cowlib versions from 0.6.0 before 2.16.1. No official patch or remediation guidance is currently provided by the vendor.
CVSS v4.0
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in ninenines cowlib's cow_http_te module arises from the chunked transfer-encoding parser accepting an unlimited number of hex digits in the chunk-size field. Each hex digit triggers a bignum multiplication operation, resulting in O(N²) CPU complexity and O(N) memory usage for N digits. When input is drip-fed, the parser restarts the length calculation on each partial read, increasing the computational cost to O(N³). This flaw allows an unauthenticated attacker to cause denial of service by sending an HTTP/1.1 request with Transfer-Encoding: chunked and an excessively long chunk-size hex string, leading to CPU exhaustion and memory amplification. The issue affects cowlib versions starting from 0.6.0 up to but not including 2.16.1. The vulnerability is tracked as CWE-400 (Uncontrolled Resource Consumption) and has a CVSS 4.0 base score of 8.7, indicating high severity. No patch or official remediation level is currently documented.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to cause denial of service by exhausting CPU resources and amplifying memory usage on systems running affected versions of cowlib. This can disrupt service availability due to excessive resource consumption triggered by specially crafted HTTP requests with chunked transfer encoding. There are no indications of confidentiality, integrity, or other impacts beyond denial of service.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, consider implementing network-level protections such as limiting the size and rate of chunked transfer-encoding requests or using a web application firewall to detect and block suspiciously long chunk-size headers. Monitor for unusual resource usage patterns that may indicate exploitation attempts.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-05-04T18:23:21.380Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a022c3bcbff5d86104f7dbe
Added to database: 05/11/2026, 19:21:31 UTC
Last enriched: 06/03/2026, 21:19:51 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 136
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.