{
  "id": "CVE-2026-113436",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-113436",
  "published_at": "2026-10-26T13:31:35.033Z",
  "title": "Quadratic bignum parsing of Content-Length and Host port values in Bandit",
  "vendor": "mtrudel",
  "product": "bandit",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.\n\nBandit.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.\n\nThis issue affects bandit: from 1.0.0-pre.7 before 1.14.0.",
  "cwe": "CWE-407",
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "mtrudel",
        "product": "bandit",
        "ranges": [
          "\u003e= 1.0.0-pre.7, \u003c 1.14.0"
        ],
        "fixed_in": [
          "1.14.0"
        ]
      },
      {
        "vendor": "mtrudel",
        "product": "bandit",
        "ranges": [
          "\u003e= e0c8c0c30af9b0f57d8aafac37ddd9294363a8be, \u003c 220b9dfd27f9a21305be2afc75cbe585ddc24e7a"
        ],
        "fixed_in": [
          "220b9dfd27f9a21305be2afc75cbe585ddc24e7a"
        ]
      }
    ],
    "upgrade": [
      "Upgrade bandit to 1.14.0 or later.",
      "Upgrade bandit to 220b9dfd27f9a21305be2afc75cbe585ddc24e7a or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/mtrudel/bandit/security/advisories/GHSA-29cr-8477-rg6r"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/mtrudel/bandit/commit/e0c8c0c30af9b0f57d8aafac37ddd9294363a8be"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
