CVE-2026-32873
published high CVSS 3.1 · 7.5ewe: Loop with Unreachable Exit Condition ('Infinite Loop')
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vshakitskiy | — | ewe>= 0.8.0, < 3.0.5 | Affected | Not stated | GitHub_M |
Description
ewe is a Gleam web server. Versions 0.8.0 through 3.0.4 contain a bug in the handle_trailers function where rejected trailer headers (forbidden or undeclared) cause an infinite loop. When handle_trailers encounters such a trailer, three code paths (lines 520, 523, 526) recurse with the original buffer (rest) instead of advancing past the rejected header (Buffer(header_rest, 0)), causing decoder.decode_packet to re-parse the same header on every iteration. The resulting loop has no timeout or escape — the BEAM process permanently wedges at 100% CPU. Any application that calls ewe.read_body on chunked requests is affected, and this is exploitable by any unauthenticated remote client before control returns to application code, making an application-level workaround impossible. This issue is fixed in version 3.0.5.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vshakitskiy | ewe | >= 0.8.0, < 3.0.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-825 CWE-825: Expired Pointer Dereference
References
3Provider assertions
2GitHub_M · cna
ewe: Loop with Unreachable Exit Condition ('Infinite Loop')
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 686b6d7cbc029abf60dbaaea2db53e6a7bd61059a05015e77a1b1694c2da154f
- Ingested
- 23 Sep 2026, 09:10:18 UTC
- Source record
- Official CVE record