PatchSiren cyber security CVE debrief
CVE-2026-113436 mtrudel CVE debrief
The CVE-2026-113436 record details an Inefficient Algorithmic Complexity vulnerability in the header integer parser of mtrudel bandit. This issue 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. Affected bandit versions range from 1.0.0-pre.7 to 1.14.0. The vulnerability stems from Bandit.Headers.parse_integer/2 in lib/bandit/headers.ex, which builds numbers one digit at a time without a digit count limit, allocating a new bignum at each step. This results in time quadratic in the value's length. The issue is exploitable over HTTP/1 and HTTP/2 before any range check. Notably, over a
- Vendor
- mtrudel
- Product
- bandit
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-26
- Original CVE updated
- 2026-11-19
- Advisory published
- 2026-10-26
- Advisory updated
- 2026-11-19
Who should care
Defenders responsible for bandit deployments, particularly those using versions 1.0.0-pre.7 to 1.14.0, should assess exposure and prioritize patching to prevent potential CPU consumption attacks.
Why it matters
CVE-2026-113436 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 in bandit versions 1.0.0-pre.7 to 1.14.0.
- Verify and prioritize patching for bandit versions 1.0.0-pre.7 to 1.14.0 to prevent potential CPU consumption attacks
- Efficiently handle large content-length values and Host port values to prevent CPU consumption
- Monitor and limit large content-length values and Host port values to prevent potential attacks
Technical summary
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. This is due to Bandit.Headers.parse_integer/2 in lib/bandit/headers.ex building numbers one digit at a time with no limit on the digit count, allocating a new bignum at each step. The issue runs on raw request input over HTTP/1 and HTTP/2, before any range check. 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.
Defensive priority
Defenders should prioritize verifying and applying patches for bandit versions 1.0.0-pre.7 to 1.14.0. Efficiently handling large content-length values and Host port values is crucial to prevent potential CPU consumption attacks.
Recommended defensive actions
- Verify and apply patches for bandit versions 1.0.0-pre.7 to 1.14.0
- Monitor and limit large content-length values and Host port values
- Implement efficient handling of bignum parsing for Content-Length and Host port values
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and source item provide details on the vulnerability in bandit, including its description, affected versions, and references to vendor advisories and patches. The issue is caused by the inefficient parsing of large content-length values and Host port values, which can lead to CPU consumption attacks. The CVE record was published on 2026-10-26T13:31:35.033Z and has not been modified since then. The source item title is 'Quadratic bignum parsing of Content-Length and Host port values in Bandit'.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-113436 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-113436
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-113436 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-113436
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Quadratic bignum parsing of Content-Length and Host port values in Bandit
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/113xxx/CVE-2026-113436.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/mtrudel/bandit/security/advisories/GHSA-29cr-8477-rg6r
Supplemental source - vendor-advisory, related
-
Source reference
Unverified legacy reference
URL: https://cna.erlef.org/cves/CVE-2026-113436.html
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://osv.dev/vulnerability/EEF-CVE-2026-113436
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://github.com/mtrudel/bandit/commit/e0c8c0c30af9b0f57d8aafac37ddd9294363a8be
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a
Supplemental source - patch
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.