Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 65%

CVE-2026-7790: CWE-400 Uncontrolled Resource Consumption in ninenines cowlib

0
High
VulnerabilityCVE-2026-7790cvecve-2026-7790cwe-400
Published: 05/11/2026 (05/11/2026, 18:06:41 UTC)
Source: CVE Database V5
Vendor/Project: ninenines
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
ninenines/cowlib
pkg:github/ninenines/cowlib
Affected versions
=0.6.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/03/2026, 21:19:51 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses