Skip to main content

mtrudel bandit EUVDEUVD-2026-26716

| CVE-2026-42788 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-05-01 EEF GHSA-q6v9-r226-v65f
6.9
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Establish multiple HTTP/2 connections
  2. Delivery
    Send SETTINGS frame with acceptable parameters
  3. Exploit
    Send frame headers with 16 MiB length
  4. Execution
    Server buffers payload to memory
  5. Persist
    Repeat across concurrent connections
  6. Impact
    Trigger memory exhaustion and service degradation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target server to be running bandit versions 0.3.6 through 1.10.x and configured to accept HTTP/2 connections (default in modern deployments). No special configuration is required; default HTTP/2 settings with a max_frame_size of 16 KiB (per RFC 9113) are sufficient. The attacker must be able to establish multiple concurrent TCP connections to the server and send HTTP/2 SETTINGS frames and frame headers; if the server requires TLS for HTTP/2 (as is common in production), the attacker must complete the TLS handshake but does NOT need valid certificates or credentials. The vulnerability is triggered by any frame announcement with length > the server's negotiated SETTINGS_MAX_FRAME_SIZE; the attacker does not need to complete the frame transmission. Systems behind reverse proxies that rewrite or validate HTTP/2 frames may be partially protected if the proxy enforces frame size limits before passing traffic to bandit, but this is not guaranteed. The main limit is network bandwidth and connection limits on the attacker side; once bypassed, memory exhaustion is straightforward.

Impact

CVSS 6.9 (AV:N/AC:L/PR:N/UI:N) indicates network-accessible denial of service with low attack complexity and no authentication required. The attack vector is pure network (AV:N) and availability impact is limited (VA:L) in CVSS 4.0 scoring, suggesting memory exhaustion leading to service degradation rather than complete unavailability in single-frame scenarios. However, the real-world risk is significantly elevated because an attacker can maintain many concurrent connections, each buffering near-16 MiB frames, allowing cumulative memory exhaustion on typical web servers. No EPSS score provided in input, but the combination of zero authentication requirement, remote accessibility, and easy scalability through connection multiplexing suggests high real-world exploitation probability. KEV status not confirmed in input data but vendor advisory indicates awareness and patch availability suggests recent disclosure. The practical attack is straightforward: open N concurrent HTTP/2 connections and stream 16 MiB frame headers without completing the payload, forcing linear memory growth until OOM. This is a genuine priority item for HTTP/2 deployments; however, the impact is denial of service (availability) rather than confidentiality or integrity breach, lowering criticality compared to RCE vulnerabilities.

Exploit ScenarioDerived

An attacker opens 100 concurrent HTTP/2 connections to a bandit server and sends a frame header announcing 16 MiB payload size on each connection without sending the actual payload bytes. The server buffers 16 MiB × 100 = 1.6 GiB of memory waiting for the payload, exhausting available RAM and causing the application to slow down, crash, or refuse new connections. No special authentication or user interaction is required; the attack is purely network-based and can be executed by any peer with network access.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 01, 2026

Denial of service in mtrudel bandit via HTTP/2 frame deserialization allows unauthenticated remote attackers to exhaust server memory by sending oversized frames. The vulnerability exists because the HTTP/2 frame parser in 'Elixir.Bandit.HTTP2.Frame':deserialize/2 performs the max frame size check after pattern-matching the entire payload into memory, rather than before, allowing attackers to force buffering of up to 16 MiB frames regardless of negotiated limits. Confirmed actively exploited (CISA KEV status unknown but vendor advisory confirms vulnerability). Patch available in version 1.11.0.

RemediationAI

Vendor-released patch: upgrade to bandit version 1.11.0 or later, which moves the max_frame_size guard clause before the binary pattern match, validating frame length against the negotiated limit before attempting to allocate memory for the payload. The fix (commit 1e8e55966da9129016b73d32f0e1df4630e3b463) restructures the deserialize/2 function to check the 24-bit length field against max_frame_size immediately upon frame header parsing, rejecting oversized frames before buffering. For systems unable to immediately upgrade, apply connection rate limiting and per-connection memory quotas at the reverse proxy or load balancer level (nginx, HAProxy, Envoy) to prevent single clients from establishing excessive concurrent connections. Additionally, configure explicit HTTP/2 frame size limits in upstream load balancers if available; however, note that kernel-level TCP buffering will still occur and cannot be fully eliminated without rejecting connections. Monitor memory usage per connection and implement circuit breakers for connections exceeding baseline consumption. These workarounds add latency and complexity but do not fully eliminate the vulnerability; upgrade is strongly recommended.

Affected VersionsENISA

bandit 0.3.6 <1.11.0
bandit f00dd69a5b2a4863be585907acd853c4ffd41399 <1.11.0

Affected Packages

euvd bandit fix: 1.11.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

mtrudel bandit is an Erlang/Elixir HTTP server library implementing RFC 9113 HTTP/2. The vulnerability resides in the frame deserialization logic (lib/bandit/http2/frame.ex), where Erlang's binary pattern matching with size constraints (payload::binary-size(length)) requires the entire specified binary sequence to exist in memory before the pattern can match. The issue stems from CWE-770 (Allocation of Resources Without Limits or Throttling): the code structure evaluates the guard clause when length > max_frame_size only after the pattern match succeeds, meaning the Erlang runtime must first allocate and buffer the full frame payload (up to 24-bit max ~16.7 MiB) before the size validation logic executes. RFC 9113 Section 4.2 specifies a default SETTINGS_MAX_FRAME_SIZE of 16 KiB; the vulnerability allows bypassing this negotiated limit through buffering of larger frames on the receive side.

Know when Bandit gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
May 01, 2026 - 21:22 NVD
6.9 (MEDIUM)
Patch released
May 01, 2026 - 21:01 nvd
Patch available
CVE Published
May 01, 2026 - 20:34 nvd
MEDIUM 6.9

DescriptionCVE.org

Allocation of Resources Without Limits or Throttling vulnerability in mtrudel bandit allows unauthenticated memory exhaustion via oversized HTTP/2 frames.

'Elixir.Bandit.HTTP2.Frame':deserialize/2 in lib/bandit/http2/frame.ex checks the SETTINGS_MAX_FRAME_SIZE limit only after pattern-matching payload::binary-size(length), which requires the entire frame body to be present in memory before either the accept or reject clause can fire. A peer that announces a frame length up to the 24-bit maximum (~16 MiB) causes the server to buffer that entire body before the size guard is evaluated, regardless of the max_frame_size negotiated during the HTTP/2 handshake (default 16 KiB per RFC 9113).

An unauthenticated attacker holding many concurrent connections can force the server to buffer far more memory than the negotiated frame size limit should permit, leading to memory pressure and potential denial of service.

This issue affects bandit: from 0.3.6 before 1.11.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Bandit

View all
CVE-2026-42786 HIGH POC
8.7 May 01

Memory exhaustion in Bandit WebSocket server (versions 0.5.0 through 1.10.x) allows unauthenticated remote attackers to

CVE-2026-39804 HIGH POC
8.2 May 01

Memory exhaustion in Bandit WebSocket server (versions 0.5.9 through 1.10.x) allows unauthenticated remote attackers to

CVE-2026-39807 MEDIUM POC
6.3 May 01

Transport-state spoofing in Bandit 1.0.0 through 1.10.x allows unauthenticated remote attackers to forge HTTPS connectio

CVE-2026-39805 MEDIUM POC
6.3 May 01

HTTP request smuggling in mtrudel bandit before version 1.11.0 allows unauthenticated attackers to bypass edge security

CVE-2026-105659 HIGH
8.7 Oct 14

Uncontrolled HTTP/2 flow-control resource consumption in mtrudel/bandit 1.4.0 and later lets an unauthenticated remote p

CVE-2026-116078 HIGH
8.7 Oct 28

Bandit's HTTP/2 request body reader amplifies memory use, letting an unauthenticated remote client make a server hold ro

CVE-2026-39806 HIGH
8.7 May 13

Unauthenticated remote denial of service in mtrudel Bandit (Elixir HTTP server) versions 1.6.1 through 1.11.0 lets any c

CVE-2026-65623 HIGH
8.7 Jul 24

CPU exhaustion in bandit 1.11.0 to 1.12.0 allows unauthenticated remote denial-of-service via WebSocket fragment reassem

CVE-2026-39803 HIGH
8.7 May 13

Unauthenticated remote denial of service in Bandit (the Elixir HTTP/1 web server for Phoenix/Plug applications) versions

CVE-2026-108529 HIGH
8.7 Oct 26

Unauthenticated remote CPU exhaustion in mtrudel Bandit's HTTP/2 server (versions before 1.14.0) is achievable by holdin

CVE-2026-110499 HIGH
8.7 Oct 26

Unbounded per-connection memory and CPU growth in the Elixir Bandit HTTP/2 server (0.3.6 up to 1.14.0) lets an unauthent

CVE-2026-109584 HIGH
8.7 Oct 26

Unauthenticated remote attackers can exhaust BEAM node memory on default-configured mtrudel Bandit HTTP/2 servers (0.3.3

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy