Skip to main content

cowlib CVE-2026-113431

| EUVDEUVD-2026-118102 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-11-06 EEF GHSA-9jxc-cwfw-gpg8
8.7
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Open HTTP/2 connection to endpoint
  2. Exploit
    Send indexed HPACK header fields
  3. Execution
    Decode amplifies to large header list
  4. Impact
    Exhaust memory across streams and connections

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation 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 be an HTTP/2 endpoint using cowlib 2.7.0 or later; cow_http2_machine:headers_decode/4 bounds the compressed HPACK block size and the number of fields but not the decoded header-list size that RFC 9113 6.5.2 governs via SETTINGS_MAX_HEADER_LIST_SIZE. Exploitation requires no authentication and no user interaction (PR:N/UI:N). The amplifying memory allocation is realized when the consuming application copies the decoded header values - explicitly the case for Cowboy, which joins repeated cookie fields into one binary in cowboy_http2:headers_to_map/2; deployments whose consumer does not copy decoded values would see reduced impact. The chief limiting factor is therefore the consumer's handling of decoded headers, not any attacker precondition.

Impact

This is a genuine but bounded availability risk. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N, score 8.7) describes a remotely reachable, low-complexity, unauthenticated flaw whose only impact is on availability - there is no confidentiality or integrity impact. The vuln.today decision label is 'this_week', which is an elevated-but-not-emergency priority, consistent with a memory-exhaustion DoS rather than code execution. No EPSS score was supplied, so exploitation probability cannot be quantified from the input; this is a gap rather than a signal of low risk. The CVE is not in CISA KEV and no public exploit or PoC reference appears among the references (only the CNA advisory, OSV entry, and vendor commits), so exploitation status is 'no public exploit identified at time of analysis'. The signals are internally consistent - network-reachable unauthenticated DoS with a vendor patch available - with no conflict between the vector and the description. The main caveat is that full impact depends on the consuming application: cowlib itself bounds the compressed block and field count, and the large per-stream allocation is realized when a consumer copies the decoded values (as Cowboy does when joining repeated cookie fields), so deployments using cowlib behind Cowboy are the realistic targets.

Exploit ScenarioDerived

An unauthenticated remote attacker opens an HTTP/2 connection to a cowlib-based endpoint (e.g., a Cowboy server) and stores a ~4096-byte header value in the HPACK dynamic table, then sends many one-byte indexed header fields referencing it so that roughly 100 bytes on the wire decode into a ~390 KB header list per stream. Repeating this across many streams and connections exhausts the endpoint's memory, degrading or crashing the service. No public exploit was identified in the provided data, but the AV:N/AC:L/PR:N/UI:N profile makes the attack straightforward to carry out against default configurations.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

An unauthenticated remote peer can exhaust memory on an HTTP/2 endpoint built on ninenines cowlib 2.7.0 or later by sending HEADERS blocks that are tiny on the wire but decode into very large header lists. HPACK indexing lets the attacker store a header value up to the dynamic table size (4096 bytes by default) once and then reference it with one-byte indexed fields, so roughly 100 bytes of compressed input expands to a header list of about 390 KB; the allocation is multiplied per stream and the total is not bounded. Impact materializes when the consuming application copies decoded values - Cowboy does so in cowboy_http2:headers_to_map/2 when joining repeated cookie fields - and the result is a high-availability denial of service with no confidentiality or integrity effect; no public exploit code or confirmed active exploitation was identified at time of analysis.

RemediationAI

Upstream fixes are published as commits a3b15e29b3067644bfd580246c87f7af7a90b3b8 and b461b119e78e4e09bb28b186b09da7ed4a86a0dd in ninenines/cowlib (the latter also adds cow_http2_machine to the application's module list); a tagged released version containing them is not independently confirmed from the supplied data, so verify against the advisory at https://cna.erlef.org/cves/CVE-2026-113431.html or https://osv.dev/vulnerability/EEF-CVE-2026-113431 and pin to a release that includes both commits. If an upgrade cannot be applied immediately, reduce the HPACK dynamic table size via the max_decode_table_size option in cow_http2_machine, which caps the value an attacker can stash and reference - at the cost of reduced header compression efficiency - and advertise and enforce a finite SETTINGS_MAX_HEADER_LIST_SIZE rather than the library's default of infinity. Applications that avoid copying decoded header values, or that impose their own per-request and per-connection limits before materializing joined cookie fields, blunt the amplification; note that the copy in cowboy_http2:headers_to_map/2 happens inside Cowboy, so this requires a code change on the consumer side and does not protect other cowlib-based servers.

Affected VersionsENISA

cowlib b461b119e78e4e09bb28b186b09da7ed4a86a0dd <a3b15e29b3067644bfd580246c87f7af7a90b3b8
cowlib 2.7.0 <*

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

cowlib is the Erlang HTTP library underlying Cowboy and other Erlang/Elixir HTTP servers and clients. In src/cow_http2_machine.erl, headers_decode/4 passes every HEADERS block through cow_hpack:decode/3. That path enforces a limit on the compressed block size and on the number of fields, but never enforces the decoded header-list size - the quantity RFC 9113 section 6.5.2 governs through SETTINGS_MAX_HEADER_LIST_SIZE, which cowlib's default local settings leave at infinity. HPACK's dynamic table reference mechanism converts this gap into an amplification primitive: a value up to the table size (4096 bytes by default, settable via the max_decode_table_size option) is inserted once and then referenced repeatedly by one-byte indexed field representations, so a small wire payload yields a header list orders of magnitude larger. The CWE-770 (Allocation of Resources Without Limits or Throttling) root cause is therefore the absence of an accounting bound on decoded header output, and the practical severity depends on whether the application layer copies those values - Cowboy's cowboy_http2:headers_to_map/2 does, joining repeated cookie fields into a single binary, so each stream allocates on the order of 390 KB and the aggregate across streams and connections is unbounded. The trigger is not described in the available sources beyond the decode-and-copy path; the assessed severity is CVSS 8.7 (CVSS 4.0: AV:N/AC:L/AT:N/PR:N/UI:N/VA:H) and CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - availability only, no confidentiality or integrity impact.

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

Vendor (EEF) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

An unauthenticated remote HTTP/2 peer sends crafted indexed HPACK headers with no privileges or interaction (AV:N/AC:L/PR:N/UI:N); impact is availability-only via memory exhaustion (C:N/I:N/A:H).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowlib allows an unauthenticated remote peer to exhaust the memory of an HTTP/2 endpoint via HPACK-indexed header fields.

cow_http2_machine:headers_decode/4 in src/cow_http2_machine.erl decodes every HEADERS block with cow_hpack:decode/3. It bounds the compressed block size and the number of fields, but not the size of the decoded header list that RFC 9113 section 6.5.2 places under SETTINGS_MAX_HEADER_LIST_SIZE. A peer stores one header value of up to the dynamic table size (4096 bytes by default) and then references it with one-byte indexed fields, so about 100 bytes on the wire decode to a header list of about 390 KB. A consumer that copies the decoded values, as Cowboy does when cowboy_http2:headers_to_map/2 joins repeated cookie fields into one binary, allocates that amount for every stream. The total across streams and connections is not bounded.

This issue affects cowlib: from 2.7.0 onward.

Executive ViewAI

Why It Matters

CVE-2026-113431 is a high-severity HTTP/2 memory exhaustion vulnerability affecting applications using ninenines cowlib 2.7.0 or later, which can lead to service downtime. Leadership should care because an unauthenticated remote attacker could cause a denial-of-service, disrupting operations and impacting availability.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Medium
core HTTP library behind Cowboy/Phoenix in Erlang/Elixir deployments
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy