EEF-CVE-2026-82729

Source
https://cna.erlef.org/osv/EEF-CVE-2026-82729.html
Import Source
https://cna.erlef.org/osv/EEF-CVE-2026-82729.json
JSON Data
https://api.osv.dev/v1/vulns/EEF-CVE-2026-82729
Aliases
  • CVE-2026-82729
  • GHSA-7p8w-j234-7qc8
Published
2026-09-04T14:31:20.562Z
Modified
2026-09-04T14:55:36.402921692Z
Severity
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
Quadratic chunk-size parsing in Mint.HTTP1.Parse allows CPU-exhaustion DoS
Details

Summary

Inefficient Algorithmic Complexity vulnerability in elixir-mint mint allows a remote HTTP server to exhaust CPU on the client host and cause a denial of service.

parse_hex_prefix/2 in lib/mint/http1/parse.ex folds each hex digit of a chunked response's chunk-size field into an arbitrary-precision accumulator with acc * 16 + digit and imposes no limit on the digit count. Because the accumulator grows without bound, the multiplication is not constant time and one pass over N digits costs O(N squared). handle_data/2 prepends conn.buffer and re-parses from the start on every socket message, so a server that dribbles the digits out in small packets makes the client pay that cost repeatedly. A run of roughly 512,000 hex digits costs over ten seconds of CPU in a single pass, measured on stock defaults. The parser reaches this state 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 1.9.3 before 1.10.0.

Database specific
{
    "cwe_ids": [
        "CWE-407"
    ],
    "capec_ids": [
        "CAPEC-130"
    ],
    "cpe_ids": [
        "cpe:2.3:a:elixir-mint:mint:*:*:*:*:*:*:*:*"
    ]
}
References
Credits
    • Tr3bor - FINDER
    • Tr3bor - REPORTER
    • Andrea Leopardi - REMEDIATION_DEVELOPER
    • Jonatan Männchen / EEF - COORDINATOR

Affected packages

Hex / mint

Package

Name
mint
Purl
pkg:hex/mint

Affected ranges

Type
SEMVER
Events
Introduced
1.9.3
Fixed
1.10.0

Affected versions

1.*
1.9.3

Database specific

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

Git / github.com/elixir-mint/mint

Affected ranges

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

Affected versions

v1.*
v1.9.3

Database specific

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