BACnet Stack: Out-of-bounds read and write in BACnet/SC decoder (CVE-2026-97692)
The bacnet-stack library contains an unauthenticated out-of-bounds read and write vulnerability in its BACnet/SC message decoder, potentially leading to memory corruption via malformed BVLC-SC frames.
CVE search metadata
CVE search record: CVE-2026-97692. Severity: high. CVSS: 7.7. EPSS: 0.50%. KEV: no. Product: bacnet-stack. Brief: BACnet Stack: Out-of-bounds read and write in BACnet/SC decoder (CVE-2026-97692). Brief link: https://feed.craftedsignal.io/briefs/2026-11-bacnet-stack-oob-cve-2026-97692/
Triage facts
Revision 1- Applicability
- bacnet-stack
- Evidence
- Unknown
- Severity
- High
- Sources
- 2 public sources
- Freshness
- Revision 1Nov 14, 16:56 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
Overview
The bacnet-stack library 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. The decoder fails to reject a list whose last option still has the MORE bit set and lacks an upper bound on the number of options processed. An unauthenticated attacker can send a crafted BVLC-SC frame to trigger an out-of-bounds read and, subsequently, an out-of-bounds write to the static global bsc_dm array in BSS memory.
Attack Chain
This vulnerability is reachable before authentication from the first frame sent by a peer on a BACnet/SC connection. By providing a crafted BVLC-SC frame, an attacker can cause the decoder to read past the end of the message buffer and perform an out-of-bounds write to adjacent BSS memory.
Impact
The vulnerability enables memory corruption via an out-of-bounds write to the global bsc_dm array. The source does not explicitly define the impact beyond memory corruption.
Recommendation
This issue has been patched in versions 1.4.6, 1.5.2, 1.6.1, and 1.7.0. Users should update to a patched version of the bacnet-stack library.
Threat Hunt
Identify network connections to BACnet/SC services originating from unauthorized or external peer IP addresses followed immediately by anomalous frame lengths or malformed BVLC-SC header-option lists.
Data: Network flow logs, Packet capture metadata, Application-layer protocol logs