๐Ÿ” CVE Alert

CVE-2026-32873

HIGH 7.5

ewe: Loop with Unreachable Exit Condition ('Infinite Loop')

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
11th

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.

CWE CWE-825
Vendor vshakitskiy
Product ewe
Published Mar 20, 2026
Last Updated Mar 20, 2026
Stay Ahead of the Next One

Get instant alerts for vshakitskiy ewe

Be the first to know when new high vulnerabilities affecting vshakitskiy ewe are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

vshakitskiy / ewe
>= 0.8.0, < 3.0.5

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/vshakitskiy/ewe/security/advisories/GHSA-4w98-xf39-23gp github.com: https://github.com/vshakitskiy/ewe/commit/8513de9dcdd0005f727c0f6f15dd89f8d626f560 github.com: https://github.com/vshakitskiy/ewe/commit/d8b9b8a86470c0cb5696647997c2f34763506e37