🔐 CVE Alert

CVE-2026-42788

UNKNOWN 0.0

HTTP/2 frame size limit checked after body is buffered in bandit

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-770
Vendor mtrudel
Product bandit
Published May 1, 2026
Stay Ahead of the Next One

Get instant alerts for mtrudel bandit

Be the first to know when new unknown vulnerabilities affecting mtrudel bandit are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

Affected Versions

mtrudel / bandit
0.3.6 < 1.11.0
mtrudel / bandit
f00dd69a5b2a4863be585907acd853c4ffd41399 < 1.11.0

References

NVD ↗ CVE.org ↗ EPSS Data ↗
github.com: https://github.com/mtrudel/bandit/security/advisories/GHSA-q6v9-r226-v65f cna.erlef.org: https://cna.erlef.org/cves/CVE-2026-42788.html osv.dev: https://osv.dev/vulnerability/EEF-CVE-2026-42788 github.com: https://github.com/mtrudel/bandit/commit/1e8e55966da9129016b73d32f0e1df4630e3b463

Credits

Peter Ullrich Mat Trudel Jonatan Männchen