# CVE-2026-56810: mint buffers an entire chunked response chunk in memory in Mint.HTTP1.decode_body/5

Status: published. Published: 2026-07-06. Updated: 2026-11-24.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: EEF) — https://github.com/elixir-mint/mint/commit/193ce714907d16e8adc4ab3c40e4f0c2f045b2a6

## Affected products and versions

- elixir-mint / mint (mint): ≥ 0.5.0; < 1.9.1 (affected, semver). Source: CNA: EEF
- elixir-mint / mint (elixir-mint/mint): ≥ c575d819d39ebf7e9b77ec24584a5ffbb11c844e; < 193ce714907d16e8adc4ab3c40e4f0c2f045b2a6 (affected, git). Source: CNA: EEF

## Severity and prioritization

- CVSS 4.0: 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; source: CNA: EEF

- CISA KEV: No listing in collected sources

- EPSS: 0.43% as of 2026-11-23; percentile 37.92%

- SSVC: exploitation poc; automatable yes; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-770

## Exploit evidence

- exploit: https://github.com/elixir-mint/mint/security/advisories/GHSA-c59h-fq4p-r36r (ADP: CISA-ADP)

## References

- https://github.com/elixir-mint/mint/security/advisories/GHSA-c59h-fq4p-r36r (CNA: EEF; vendor-advisory, related)

- https://cna.erlef.org/cves/CVE-2026-56810.html (CNA: EEF; related)

- https://osv.dev/vulnerability/EEF-CVE-2026-56810 (CNA: EEF; related)

- https://github.com/elixir-mint/mint/commit/c575d819d39ebf7e9b77ec24584a5ffbb11c844e (CNA: EEF; related)

- https://github.com/elixir-mint/mint/commit/193ce714907d16e8adc4ab3c40e4f0c2f045b2a6 (CNA: EEF; patch)

- https://github.com/elixir-mint/mint/security/advisories/GHSA-c59h-fq4p-r36r (ADP: CISA-ADP; exploit)

## Provenance

- CNA: EEF: https://www.cve.org/CVERecord?id=CVE-2026-56810; retrieved 2026-11-24; source updated 2026-11-24

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-56810; retrieved 2026-11-24; source updated Not reported

Revision: c57997903b39bb324b47205beb4455facbb06d943fba69c256be5374282150a4

Canonical: https://y2.dev/cve/CVE-2026-56810

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.