CVE-2026-46677
BACnet Stack is a BACnet open source protocol stack C library for embedded systems.
Impact
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 client-side out-of-bounds read in the AtomicReadFile-ACK record-access handling path. The issue is caused by a mismatch between a remote returnedRecordCount value and the fixed local fileData[] array capacity in BACNET_ATOMIC_READ_FILE_DATA. The ACK decode path preserves the remote RecordCount, discards storage for excess records without truncating that count, and a downstream sink later iterates over the original RecordCount and indexes fileData[i] out of bounds. This issue has been patched in versions 1.4.4 and 1.5.1.
An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: high risk of outages.
Affected products · Bacnet-stack
| Product | Affected versions |
|---|---|
| Bacnet-stack | before 1.4.4 before 1.5.1 Versions < 1.4.4, < 1.5.1 |