Skip to content

CVE-2026-82728 Unbounded HTTP/1 status-line and chunk-extension buffering in Mint causes memory-exhaustion DoS

HighCVSS 8.2 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

Allocation of Resources Without Limits or Throttling vulnerability in elixir-mint mint allows a remote HTTP server to exhaust memory on the client host and cause a denial of service.

Two HTTP/1 response-parser states accumulate server data without any cap. In lib/mint/http1.ex, decode_status_line/4 stores the unconsumed data in conn.buffer when the status line is incomplete, and decode_body/5 does the same for an unterminated chunk-extension line. Both wait for a CRLF the server never has to send, and conn.buffer is prepended to every subsequent socket message. The :max_header_list_size budget is wired only into decode_headers/5 and decode_trailer_headers/4, so neither of these states is covered by it. A malicious server, or one reached through an attacker-controlled redirect or a fetched URL, streams bytes indefinitely until the BEAM node is killed by the operating system out-of-memory handler. The chunk-extension variant is reached after a valid status line and a complete, valid header section, so an intermediary inspecting only headers sees an ordinary 200 response.

This issue affects mint: from 0.1.0 before 1.10.0.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
elixir-mint mint >= 0.1.0, < 1.10.0; >= c088e4b6430545338841ab8d294369e45d39856a, < 19be5558b6a317e271c78666498dd78b151e490a 1.10.0, 19be5558b6a317e271c78666498dd78b151e490a Fixed

Affected products

ProductAffected versionsFixed in
elixir-mint mint >= 0.1.0, < 1.10.0 1.10.0
elixir-mint mint >= c088e4b6430545338841ab8d294369e45d39856a, < 19be5558b6a317e271c78666498dd78b151e490a 19be5558b6a317e271c78666498dd78b151e490a

References