Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessComplete BACnet/SC WebSocket/TLS handshake
-
DeliverySend crafted message with proprietary header option (hdr_len=0)
-
ExploitDecoder reads offsets [3][4][5] before length check
-
ExecutionRead up to 3 bytes past heap buffer
-
ImpactDisclose adjacent heap bytes or crash node (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target must run the BACnet/SC (Secure Connect) datalink built on an affected BACnet Stack version (1.4.x before 1.4.5, 1.5.x before 1.5.1, or before 1.6.0) - classic BACnet/IP deployments are not affected. The over-read occurs before BACnet-layer authentication, but the attacker must first become a connected peer by completing the WebSocket/TLS handshake; since BACnet/SC transports are typically TLS-protected, this is the principal limiting factor, as an untrusted attacker may need a certificate the node accepts to reach the vulnerable decoder. Once connected, the concrete trigger is a single crafted message carrying a destination or data header option of type PROPRIETARY whose declared header-data length is less than 3 (the PoC uses hdr_len=0 in a 7-byte exact-malloc'd ADDRESS_RESOLUTION message). No user interaction and no BACnet credentials are required beyond establishing the secure channel. |
| Impact | This is a genuine but moderate-priority issue, and the signals are internally consistent rather than conflicting. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L, 6.5 Medium) matches the advisory's own account: a network-reachable, pre-BACnet-authentication over-read with low confidentiality impact (up to 3 bytes of adjacent heap) and low availability impact (node crash/DoS), with no integrity impact because there is no write primitive. The vuln.today Decision label is 'this_month' (not act_now/emergency), which aligns with a Medium-severity info-leak/DoS rather than a critical RCE. No CISA KEV entry and no EPSS score are present in the input, so there is no evidence of active or widespread exploitation; this should be treated as not-yet-exploited at the time of analysis. A working host-side AddressSanitizer PoC is published inside the GHSA advisory, demonstrating the out-of-bounds read, so exploitability is proven even though it has not been observed in the wild. One nuance limits real-world severity below what AV:N/PR:N suggests in isolation: the advisory states the flaw is reachable only after a BACnet/SC peer has completed the WebSocket/TLS handshake - PR:N reflects the absence of BACnet-layer authentication, not the absence of any transport-level trust. The impact is bounded: a 3-byte heap disclosure or a crash, no code execution. |
| Exploit ScenarioDerived | An attacker who can establish a BACnet/SC connection to a target node completes the WebSocket/TLS handshake, then sends a crafted BACnet/SC message (e.g. ADDRESS_RESOLUTION) whose destination header option is a PROPRIETARY option declaring a header-data length of 0. Because the decoder reads the vendor-id and option-type at fixed offsets [3][4][5] before validating the declared length, the node reads up to 3 bytes past the exact-sized receive buffer, leaking adjacent heap bytes into the decoded option or crashing the process. A working host AddressSanitizer PoC demonstrating the over-read is published in the GHSA advisory; low attack complexity (AC:L) means the malformed option triggers deterministically. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
A heap out-of-bounds read of up to 3 bytes exists in the BACnet/SC (Secure Connect) header-option decoder of the bacnet-stack C library, affecting releases before 1.4.5, 1.5.x before 1.5.1, and releases before 1.6.0. When a proprietary header option declares a header-data length below 3, bvlc_sc_decode_proprietary_option() still reads the vendor-id and option-type at fixed offsets before the length check, disclosing up to 3 bytes of adjacent heap into the decoded option or crashing the node; there is no write primitive. The bug is reachable before BACnet-layer authentication, but the attacker must first become a connected BACnet/SC peer by completing the WebSocket/TLS handshake, which limits who can reach the decoder. A public proof-of-concept reproducer exists in the advisory and fix PR, but there is no CISA KEV listing and no confirmed active exploitation; EPSS data was not supplied, and the vulnerability carries a this_month priority label.
RemediationAI
Upgrade to a fixed release: 1.4.5, 1.5.1, or 1.6.0, all of which were patched for this issue. PR #1396 is the upstream fix and does two things - bvlc_sc_validate_options_headers() now rejects any PROPRIETARY option whose declared hdr_len is less than 3 with ERROR_CODE_HEADER_ENCODING_ERROR / ERROR_CLASS_COMMUNICATION ('Proprietary Header' option header data length must be at least 3), and bvlc_sc_decode_proprietary_option() zero-initializes the vendor-id and option-type outputs and only performs the [3]/[4]/[5] reads when hdr_len >= 3; the PR also adds a regression test to test/bacnet/datalink/bvlc-sc. Organizations that cannot immediately upgrade should apply that patch to their vendored copy, or, where BACnet/SC is not required, leave the SC datalink out of the build in favor of BACnet/IP. Because reaching the decoder requires completing the WebSocket/TLS handshake first, restricting which peers may connect to the BACnet/SC WebSocket endpoint to mutually trusted, certificate-bearing nodes reduces exposure, at the cost of requiring PKI enrollment management for every SC peer; this is a stopgap, not a substitute for the patched decoder. Advisory details and affected/fixed version matrices are in GHSA-j66x-fr38-r7m5.
Affected VersionsENISA
Affected Packages
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 (Addendum/Annex AB) is the encrypted BACnet transport that carries BVLC-SC frames over a WebSocket secured by TLS, and bacnet-stack is a widely embedded open-source C implementation of the protocol stack. A BVLC-SC message begins with a control byte, a message ID, and an optional header-option list where each option is encoded as a type byte (with BVLC_SC_HEADER_DATA and MORE flags) followed by a declared header-data length and that many data bytes. In the affected code (src/bacnet/datalink/bsc/bvlc-sc.c), bvlc_sc_validate_options_headers() advances through the list by 2 + hdr_len and only verifies that the resulting offset fits in the buffer, never requiring hdr_len >= 3 for proprietary options, while bvlc_sc_decode_proprietary_option() unconditionally memcpy's a uint16_t vendor-id from in_options_list[3..4] and reads the option type at in_options_list[5] before its own hdr_len > 3 guard. An option with hdr_len = 0 therefore validates as a legal 3-byte option, and the decoder reads 3 bytes past it; on a real node the WebSocket server reassembles each message into a buffer reallocated to the exact message length, so the over-read lands past the heap allocation. The weakness maps to CWE-125 (out-of-bounds read) and, per the supplied vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L, needs no privileges or user interaction at the BACnet layer, though the trigger is not further described beyond the crafted proprietary header option.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Network-reachable and deterministic (AV:N/AC:L); PR:N reflects pre-BACnet-auth reach; impact is a bounded ≤3-byte heap read (C:L) or crash (A:L), no write so I:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to versions 1.4.5, 1.5.1, and 1.6.0, a BACnet/SC peer can trigger a heap out-of-bounds read (up to 3 bytes), pre-authentication, in the BACnet/SC header-option decoder. bvlc_sc_decode_proprietary_option() reads the vendor-id and option-type at fixed offsets [3],[4],[5] before checking the option's declared header length, and the option-list validator never enforces a minimum length for proprietary options. This issue has been patched in versions 1.4.5, 1.5.1, and 1.6.0.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Bacnet Stack
View allUnauthenticated remote attackers can crash BACnet Stack prior to versions 1.5.0rc4 and 1.4.3rc2 by sending a malformed W
BACnet Protocol Stack library provides a BACnet application layer, network layer and media access (MAC) layer communicat
BACnet Stack is a BACnet open source protocol stack C library for embedded systems. [CVSS 7.5 HIGH]
The BACnet Protocol Stack library versions 1.4.2 and earlier contain an off-by-one buffer overflow in the ubasic interpr
Out-of-bounds writes in the BACnet/SC Address Resolution ACK URL parser of the BACnet Stack C library let an authenticat
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
Heap out-of-bounds read in the RAMFS-backed FILE object of BACnet Stack (bacnet-stack) 1.5.0 and earlier allows an unaut
A single malformed BACnet/IP WriteProperty request can lock the official bacnet-stack demo server in a non-terminating r
Remote attackers can crash BACnet Stack-powered embedded devices (versions prior to 1.4.3) by sending malformed ReadProp
Remote denial of service in BACnet Stack library versions before 1.4.3 allows unauthenticated attackers to crash embedde
Out-of-bounds read in BACnet Stack library versions before 1.4.3 allows unauthenticated remote attackers to crash embedd
Remote unauthenticated denial of service in BACnet Stack before 1.6.1 allows one BACnet/IP WriteProperty request to forc
EUVD-2026-125538
NVD
CVE.org
EPSS
GitHub
Exploit-DB