Skip to content
High 8.2

cowboyにHTTP/1.1のパイプライン処理でメモリを枯渇させられる脆弱性

CVE-2026-115701 First seen on SecPulse

Summary

認証のない遠隔の攻撃者が、HTTP/1.1の接続に大量のデータを送り続けることで、サーバーのメモリを使い果たさせられる脆弱性です。影響を受けるのはcowboyの2.18.0以降で、Hexの版は修正版が公表されていません。ただし、公開されているコミットでは修正が示されているため、利用中の版と修正の状況を確認してください。

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.

認証のない遠隔の攻撃者が、HTTP/1.1の接続に大量のデータを送り続けることで、サーバーのメモリを使い果たさせられる脆弱性です。影響を受けるのはcowboyの2.18.0以降で、Hexの版は修正版が公表されていません。ただし、公開されているコミットでは修正が示されているため、利用中の版と修正の状況を確認してください。

Affected packages

PackageAffected → Fixed
nineninescowboy
≥ faf5594fbf74530ace90b0c46c936bdc2cf82081, < 3a630c07e1521abf63a1b9ea080509aa1337b60d→ 3a630c07e1521abf63a1b9ea080509aa1337b60d
Hexcowboy
≥ 2.18.0, < 2.21.0→ 2.21.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 ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1.

Once a request has been received in full and its handler is still running, cowboy_http:parse/2 in src/cowboy_http.erl appends every further byte that arrives on the keep-alive connection to the connection buffer and returns to the receive loop without parsing it. The socket stays in active mode and no limit applies to this buffer: max_request_line_length, max_headers and the other parser limits only take effect once the handler returns and parsing resumes, and the only timer in this state is idle_timeout (default 60 seconds), which is reset on every received chunk. A client can therefore send an arbitrary amount of data on one connection for as long as the handler runs, and a few connections to an endpoint that holds requests open can drive the Erlang VM into out-of-memory conditions.

This issue affects cowboy: from 2.18.0 before 2.21.0.

Details

1. Request completes, handler runs. When cowboy_http finishes reading a request it moves the parser to the ps_next_request state while the stream for that request is still alive. The connection process keeps the socket in active mode (setopts_active/1 re-arms {active, N} whenever a passive notification arrives), so the VM continues to deliver socket data to the process.

2. Data is appended, never parsed. Each in…

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