本文へ移動

#CVE-2026-110486

脆弱性の一覧へ戻る

編集部の見出し:Eclipse Mosquitto 2.1.0〜2.1.2:組み込みの WebSockets のリスナーで、ログイン前にリモートでコードを動かされる恐れ

CVE(NVD)CVSS 9.8 Critical

NVD の情報

In Eclipse Mosquitto versions 2.1 through 2.1.2, a listener configured with `protocol websockets` mishandles empty WebSocket data frames. `net__read_ws()` in `lib/net_ws.c` returns the number of framing bytes consumed (the 4 masking-key bytes) for a data frame with a zero-length payload, without writing any bytes to the caller’s buffer. The MQTT packet reader in `packet__read_single()` (`lib/packet_mosq.c`) trusts that return value as a payload byte count. A remote client can therefore advance the read position over an uninitialised heap allocation, causing the broker to process and forward uninitialised heap memory (information disclosure, including heap and libc pointers), and can underflow the unsigned `to_process` counter so that subsequent attacker-controlled frame data is written past the end of the allocation (heap out-of-bounds write). The out-of-bounds write is reachable from the CONNECT packet before any authentication check, so an unauthenticated client can corrupt the heap and crash the broker even when `allow_anonymous false` is set. Combining the disclosure and the write allows remote code execution as the broker’s user by any client able to establish a session.

公開日
2026-11-18
最終更新(NVD)
2026-11-18
NVD の状態
Received
脆弱性の種類
CWE-191、CWE-787、CWE-908

深刻度(CVSS)

  • 9.8 CriticalCVSS 3.1/副/評価:emo@eclipse.orgCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

悪用の状況

CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。

解消方法

  • Eclipse Mosquitto のバージョンアップ2.1.3 以降根拠:公告(編集部の転記)
  • 回避策(設定変更など)根拠:公告(編集部の転記)

「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。

編集部の記載(レポート掲載時)

レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。

2026-11-18 のレポートEclipse Mosquitto 2.1.0〜2.1.2:組み込みの WebSockets のリスナーで、ログイン前にリモートでコードを動かされる恐れ

第19版:11/18 11:17 UTC に NVD に記録が載り、開発元 Eclipse の評価で CVSS 3.1 の 9.8(Secondary)。匿名接続を禁止していても CONNECT の段階で届く。

悪用状況(編集部):悪用の報告は確認されていない

公告に記載の修正版

公告に記載の回避策

  • WebSockets の対応を止めるか、libwebsockets の実装でビルドし直す公告

参照(NVD)

NVD から取得:2026-11-18T16:20:17.496Z

This product uses the NVD API but is not endorsed or certified by the NVD.

悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。