NetSight
high8.7

CVE-2026-62976

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 version 1.5.1, the RAMFS-backed FILE object implementation stores appended records as NUL-terminated strings, but its record-counting logic later walks the buffer as if an additional terminating empty record were present. As a result, two consecutive AtomicWriteFile(record-access) append requests can cause record_count() to call bacnet_strnlen() on a pointer that is already one byte past the end of the heap allocation. This issue has been patched in versions 1.5.1 and 1.6.0.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of outages.

Affected products · Bacnet-stack

ProductAffected versions
Bacnet-stack
before 1.5.1
Version < 1.5.1

Weakness classification

References