CVE-2026-82729

Source
https://cve.org/CVERecord?id=CVE-2026-82729
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82729.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-82729
Aliases
Published
2026-09-04T14:31:20.562Z
Modified
2026-09-06T03:47:09.563911949Z
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

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.

parsehexprefix/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"
    ],
    "cna_assigner": "EEF",
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "1.9.3"
                },
                {
                    "fixed": "1.10.0"
                },
                {
                    "introduced": "fc7d16538db7e40b56ed489f08683225cb0197fa"
                },
                {
                    "fixed": "bd2a4e7513594997c140cfef9fe0e968712fb588"
                }
            ]
        },
        {
            "source": "CPE_FIELD",
            "extracted_events": [
                {
                    "introduced": "1.9.3"
                },
                {
                    "fixed": "1.10.0"
                }
            ]
        },
        {
            "source": "DESCRIPTION",
            "extracted_events": [
                {
                    "introduced": "1.9.3"
                },
                {
                    "fixed": "1.10.0"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82729.json"
}
References

Affected packages

Git / github.com/elixir-mint/mint

Affected ranges

Type
GIT
Repo
https://github.com/elixir-mint/mint
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source": "REFERENCES"
}

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
v1.9.0
v1.9.1
v1.9.2
v1.9.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82729.json"