Skip to content
High 8.7

Banditに、HTTP/2で接続のメモリとCPUを使い果たされる脆弱性

CVE-2026-110499 First seen on SecPulse

Summary

Banditのhttp/2実装に、リソース制限が不十分な脆弱性(CWE-770)が見つかりました。認証なしの遠隔の攻撃者が、大きなSETTINGS_HEADER_TABLE_SIZEを送ることで、接続ごとのメモリとCPUの消費を際限なく増やせます。影響を受けるのはHexのbanditの0.3.6から1.14.0未満で、修正版の1.14.0へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Banditのhttp/2実装に、リソース制限が不十分な脆弱性(CWE-770)が見つかりました。認証なしの遠隔の攻撃者が、大きなSETTINGS_HEADER_TABLE_SIZEを送ることで、接続ごとのメモリとCPUの消費を際限なく増やせます。影響を受けるのはHexのbanditの0.3.6から1.14.0未満で、修正版の1.14.0へ更新してください。

Affected packages

PackageAffected → Fixed
mtrudelbandit
≥ 0e68313fab9d204257ebad5c447e4cd9cea8e0ea, < 220b9dfd27f9a21305be2afc75cbe585ddc24e7a→ 220b9dfd27f9a21305be2afc75cbe585ddc24e7a
Hexbandit
≥ 0.3.6, < 1.14.0→ 1.14.0

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

Summary

Allocation of Resources Without Limits or Throttling vulnerability in the HTTP/2 implementation of mtrudel bandit allows an unauthenticated remote attacker to grow per-connection memory and CPU cost without bound via a large SETTINGS_HEADER_TABLE_SIZE. Bandit resizes its HPACK encoder table to whatever size the client advertises, up to 2^32-1 bytes, and indexes response headers into it. Because responses carry distinct values such as date or content-length, nothing is evicted and the table grows with every response for the life of the connection, while each lookup scans it linearly.

The SETTINGS handling in Bandit.HTTP2.Connection (lib/bandit/http2/connection.ex) passes remote_settings.header_table_size to HPAX.resize/2 with no server-side cap, and encode_headers encodes every response header as :store. Serving N responses on one connection therefore costs O(N²) CPU in the connection process.

This issue affects bandit: from 0.3.6 before 1.14.0.

Details

1. Table size (lib/bandit/http2/connection.ex)

On every SETTINGS frame, Bandit.HTTP2.Connection passes the peer's SETTINGS_HEADER_TABLE_SIZE straight to HPAX.resize/2 for the encoder table, accepting values up to 2^32-1. No server-side limit is applied.

2. Indexing

encode_headers encodes every response header as :store, adding it to the dynamic table. Headers whose values differ per response (date, content-length, set-cookie, x-request-id, a reflected `location…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details