CVE-2026-113436
published high CVSS 4.0 · 8.7Quadratic bignum parsing of Content-Length and Host port values in Bandit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mtrudel | — | bandit1.0.0-pre.7 to < 1.14.0 · Other versions: unaffected | Affected | Not stated | EEF |
| mtrudel | — | mtrudel/banditbandit · e0c8c0c30af9b0f57d8aafac37ddd9294363a8be to < 220b9dfd27f9a21305be2afc75cbe585ddc24e7a · Other versions: unaffected | Affected | Not stated | EEF |
Description
Inefficient Algorithmic Complexity vulnerability in the header integer parser of mtrudel bandit allows an unauthenticated remote attacker to consume server CPU via a content-length value or a Host or :authority port made of thousands of digits. Bandit.Headers.parse_integer/2 in lib/bandit/headers.ex builds the number one digit at a time with no limit on the digit count, allocating a new bignum at each step, so one value costs time quadratic in its length. It runs on raw request input over HTTP/1 and HTTP/2, before any range check. Over HTTP/2, a 4,000-digit value can be stored once in the HPACK dynamic table and re-sent on each new stream for about one byte: 124 KB of traffic kept the server busy for 27.9 s. This issue affects bandit: from 1.0.0-pre.7 before 1.14.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- EEF · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mtrudel | bandit | 1.0.0-pre.7 to < 1.14.0 (affected · semver)Default: unaffected | EEF · cna |
| mtrudel | bandit | e0c8c0c30af9b0f57d8aafac37ddd9294363a8be to < 220b9dfd27f9a21305be2afc75cbe585ddc24e7a (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-407 CWE-407 Inefficient Algorithmic Complexity
References
5- EEF CNA record for CVE-2026-113436 https://cna.erlef.org/cves/CVE-2026-113436.html
- Fix commit 220b9df in mtrudel/bandit https://github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a
- Introducing commit e0c8c0c in mtrudel/bandit https://github.com/mtrudel/bandit/commit/e0c8c0c30af9b0f57d8aafac37ddd9294363a8be
- Quadratic bignum parsing of Content-Length and Host port values in Bandit https://github.com/mtrudel/bandit/security/advisories/GHSA-29cr-8477-rg6r
- OSV record EEF-CVE-2026-113436 https://osv.dev/vulnerability/EEF-CVE-2026-113436
Provider assertions
2EEF · cna
Quadratic bignum parsing of Content-Length and Host port values in Bandit
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6d28b9e54df489ebe5ea22370089471b768748ec49c846a2c34baa47abb7937e
- Ingested
- 19 Nov 2026, 08:22:50 UTC
- Source record
- Official CVE record