BACnet Stack に認証前にメモリ範囲外の書き込みが起きる脆弱性
BACnet Stack は、組み込み機器向けの BACnet プロトコルスタックを実装した C ライブラリで、1.4.6 未満、1.5.0 以上 1.5.2 未満、1.6.0 が対象です。BACnet/SC で細工したフレームを 1 つ受け取ると、メッセージの範囲外を 1 バイト読み取ります。続くデータの内容によっては、サーバー側の静的グローバル変数 bsc_dm の隣にある BSS 領域へ範囲外の書き込みが起きます。この問題は認証前の、接続の最初のフレームから到達できます。利用している会社は、組み込んでいる版を確認し、修正版の 1.4.6、1.5.2、1.6.1、1.7.0 のいずれかへ更新してください。
概要
| CVE 番号 | CVE-2026-97692 |
|---|---|
| CVSS 基本値 | 9.4(CVSS 3.1) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H |
| 弱点の種類 | CWE-787 |
| NVD の公開日 | 2026年11月13日 |
| NVD の最終更新日 | 2026年12月2日 |
| 悪用 | CISA の悪用が確認された脆弱性の一覧(KEV)には載っていません(このページの作成時点) |
対象の製品と版
| ベンダー | 製品 | 影響を受ける版 | 修正された版 |
|---|---|---|---|
| Bacnetstack | BACnet Stack | 1.4.6 未満 | 1.4.6 |
| Bacnetstack | BACnet Stack | 1.5.0 以上 1.5.2 未満 | 1.5.2 |
| Bacnetstack | BACnet Stack | 1.6.0 | NVD に記載なし |
版は NVD の CPE の記載から機械的に取っています。「未満」の版が、修正された最初の版です。
NVD の記載(原文)
BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to versions 1.4.6, 1.5.2, and 1.6.1, the BACnet/SC message decoder walks the header-option list by following each option's MORE bit. Nothing rejects a list whose last option still has the MORE bit set, and the decode walk has no upper bound on how many options it processes. A single crafted BVLC-SC frame makes the walk advance one option past the end of the message and read message[message_len], one byte out of bounds. When the bytes after the message carry more MORE-set option markers, the walk keeps going: it runs past the fixed 4-entry option array and writes decoded option fields out of bounds. On the server that decode array is the static global bsc_dm, so the out-of-bounds write lands in adjacent BSS. Both faults are reachable before authentication, from the first frame a peer sends on a BACnet/SC connection, and the bytes that follow the message are the same peer's prior-frame data. This issue has been patched in versions 1.4.6, 1.5.2, 1.6.1, and 1.7.0.
元の情報
- https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-gr74-333w-7wg8(Exploit、Mitigation)
- https://github.com/bacnet-stack/bacnet-stack/pull/1435(Patch)
このページは、NVD と CISA の記録から自動で作っています。日本語の題と説明は、記録をもとに AI が書き、記録にない数字を含まないことを機械で確認しています。対処の前に、ベンダーの案内(元の情報)を必ず確認してください。