bacnet-stackに細工されたAtomic-Read-File要求で任意のコードを実行される脆弱性
Summary
bacnet-stackでは、サーバーが細工されたAtomic-Read-File要求を処理すると、スタック上の領域を超えて書き込みが起きる脆弱性(CVE-2026-45265)が見つかりました。CVSSは8.2です。影響を受けるのは1.4.4より前と1.5.1より前の版で、1.4.4および1.5.1で修正されています。修正版への更新を優先してください。
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.
bacnet-stackでは、サーバーが細工されたAtomic-Read-File要求を処理すると、スタック上の領域を超えて書き込みが起きる脆弱性(CVE-2026-45265)が見つかりました。CVSSは8.2です。影響を受けるのは1.4.4より前と1.5.1より前の版で、1.4.4および1.5.1で修正されています。修正版への更新を優先してください。
Original description The description as published by the source.
BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to versions 1.4.4 and 1.5.1, there is a stack-based out-of-bounds write / stack-buffer-overflow in bacnet-stack when the server processes a malicious Atomic-Read-File request in record access mode. The bug is triggered on the real server side. A crafted request can set an excessively large RecordCount, which is later used as the loop bound for writing record data into a stack-allocated BACNET_ATOMIC_READ_FILE_DATA data structure. However, the stack object only has space for one fileData element. When the loop reaches i = 1, the code computes &data->fileData[1], which is already out of bounds, and the resulting invalid pointer is passed down to memmove(), causing a stack-buffer-overflow. This issue has been patched in versions 1.4.4 and 1.5.1.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- exploit security-advisories@github.com
- patch security-advisories@github.com