Skip to content
High 7.5

ZephyrのHTTP/2サーバーに脆弱性、細工した通信でサービス停止のおそれ

CVE-2026-87045 First seen on SecPulse

Summary

Zephyrの HTTP/2 サーバーで、ヘッダーの続きを送るCONTINUATIONフレームの扱いに不備があり、NULLポインター参照が起きる脆弱性が見つかりました。認証なしで到達できる相手から攻撃されるおそれがあり、CVSSは7.5です。影響するのは4.1.0以上4.3.2未満と4.4.0以上4.5.0未満で、修正版は4.3.2と4.5.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.

Zephyrの HTTP/2 サーバーで、ヘッダーの続きを送るCONTINUATIONフレームの扱いに不備があり、NULLポインター参照が起きる脆弱性が見つかりました。認証なしで到達できる相手から攻撃されるおそれがあり、CVSSは7.5です。影響するのは4.1.0以上4.3.2未満と4.4.0以上4.5.0未満で、修正版は4.3.2と4.5.0です。該当する版を使っている場合は、修正版への更新を優先してください。

Affected packages

PackageAffected → Fixed
zephyrprojectzephyr
≥ 4.1.0, < 4.3.2→ 4.3.2
≥ 4.4.0, < 4.5.0→ 4.5.0
Original description The description as published by the source.

The HTTP/2 server in subsys/net/lib/http/http_server_http2.c clears the connection's stream binding at the start of every frame. handle_http_frame_header() executed client->current_stream = NULL unconditionally, but a CONTINUATION frame does not open a new stream and enter_http_frame_continuation_state() never re-bound one, so the rest of the header block was processed with client->current_stream unset. Two paths then write through the NULL pointer. A request for an unregistered resource, or a method the matched resource does not support, is answered by send_http2_404() or send_http2_405(), and both call send_headers_frame(), which unconditionally sets client->current_stream->headers_sent = true. A POST, PUT or PATCH to a registered dynamic resource reaches handle_http2_dynamic_resource(), which unlike its siblings (handle_http2_static_resource(), dynamic_get_del_opts_req_v2(), dynamic_post_put_req_v2()) had no client->current_stream == NULL guard, and stores through the pointer with client->current_stream->current_detail = dynamic_detail.

Any peer that can reach the server can trigger this without authentication or prior state. A single stray CONTINUATION frame with END_HEADERS set, sent right after the client preface and requesting any unregistered path, is enough, because nothing rejected a CONTINUATION that no HEADERS frame had opened. A legitimate split header block (a HEADERS frame with END_HEADERS clear whose payload ends on a header-field boundary, then a CONTINUATIO…

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