Heap Out-of-Bounds Read in BACnet Stack for Embedded Systems
CVE-2026-62975
6.9MEDIUM
What is CVE-2026-62975?
The BACnet Stack, an open-source BACnet protocol library for embedded systems, has a vulnerability where the RAMFS-backed FILE implementation allows for the replacement of existing records with user-controlled content. This occurs during AtomicWriteFile requests to modify records. If an attacker replaces a record with shorter data, the backend improperly adjusts the heap allocation, potentially leading to a heap out-of-bounds read due to a stale length calculated from the original file layout. The vulnerability has been addressed in versions 1.5.1 and 1.6.0.
Affected Version(s)
bacnet-stack < 1.5.1
