CVE-2026-58229
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAllocation 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. 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. 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. This issue affects mint: from 0.1.0 before 1.9.2.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Mint.HTTP1 module lacks resource limits on HTTP response header parsing. The decode_headers/5 and decode_trailer_headers/4 functions accumulate all received headers into an unbounded headers_buffer list, and the underlying :erlang.decode_packet(:httph_bin, ...) is called without size restrictions. A malicious server can stream unlimited header data without sending the terminating blank line, causing unbounded memory growth until the BEAM process is killed by OOM.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- Authentication
- X
- User interaction
- None
- Scope
- X
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed Mint library versionCheck your mix.exs deps or run `mix hex.info mint` or `ls _build/*/deps/mint` to find the version. Alternatively, inspect the BEAM modules at runtime via `:code.which(Mint.HTTP1)`Affected if The installed version is below 1.9.2
-
Confirm Mint.HTTP1 is in useSearch your codebase for `Mint.HTTP1` module references, particularly calls to decode_headers/5 or decode_trailer_headers/4 functionsAffected if Your application uses the Mint.HTTP1 module to process HTTP responses from external servers
-
Check network connectivity to untrusted serversInspect your application configuration and code to determine if Mint HTTP clients connect to servers outside your trusted network boundaryAffected if Your Mint clients connect to arbitrary or untrusted HTTP servers without firewall or proxy restrictions
-
Monitor BEAM memory for Mint client processesObserve memory consumption of BEAM processes running Mint HTTP clients. Use `:erlang.process_info(pid, memory)` or monitoring tools to track growth over timeAffected if Memory usage grows unboundedly without a corresponding increase in processed response data
-
Verify if header limits are enforcedReview Mint configuration or wrapper code to check if any header count or size limits are applied before calling decode_headers/decode_trailer_headersAffected if No application-level limits are imposed on header count or size before passing data to the Mint decode functions
You are affected if you run Mint version below 1.9.2 and your application uses Mint.HTTP1 to connect to external HTTP servers where a malicious server could send unbounded headers.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade mint to version 1.9.2 or later, which implements header count and byte limits. Until then, restrict connections to trusted HTTP servers and monitor memory usage for Mint client connections.
1.9.2
- Upgrade the Mint dependency in your mix.exs or deps configuration to version 1.9.2 or later
- Run mix deps.get to fetch the updated dependency
- Run mix deps.compile to recompile Mint
- Verify the application compiles and tests pass
- Redeploy the application
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,480.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-58229 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-58229 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data