Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 78%

CVE-2026-58229: CWE-770 Allocation of Resources Without Limits or Throttling in elixir-mint mint

0
High
VulnerabilityCVE-2026-58229cvecve-2026-58229cwe-770
Published: 07/14/2026 (07/14/2026, 08:36:54 UTC)
Source: CVE Database V5
Vendor/Project: elixir-mint
Product: mint

Description

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. 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.

CVSS v4.0

Score 8.2high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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 software

mint
pkg:hex/mint
Affected versions
>=0.1.0 <1.9.2
GitHub Actionsmore threats →cve
elixir-mint/mint
pkg:github/elixir-mint/mint
CPE configurations
cpe:2.3:a:elixir-mint:mint:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/14/2026, 10:02:28 UTC

Technical Analysis

The vulnerability in elixir-mint mint arises from the Mint.HTTP1.decode_headers/5 and Mint.HTTP1.decode_trailer_headers/4 functions, which accumulate parsed response headers and chunked-trailer fields into a per-request list (request.headers_buffer) that persists across TCP segments. There is no limit on the number or total size of these headers, and the underlying Erlang parser is invoked without size limits. Consequently, a malicious HTTP server can stream headers or trailers indefinitely without a terminating blank line, causing unbounded memory consumption on the client side. This can exhaust system memory and crash the BEAM node, causing denial of service to the application using Mint.

Potential Impact

A remote attacker controlling an HTTP server or able to intercept traffic can cause the Mint client to consume unlimited memory by streaming headers or trailers without termination. This leads to exhaustion of memory resources on the client host, crashing the BEAM node and causing denial of service to the entire application relying on Mint for HTTP communication.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using untrusted HTTP servers or intermediaries that could exploit this vulnerability. Monitor for updates from the elixir-mint project regarding patches or official fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-06-29T18:54:08.633Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a55feea68715ace432dfb84

Added to database: 07/14/2026, 09:18:34 UTC

Last enriched: 07/14/2026, 10:02:28 UTC

Last updated: 07/14/2026, 19:47:34 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses