Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-82728
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 03:31 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 4 Sept 2026, 14:31 UTC

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.

osv:CVE-2026-82728
Complete source record
{
  "id": "2ebea1d634fbae1aea4fafeae258460066d5777f249ee127e84d7aa5c19a717a",
  "url": "https://osv.dev/vulnerability/CVE-2026-82728",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Unbounded HTTP/1 status-line and chunk-extension buffering in Mint causes memory-exhaustion DoS",
    "summary": "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.",
    "evidence": "osv:CVE-2026-82728",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-82728",
      "aliases": [
        "CVE-2026-82728",
        "EEF-CVE-2026-82728",
        "GHSA-g83f-2j6r-q6m4"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/elixir-mint/mint",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c088e4b6430545338841ab8d294369e45d39856a"
                },
                {
                  "fixed": "19be5558b6a317e271c78666498dd78b151e490a"
                },
                {
                  "introduced": "47889857fb36f07606ad9c2e52080d202d419058"
                },
                {
                  "fixed": "75c8be1fada9983d6972418d162d55b6e62d507e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "c088e4b6430545338841ab8d294369e45d39856a"
                      },
                      {
                        "fixed": "19be5558b6a317e271c78666498dd78b151e490a"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.1.0"
                      },
                      {
                        "fixed": "1.10.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "19be5558b6a317e271c78666498dd78b151e490a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.9.3",
            "v1.9.2",
            "v1.9.1",
            "v1.9.0",
            "v1.8.0",
            "v1.7.1",
            "v1.7.0",
            "v1.6.2",
            "v1.6.1",
            "v1.6.0",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.2",
            "v1.4.1",
            "v1.4.0",
            "v1.3.0",
            "v1.2.1",
            "v1.2.0",
            "v1.1.0",
            "v1.0.0",
            "v0.5.0",
            "v0.4.0",
            "v0.2.1",
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82728.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:53.504223591Z",
      "provider": "osv",
      "references": [
        "https://cna.erlef.org/cves/CVE-2026-82728.html",
        "https://github.com",
        "https://osv.dev/vulnerability/EEF-CVE-2026-82728",
        "https://repo.hex.pm",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82728.json",
        "https://github.com/elixir-mint/mint/security/advisories/GHSA-g83f-2j6r-q6m4",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-82728",
        "https://github.com/elixir-mint/mint/commit/19be5558b6a317e271c78666498dd78b151e490a",
        "https://github.com/elixir-mint/mint"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-770"
        ],
        "cna_assigner": "EEF",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82728.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-82728",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 522234,
  "published_at": "2026-09-04T14:31:30.059+00:00"
}