{"vuln_id":"CVE-2026-42786","aliases":["GHSA-pf94-94m9-536p"],"description":"Allocation of Resources Without Limits or Throttling vulnerability in mtrudel bandit allows unauthenticated remote denial of service via memory exhaustion.\n\nThe fragment reassembly path in Bandit.WebSocket.Connection.handle_frame/3 in lib/bandit/websocket/connection.ex appends every incoming Continuation{fin: false} frame's payload to a per-connection iolist with no cumulative size cap. The existing max_frame_size option only bounds individual frames; a peer that streams an unbounded number of continuation frames without ever setting fin=1 grows BEAM heap linearly until the OS or a supervisor kills the process.\n\nBecause the accumulation happens before WebSock.handle_in/2 is called, the application has no opportunity to interpose a size check. Phoenix Channels and LiveView both run over WebSock on Bandit, so a stock Phoenix application exposes this surface as soon as it accepts socket connections.\n\nThis issue affects bandit: from 0.5.1 before 1.11.0.","published_at":"2026-05-01T21:16:17.347000Z","modified_at":"2026-11-20T04:17:11.590000Z","first_seen_at":"2026-11-21T19:15:46.194570Z","severity":"high","severity_source":"nvd","cvss_score":8.7,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-770"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00647,"epss_percentile":0.51955,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-42786"},"matched_alias":null,"items":[{"id":3110,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-42786: Allocation of Resources Without Limits or Throttling vulnerability in mtrudel bandit allows unauthenticated remote denial of service via memory exhaustion. The…","summary":"Allocation of Resources Without Limits or Throttling vulnerability in mtrudel bandit allows unauthenticated remote denial of service via memory exhaustion.\n\nThe fragment reassembly path in Bandit.WebSocket.Connection.handle_frame/3 in lib/bandit/websocket/connection.ex appends every incoming Continuation{fin: false} frame's payload to a per-connection iolist with no cumulative size cap. The existing max_frame_size option only bounds individual frames; a peer that streams an unbounded number of continuation frames without ever setting fin=1 grows BEAM heap linearly until the OS or a supervisor kills the process.\n\nBecause the accumulation happens before WebSock.handle_in/2 is called, the application has no opportunity to interpose a size check. Phoenix Channels and LiveView both run over WebSock on Bandit, so a stock Phoenix application exposes this surface as soon as it accepts socket connections.\n\nThis issue affects bandit: from 0.5.1 before 1.11.0.\n\nReferences:\nhttps://cna.erlef.org/cves/CVE-2026-42786.html\nhttps://github.com/mtrudel/bandit/commit/21612c7c7b1ce43eccd36d3af3a2299d23513667\nhttps://github.com/mtrudel/bandit/commit/8909391f486d42138c5308410bc5ea49a65f4d46\nhttps://github.com/mtrudel/bandit/security/advisories/GHSA-pf94-94m9-536p\nhttps://osv.dev/vulnerability/EEF-CVE-2026-42786\nhttps://github.com/mtrudel/bandit/security/advisories/GHSA-pf94-94m9-536p","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42786","published_at":"2026-05-01T21:16:17.347000Z","updated_at":"2026-11-20T04:17:11.590000Z","fetched_at":"2026-11-21T19:15:31.478719Z","severity":"high","cvss_score":8.7,"epss":0.00647,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-42786","vuln_ids":["CVE-2026-42786","GHSA-PF94-94M9-536P"],"tags":["CWE-770"],"cluster_id":3128,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3110","html":"https://vulnwatch.ve1ve2.com/item/3110"}}]}