{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-58229", "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db", "state": "PUBLISHED", "assignerShortName": "EEF", "dateReserved": "2026-06-29T18:54:08.633Z", "datePublished": "2026-07-14T08:36:54.616Z", "dateUpdated": "2026-11-24T05:29:15.736Z" }, "containers": { "cna": { "affected": [ { "collectionURL": "https://repo.hex.pm", "cpes": [ "cpe:2.3:a:elixir-mint:mint:*:*:*:*:*:*:*:*" ], "defaultStatus": "unaffected", "modules": [ "'Elixir.Mint.HTTP1'" ], "packageName": "mint", "packageURL": "pkg:hex/mint", "product": "mint", "programFiles": [ "lib/mint/http1.ex" ], "programRoutines": [ { "name": "'Elixir.Mint.HTTP1':decode_headers/5" }, { "name": "'Elixir.Mint.HTTP1':decode_trailer_headers/4" } ], "repo": "https://github.com/elixir-mint/mint", "vendor": "elixir-mint", "versions": [ { "lessThan": "1.9.2", "status": "affected", "version": "0.1.0", "versionType": "semver" } ] }, { "collectionURL": "https://github.com", "cpes": [ "cpe:2.3:a:elixir-mint:mint:*:*:*:*:*:*:*:*" ], "defaultStatus": "unaffected", "modules": [ "'Elixir.Mint.HTTP1'" ], "packageName": "elixir-mint/mint", "packageURL": "pkg:github/elixir-mint/mint", "product": "mint", "programFiles": [ "lib/mint/http1.ex" ], "programRoutines": [ { "name": "'Elixir.Mint.HTTP1':decode_headers/5" }, { "name": "'Elixir.Mint.HTTP1':decode_trailer_headers/4" } ], "repo": "https://github.com/elixir-mint/mint", "vendor": "elixir-mint", "versions": [ { "lessThan": "566d702e6f29105f77522ca7aabb9f64f2f4e333", "status": "affected", "version": "3e6de4bac4821b0eb4d6109e8b1f3fb6458792c8", "versionType": "git" } ] } ], "cpeApplicability": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:a:elixir-mint:mint:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.9.2", "versionStartIncluding": "0.1.0", "vulnerable": true } ], "negate": false, "operator": "OR" } ], "operator": "AND" } ], "credits": [ { "lang": "en", "type": "finder", "value": "zx (Jace)" }, { "lang": "en", "type": "analyst", "value": "Jonatan Männchen / EEF" }, { "lang": "en", "type": "remediation developer", "value": "Andrea Leopardi" }, { "lang": "en", "type": "remediation reviewer", "value": "Eric Meadows-Jönsson" } ], "datePublic": "2026-07-14T08:36:54.000Z", "descriptions": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "value": "

Allocation of resources without limits vulnerability in elixir-mint mint allows a remote HTTP server to exhaust memory on the client host and cause a denial of service.

\n

The Mint.HTTP1.decode_headers/5 and Mint.HTTP1.decode_trailer_headers/4 functions in lib/mint/http1.ex accumulate every parsed response header and chunked-trailer field into a per-request list that persists across incoming TCP segments as request.headers_buffer, and only clear it when the terminating blank line is received. The section has no cap on the number of headers or on total bytes, and the underlying :erlang.decode_packet(:httph_bin, binary, []) parser is invoked with an empty option list so its per-line and per-packet size limits also default to unlimited.

\n

A malicious HTTP server (reachable directly, via an attacker-controlled redirect, via SSRF, or via a man-in-the-middle) can stream complete header lines (or, after a chunked body, complete trailer lines) indefinitely without ever emitting the terminating blank line. The connection state grows without bound until the BEAM node is killed by the operating system's out-of-memory handler, taking down the entire application that uses Mint as an HTTP client.

\n

This issue affects mint: from 0.1.0 before 1.9.2.

" }, { "base64": false, "type": "text/markdown", "value": "Allocation of resources without limits vulnerability in elixir-mint mint allows a remote HTTP server to exhaust memory on the client host and cause a denial of service.\n\nThe `Mint.HTTP1.decode_headers/5` and `Mint.HTTP1.decode_trailer_headers/4` functions in `lib/mint/http1.ex` accumulate every parsed response header and chunked-trailer field into a per-request list that persists across incoming TCP segments as `request.headers_buffer`, and only clear it when the terminating blank line is received. The section has no cap on the number of headers or on total bytes, and the underlying `:erlang.decode_packet(:httph_bin, binary, [])` parser is invoked with an empty option list so its per-line and per-packet size limits also default to unlimited.\n\nA malicious HTTP server (reachable directly, via an attacker-controlled redirect, via SSRF, or via a man-in-the-middle) can stream complete header lines (or, after a chunked body, complete trailer lines) indefinitely without ever emitting the terminating blank line. The connection state grows without bound until the BEAM node is killed by the operating system's out-of-memory handler, taking down the entire application that uses Mint as an HTTP client.\n\nThis issue affects mint: from 0.1.0 before 1.9.2." } ], "value": "Allocation of resources without limits vulnerability in elixir-mint mint allows a remote HTTP server to exhaust memory on the client host and cause a denial of service.\n\nThe Mint.HTTP1.decode_headers/5 and Mint.HTTP1.decode_trailer_headers/4 functions in lib/mint/http1.ex accumulate every parsed response header and chunked-trailer field into a per-request list that persists across incoming TCP segments as request.headers_buffer, and only clear it when the terminating blank line is received. The section has no cap on the number of headers or on total bytes, and the underlying :erlang.decode_packet(:httph_bin, binary, []) parser is invoked with an empty option list so its per-line and per-packet size limits also default to unlimited.\n\nA malicious HTTP server (reachable directly, via an attacker-controlled redirect, via SSRF, or via a man-in-the-middle) can stream complete header lines (or, after a chunked body, complete trailer lines) indefinitely without ever emitting the terminating blank line. The connection state grows without bound until the BEAM node is killed by the operating system's out-of-memory handler, taking down the entire application that uses Mint as an HTTP client.\n\nThis issue affects mint: from 0.1.0 before 1.9.2." } ], "impacts": [ { "capecId": "CAPEC-130", "descriptions": [ { "lang": "en", "value": "CAPEC-130 Excessive Allocation" } ] } ], "metrics": [ { "cvssV4_0": { "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "Safety": "NOT_DEFINED", "attackComplexity": "LOW", "attackRequirements": "PRESENT", "attackVector": "NETWORK", "baseScore": 8.2, "baseSeverity": "HIGH", "privilegesRequired": "NONE", "providerUrgency": "NOT_DEFINED", "subAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "userInteraction": "NONE", "valueDensity": "NOT_DEFINED", "vectorString": "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", "version": "4.0", "vulnAvailabilityImpact": "HIGH", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnerabilityResponseEffort": "NOT_DEFINED" }, "format": "CVSS", "scenarios": [ { "lang": "en", "value": "GENERAL" } ] } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-770", "description": "CWE-770 Allocation of Resources Without Limits or Throttling", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db", "shortName": "EEF", "dateUpdated": "2026-11-24T05:29:15.736Z" }, "references": [ { "name": "Unbounded HTTP/1 response-header and chunked-trailer accumulation allows memory-exhaustion DoS", "tags": [ "vendor-advisory", "related" ], "url": "https://github.com/elixir-mint/mint/security/advisories/GHSA-qrfr-wh4c-3qhw" }, { "name": "EEF CNA record for CVE-2026-58229", "tags": [ "related" ], "url": "https://cna.erlef.org/cves/CVE-2026-58229.html" }, { "name": "OSV record EEF-CVE-2026-58229", "tags": [ "related" ], "url": "https://osv.dev/vulnerability/EEF-CVE-2026-58229" }, { "name": "Introducing commit 3e6de4b in elixir-mint/mint", "tags": [ "related" ], "url": "https://github.com/elixir-mint/mint/commit/3e6de4bac4821b0eb4d6109e8b1f3fb6458792c8" }, { "name": "Fix commit 566d702 in elixir-mint/mint", "tags": [ "patch" ], "url": "https://github.com/elixir-mint/mint/commit/566d702e6f29105f77522ca7aabb9f64f2f4e333" } ], "source": { "discovery": "EXTERNAL" }, "title": "Unbounded HTTP/1 response-header and chunked-trailer accumulation in Mint causes memory-exhaustion DoS" }, "adp": [ { "references": [ { "url": "https://github.com/elixir-mint/mint/security/advisories/GHSA-qrfr-wh4c-3qhw", "tags": [ "exploit" ] } ], "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2026-07-14T12:27:10.055823Z", "id": "CVE-2026-58229", "options": [ { "Exploitation": "poc" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-07-14T12:27:15.737Z" } } ] } }