Skip to main content

BACnet Stack EUVDEUVD-2026-125696

| CVE-2026-97692 HIGH
Out-of-bounds Write (CWE-787)
2026-11-13 GitHub_M
7.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect to BACnet/SC endpoint pre-auth
  2. Delivery
    Send frame planting MORE-set option residue
  3. Exploit
    Send crafted BVLC-SC frame with trailing MORE bit
  4. Execution
    Decoder walks past message into global bsc_dm
  5. Impact
    Out-of-bounds write corrupts adjacent BSS, crash/corruption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitable only against deployments that run the BACnet/SC (Secure Connect) datalink over WebSocket - not classic BACnet/IP or MS/TP; the vulnerable code path is bvlc_sc_decode_message reached in bsc_process_socket_state / bsc_process_srv_awaiting_request on the raw WebSocket frame before the Connect-Request handshake, so no credentials, valid handshake, or keys are required (pre-authentication, PR:N). The crafted BVLC-SC frame must end with a header option whose MORE bit is still set and whose length exactly fills the option region, which unconditionally triggers the one-byte out-of-bounds read. The escalation to the out-of-bounds WRITE into the global bsc_dm array is LIMITED to the case where the receive-buffer bytes following the message contain attacker-planted chained MORE-set proprietary-option markers (the peer's prior-frame residue); the advisory shows the over-read is benign when that trailing slack is zeroed. Affected versions are <= 1.5.0 (PoC target 1.6.0-rc1); fixed in 1.4.6, 1.5.2, 1.6.1 and 1.7.0, and per the advisory updating is the fix.

Impact

Signals are moderately aligned toward a real but non-emergency priority. The CVSS 3.1 base is 7.7 (High) with vector AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H: remote and pre-authentication (PR:N) reachability is the aggravating factor, while AC:H reflects that the dangerous outcome is conditional. Per the advisory, the single crafted frame always yields a one-byte out-of-bounds READ (case 1), but escalation to the out-of-bounds WRITE into the global bsc_dm array only occurs when the receive-buffer bytes after the message carry chained MORE-set option markers (case 3); when that slack is zeroed the decode returns cleanly (case 2), so weaponizing the write depends on receive-buffer residue the attacker plants via a prior frame. A complete, self-contained proof-of-concept is published in the GHSA advisory and was rebuilt and run under AddressSanitizer (reproduction status 'yes-rebuilt-and-ran'), confirming both faults - but this demonstrates memory corruption/crash, not a working remote-code-execution exploit. EPSS is not present in the input, so exploitation probability cannot be quantified. The CVE is not listed in CISA KEV in the provided data, so there is no evidence of active exploitation - treat as not actively exploited. No formal SSVC decision is supplied; the only decision signal is the vuln.today priority label 'this_week', consistent with prompt remediation rather than an act_now/emergency posture. Net: a genuine pre-auth memory-corruption bug worth patching this week, not a high-CVSS-but-illusory issue, but reliable exploitation beyond DoS is non-trivial and the scope is limited to deployments actually using the BACnet/SC datalink.

Exploit ScenarioDerived

An attacker who can reach a device's BACnet/SC (Secure Connect) WebSocket endpoint connects and, before the Connect-Request handshake completes, sends a crafted BVLC-SC frame whose last header option still has the MORE bit set; a preceding frame from the same peer leaves chained MORE-set proprietary-option bytes in the receive buffer. The decoder walks past the end of the message and past the fixed 4-entry option array, writing decoded option fields out of bounds into the server's global bsc_dm (BSS), causing memory corruption or a crash. A published, self-contained PoC reproduces both the out-of-bounds read and write under AddressSanitizer.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

Pre-authentication memory corruption in the BACnet Stack's BACnet/SC (Secure Connect) message decoder lets a remote peer crash or corrupt the process by sending a single crafted BVLC-SC frame whose last header option still carries the MORE bit, driving the option-list walk one byte past the message and - when the receive buffer's trailing slack holds chained MORE-set option markers - past the fixed four-entry decode array into global BSS. Only builds that run the BACnet/SC datalink over WebSocket are exposed; classic BACnet/IP and MS/TP traffic never reaches this code path. The fault is reachable on the very first frame a peer sends, before the Connect-Request handshake completes, and publicly available exploit code exists (the advisory's PoC was rebuilt and run at commit 1068250 under AddressSanitizer/UBSan); there is no CISA KEV listing and no EPSS score was supplied, and the priority signal is 'this_week'.

RemediationAI

Vendor-released patch: upgrade to 1.4.6, 1.5.2, 1.6.1 or 1.7.0, choosing the maintained branch that matches your integration (all four branches are covered, and 1.7.0 is the newest). The fix in pull request 1435 makes bvlc_sc_validate_options_headers() track the MORE bit after the loop and reject a truncated option list with ERROR_CODE_MESSAGE_INCOMPLETE / ERROR_CLASS_COMMUNICATION, and bounds the decode loop with while (next_option && i < BVLC_SC_HEADER_OPTION_MAX), so the previous over-read and the out-of-bounds write both become unreachable; the same PR adds a regression test (test_TRAILING_MORE_OPTION) that can be used to verify the backport. Per the advisory, updating is the complete fix. As a stop-gap for BACnet/SC endpoints that cannot be rebuilt immediately, note that the escalation to an out-of-bounds write depends on attacker-planted MORE-set bytes in the receive buffer slack following the message - the one-byte over-read still occurs on a crafted frame regardless - so the only complete remedy is the patched library; the alternative is to disable the BACnet/SC datalink and fall back to a non-SC BACnet transport on the affected device until it can be upgraded, accepting the loss of the encrypted WebSocket transport. Advisory: https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-gr74-333w-7wg8.

Affected VersionsENISA

bacnet-stack 1.5.0, < 1.5.2
bacnet-stack < 1.4.6
bacnet-stack 1.6.0, < 1.6.1

Affected Packages

euvd bacnet_stack fix: 1.4.6, 1.5.2, 1.6.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

BACnet/SC is the encrypted transport variant of BACnet, carried over WebSocket and framed with BVLC-SC messages that may carry destination and data header options, each option prefixed by a marker byte whose MORE bit chains it to the next one. The bug class is CWE-787 (out-of-bounds write) rooted in bvlc_sc_validate_options_headers() in src/bacnet/datalink/bsc/bvlc-sc.c, which terminates its walk only when a MORE bit is cleared and never rejects a list whose final option still has MORE set, nor performs a post-loop trailing-MORE check; the subsequent decode loop in bvlc_sc_decode_header_options() iterates while (next_option) without any bound tied to BVLC_SC_HEADER_OPTION_MAX (4), the size of the dest_options[] and data_options[] arrays. Because the validator's array-overflow guard checks the validated option count rather than the number of iterations the unbounded walk performs, a crafted frame advances next_option to &message[message_len] and dereferences it in bvlc_sc_decode_option_hdr() at line 557 (one-byte over-read); further MORE-set markers in the bytes after the message keep the loop running past index 3, so bvlc_sc_decode_proprietary_option() at line 601 writes its out-parameters through out-of-bounds addresses in an 8-byte store. On the server the overflowed array is the static global bsc_dm, making this a BSS overflow in production even though the harness reports it as a stack overflow. The decoder is invoked as bvlc_sc_decode_message(rx_buf, rx_buf_size, ...) from bsc_process_socket_state / bsc_process_srv_awaiting_request in bsc-socket.c on the raw WebSocket frame, which is why the consequence depends on the peer's prior-frame residue in the larger receive buffer and why the assessed vector carries AC:H alongside PR:N.

Know when Bacnet Stack gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.7 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H
vuln.today AI 7.7 HIGH

Remote (AV:N) and pre-auth (PR:N), but the out-of-bounds write depends on receive-buffer residue so AC:H; one-byte over-read gives C:L, BSS corruption gives I:H and crash gives A:H, same process so S:U.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 13, 2026 - 20:49 EUVD
CVE Published
Nov 13, 2026 - 18:42 cve.org
HIGH 7.7

DescriptionCVE.org

BACnet Stack 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. Nothing rejects a list whose last option still has the MORE bit set, and the decode walk has no upper bound on how many options it processes. A single crafted BVLC-SC frame makes the walk advance one option past the end of the message and read message[message_len], one byte out of bounds. When the bytes after the message carry more MORE-set option markers, the walk keeps going: it runs past the fixed 4-entry option array and writes decoded option fields out of bounds. On the server that decode array is the static global bsc_dm, so the out-of-bounds write lands in adjacent BSS. Both faults are reachable before authentication, from the first frame a peer sends on a BACnet/SC connection, and the bytes that follow the message are the same peer's prior-frame data. This issue has been patched in versions 1.4.6, 1.5.2, 1.6.1, and 1.7.0.

Technical POC Analysis

CWE-787, out-of-bounds write, rooted in two independent defects in the BACnet/SC message decoder src/bacnet/datalink/bsc/bvlc-sc.c (bacnet-stack up to and including 1.6.0-rc1, commit 1068250).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A critical memory corruption vulnerability in the BACnet Stack's BACnet/SC (Secure Connect) implementation exposes organizations using BACnet/SC over WebSocket to pre-authentication remote crashes or corruption, potentially disrupting building automation and OT networks. With publicly available exploit code and a high CVSS score of 7.7, this flaw could allow attackers to cause operational outages or worse, impacting facility safety and continuity.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include disabling BACnet/SC over WebSocket if not essential, isolating affected systems behind strict network segmentation and firewalls, and monitoring network traffic for malicious BACnet/SC frames.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
Low
open-source BACnet library, building-automation/OT niche; BACnet/SC a newer feature
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

CVE-2026-26264 HIGH POC
8.1 Feb 13

Unauthenticated remote attackers can crash BACnet Stack prior to versions 1.5.0rc4 and 1.4.3rc2 by sending a malformed W

CVE-2025-66624 HIGH POC
7.5 Dec 05

BACnet Protocol Stack library provides a BACnet application layer, network layer and media access (MAC) layer communicat

CVE-2026-21878 HIGH POC
7.5 Feb 13

BACnet Stack is a BACnet open source protocol stack C library for embedded systems. [CVSS 7.5 HIGH]

CVE-2026-21870 MEDIUM POC
5.5 Feb 13

The BACnet Protocol Stack library versions 1.4.2 and earlier contain an off-by-one buffer overflow in the ubasic interpr

CVE-2026-52788 HIGH
8.8 Nov 13

Out-of-bounds writes in the BACnet/SC Address Resolution ACK URL parser of the BACnet Stack C library let an authenticat

CVE-2026-82414 HIGH
8.8 Nov 13

An out-of-bounds write in the BACnet MS/TP COBS receive path of the bacnet-stack C library lets an attacker who can plac

CVE-2026-62976 HIGH
8.7 Nov 13

Heap out-of-bounds read in the RAMFS-backed FILE object of BACnet Stack (bacnet-stack) 1.5.0 and earlier allows an unaut

CVE-2026-62974 HIGH
8.7 Nov 13

A single malformed BACnet/IP WriteProperty request can lock the official bacnet-stack demo server in a non-terminating r

CVE-2026-41503 HIGH
8.7 Apr 24

Remote attackers can crash BACnet Stack-powered embedded devices (versions prior to 1.4.3) by sending malformed ReadProp

CVE-2026-41502 HIGH
8.7 Apr 24

Remote denial of service in BACnet Stack library versions before 1.4.3 allows unauthenticated attackers to crash embedde

CVE-2026-41475 HIGH
8.7 Apr 24

Out-of-bounds read in BACnet Stack library versions before 1.4.3 allows unauthenticated remote attackers to crash embedd

CVE-2026-104204 HIGH
8.7 Nov 13

Remote unauthenticated denial of service in BACnet Stack before 1.6.1 allows one BACnet/IP WriteProperty request to forc

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy