{"id":78415,"date":"2026-05-13T17:06:09","date_gmt":"2026-05-13T13:36:09","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-39803-http-1-chunked-body-reader-ignores-length-cap-in-bandit\/"},"modified":"2026-05-13T17:06:09","modified_gmt":"2026-05-13T13:36:09","slug":"cve-2026-39803-http-1-chunked-body-reader-ignores-length-cap-in-bandit","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-39803-http-1-chunked-body-reader-ignores-length-cap-in-bandit\/","title":{"rendered":"CVE-2026-39803 &#8211; HTTP\/1 chunked body reader ignores length cap in bandit"},"content":{"rendered":"<p>CVE ID :CVE-2026-39803<\/p>\n<p>  Published : May 13, 2026, 1:36 p.m. | 1\u00a0hour, 23\u00a0minutes ago<\/p>\n<p>  Description :Allocation of Resources Without Limits or Throttling vulnerability in mtrudel bandit allows unauthenticated remote denial of service via memory exhaustion.<\/p>\n<p>The chunked clause of &#8216;Elixir.Bandit.HTTP1.Socket&#8217;:read_data\/2 in lib\/bandit\/http1\/socket.ex ignores the caller-supplied :length option when reading HTTP\/1 chunked request bodies. Instead of capping the accumulated body at the configured limit (e.g. Plug.Parsers&#8217; default 8 MB), do_read_chunked_data!\/5 buffers every received chunk into an iolist unconditionally and materializes the entire body as a single binary. The function always returns {:ok, body, &#8230;}, so callers cannot interpose a 413 response.<\/p>\n<p>Because Plug.Parsers runs before routing and authentication in the standard Phoenix endpoint, an unauthenticated attacker needs no valid route or credentials. Sending a single Transfer-Encoding: chunked POST request with an arbitrarily large body to any path causes the BEAM process to exhaust available memory and be terminated by the OS OOM killer.<\/p>\n<p>The content-length path in the same function correctly enforces the limit and is not affected.<\/p>\n<p>This issue affects bandit: from 1.4.0 before 1.11.1.<\/p>\n<p>  Severity: 8.7 | HIGH<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-39803 Published : May 13, 2026, 1:36 p.m. | 1\u00a0hour, 23\u00a0minutes ago Description :Allocation of Resources Without Limits or Throttling vulnerability in mtrudel bandit allows unauthenticated remote denial of service via memory exhaustion. The chunked clause of &#8216;Elixir.Bandit.HTTP1.Socket&#8217;:read_data\/2 in lib\/bandit\/http1\/socket.ex ignores the caller-supplied :length option when reading HTTP\/1 chunked request bodies. Instead of &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-78415","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78415","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=78415"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78415\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=78415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=78415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=78415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}