CVE-2026-56810
published high CVSS 4.0 · 8.7mint buffers an entire chunked response chunk in memory in Mint.HTTP1.decode_body/5
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| elixir-mint | — | mint0.5.0 to < 1.9.1 · Other versions: unaffected | Affected | Not stated | EEF |
| elixir-mint | — | elixir-mint/mintmint · c575d819d39ebf7e9b77ec24584a5ffbb11c844e to < 193ce714907d16e8adc4ab3c40e4f0c2f045b2a6 · Other versions: unaffected | Affected | Not stated | EEF |
Description
Allocation of Resources Without Limits or Throttling vulnerability in elixir-mint mint (Mint.HTTP1 module) allows a denial of service via an oversized chunked transfer-encoded response. This vulnerability is associated with program files lib/mint/http1.ex and program routines Mint.HTTP1.decode_body/5, Mint.HTTP1.add_body_to_buffer/2. When Mint decodes a chunked HTTP response body, it accumulates each partial fragment of the current chunk in the connection's data_buffer (an unbounded iolist) via add_body_to_buffer/2 and does not emit the data to the caller until the full declared chunk length has been received. The chunk size is taken directly from the server and parsed with no upper bound, so a malicious or compromised server can announce one enormous chunk (for example a size line of 7FFFFFFF, about 2 GiB) and then send the body bytes slowly without ever completing the chunk. The client buffers every received byte while it waits for a completion that never arrives, and because no data responses are produced until the chunk finishes, a caller that otherwise streams large content-length bodies safely gains no protection. An unauthenticated remote server (reachable whenever a client follows redirects, fetches user-supplied URLs, or processes webhooks) can drive the client's memory arbitrarily high and trigger an out-of-memory condition. This issue affects mint: from 0.5.0 before 1.9.1.
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
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| elixir-mint | mint | 0.5.0 to < 1.9.1 (affected · semver)Default: unaffected | EEF · cna |
| elixir-mint | mint | c575d819d39ebf7e9b77ec24584a5ffbb11c844e to < 193ce714907d16e8adc4ab3c40e4f0c2f045b2a6 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-770 CWE-770 Allocation of Resources Without Limits or Throttling
References
5- EEF CNA record for CVE-2026-56810 https://cna.erlef.org/cves/CVE-2026-56810.html
- Fix commit 193ce71 in elixir-mint/mint https://github.com/elixir-mint/mint/commit/193ce714907d16e8adc4ab3c40e4f0c2f045b2a6
- Introducing commit c575d81 in elixir-mint/mint https://github.com/elixir-mint/mint/commit/c575d819d39ebf7e9b77ec24584a5ffbb11c844e
- Chunked response decoder buffers an entire chunk in memory before emitting it https://github.com/elixir-mint/mint/security/advisories/GHSA-c59h-fq4p-r36r
- OSV record EEF-CVE-2026-56810 https://osv.dev/vulnerability/EEF-CVE-2026-56810
Provider assertions
2EEF · cna
mint buffers an entire chunked response chunk in memory in Mint.HTTP1.decode_body/5
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f3bb6135a003f1c54cfe4f9e4eed7963ec6a41ce58987211799e62f5a9536806
- Ingested
- 24 Nov 2026, 05:00:24 UTC
- Source record
- Official CVE record