EEF-CVE-2026-49754

Source
https://cna.erlef.org/osv/EEF-CVE-2026-49754.html
Import Source
https://cna.erlef.org/osv/EEF-CVE-2026-49754.json
JSON Data
https://api.osv.dev/v1/vulns/EEF-CVE-2026-49754
Aliases
  • CVE-2026-49754
  • GHSA-2p26-p43x-fhp8
Published
2026-06-02T14:15:14.951Z
Modified
2026-06-02T19:09:14.747Z
Severity
  • 8.2 (High) CVSS_V4 - 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 CVSS Calculator
Summary
HTTP/2 CONTINUATION flood in Mint client via unbounded header-block accumulation
Details

Summary

Allocation of Resources Without Limits or Throttling vulnerability in elixir-mint Mint allows attacker-controlled HTTP/2 servers to exhaust memory in a Mint client (HTTP/2 CONTINUATION flood).

When Mint's HTTP/2 receive path observes a HEADERS frame without the ENDHEADERS flag, the unparsed header-block fragment is parked in conn.headersbeingprocessed, and every subsequent CONTINUATION frame on that stream is appended to the accumulator. Nothing in the receive path caps the accumulator: there is no per-stream size limit, no CONTINUATION frame-count limit, and maxheaderlistsize is only enforced on outgoing requests, never on inbound header blocks (its default is :infinity).

A malicious or compromised HTTP/2 server can stream an endless sequence of CONTINUATION frames (each up to the peer-advertised SETTINGSMAXFRAME_SIZE) and drive the client's iolist to arbitrary size, causing memory exhaustion and BEAM process death. A single connection to an attacker-controlled HTTP/2 endpoint is sufficient.

This issue affects mint: from 0.1.0 before 1.9.0.

Workaround

Restrict Mint to HTTP/1 on connections to untrusted servers by passing protocols: [:http1] to Mint.HTTP.connect/4. This avoids the vulnerable HTTP/2 receive path entirely, at the cost of losing HTTP/2 for those connections.

Database specific
{
    "cwe_ids": [
        "CWE-770"
    ],
    "cpe_ids": [
        "cpe:2.3:a:elixir-mint:mint:*:*:*:*:*:*:*:*"
    ],
    "capec_ids": [
        "CAPEC-130"
    ]
}
References
Credits
    • Peter Ullrich - FINDER
    • Eric Meadows-Jönsson - REMEDIATION_DEVELOPER
    • Jonatan Männchen / EEF - ANALYST

Affected packages

Hex / mint

Package

Name
mint
Purl
pkg:hex/mint

Affected ranges

Type
SEMVER
Events
Introduced
0.1.0
Fixed
1.9.0

Affected versions

0.*
0.1.0
0.2.0
0.2.1
0.3.0
0.4.0
0.5.0
1.*
1.0.0
1.1.0
1.2.0
1.2.1
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.5.2
1.6.0
1.6.1
1.6.2
1.7.0
1.7.1
1.8.0

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-49754.json"

Git / github.com/elixir-mint/mint.git

Affected ranges

Type
GIT
Repo
https://github.com/elixir-mint/mint.git
Events

Affected versions

v0.*
v0.1.0
v0.2.0
v0.2.1
v0.4.0
v0.5.0
v1.*
v1.0.0
v1.1.0
v1.2.0
v1.2.1
v1.3.0
v1.4.0
v1.4.1
v1.4.2
v1.5.0
v1.5.1
v1.5.2
v1.6.0
v1.6.1
v1.6.2
v1.7.0
v1.7.1
v1.8.0

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-49754.json"