cve.bz

CVE-2026-42788 mtrudel bandit

6.9 mediumEPSS 0.5%Fix available

Medium (6.9) in mtrudel bandit. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in bandit 1.11.0.

On this page
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.

Severity

CVSS 4.0

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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 44th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-05-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • bandit (Hex): fixed in 1.11.0

Ask an AI about this CVE

Show the promptExplain CVE-2026-42788 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42788?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42788?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42788 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
mtrudel banditfrom 0.3.6 before 1.11.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
EEF-CVE-2026-42788Hexbandit>=0.3.6 <1.11.01.11.0
EEF-CVE-2026-427881.10.4, 1.10.3, 1.10.2, 1.10.1, 1.10.0 and 99 moreno fix published
GHSA-q6v9-r226-v65fHexbandit>=0.3.5 <1.11.01.11.0

Red Hat

Red Hat rates this Important.

Red Hat's statement

This IMPORTANT DoS vulnerability in Bandit's HTTP/2 implementation allows unauthenticated memory exhaustion by sending oversized frames. The size validation occurs after buffering, bypassing the negotiated max_frame_size setting. Impact is high availability loss through memory pressure. Affects Bandit versions 0.3.6 to before 1.11.0.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42788.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON