Skip to main content

BACnet Stack EUVDEUVD-2026-125693

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

Attack ChainAIDerived

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

  1. Access
    Gain access to MS/TP RS-485 bus segment
  2. Delivery
    Craft long valid COBS MS/TP frame
  3. Exploit
    Trigger undersized-capacity COBS decode
  4. Execution
    Write past remaining input buffer
  5. Impact
    Corrupt adjacent memory, causing DoS or potential 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

The target must run a BACnet MS/TP datalink deployment with COBS frame types enabled and use the affected receive path (vulnerable versions 1.4.0-1.4.5, 1.5.0, and 1.6.0). The attacker needs the ability to place a crafted BACnet MS/TP COBS frame onto the RS-485 bus the device listens on - consistent with AV:A (adjacent), not internet-facing. MS/TP itself carries no authentication (PR:N), and no user interaction is required (UI:N). Limiting factors: exploitation is bounded to attackers with logical/physical access to the local MS/TP bus segment, and only deployments that enable COBS frame handling are reachable; devices on non-COBS or non-MS/TP datalinks are not affected.

Impact

The CVSS 3.1 vector (AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, base 8.8) describes an unauthenticated, low-complexity memory-corruption flaw, but the adjacent attack vector (AV:A) is decisive: BACnet MS/TP runs over an RS-485 serial bus, so exploitation requires access to that local bus segment rather than open internet reachability - this is not a remotely internet-exploitable bug despite the high score. No EPSS probability was provided in the input, and the vulnerability is not listed in CISA KEV, so there is no signal of active or widespread exploitation. The only proof-of-concept is a local source-backed harness that triggers an AddressSanitizer heap out-of-bounds write against the project's own COBS code; it does not send real MS/TP traffic to a device and explicitly does not demonstrate remote code execution, so the confirmed impact today is memory corruption/denial of service rather than proven RCE. The vuln.today decision label is 'this_week', consistent with a serious memory-safety defect that is gated by bus access and a non-default-dependent feature. Net: a genuine, patch-worthy out-of-bounds write, but real-world urgency is bounded by the need for adjacent MS/TP bus access and COBS frame handling, not a high-CVSS-but-trivial-internet-exploit.

Exploit ScenarioDerived

An attacker with access to the RS-485 MS/TP bus segment delivers a crafted BACnet MS/TP frame carrying a long valid COBS payload to a device running a vulnerable BACnet Stack build with COBS frame handling in its receive path. The decode routine writes past the end of the remaining input buffer, producing a sanitizer-confirmed out-of-bounds write; a public PoC reference exists as a local harness proving this memory-corruption primitive, but it is not verified as working remote exploit code and does not demonstrate code execution.

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

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

Alert me

AnalysisAIv1 – Nov 13, 2026

An out-of-bounds write in the BACnet MS/TP COBS receive path of the bacnet-stack C library lets an attacker who can place a crafted frame on the local RS-485 bus corrupt heap memory in listening devices. The flaw affects versions 1.4.0 through 1.4.5, 1.5.0, and 1.6.0, and affects only MS/TP datalink deployments with COBS frame types enabled; devices on other datalinks are not reachable. The supplied advisory includes a public proof-of-concept harness that produces a sanitizer-confirmed heap-buffer-overflow locally; it is not verified as working exploit code against real hardware and does not demonstrate code execution. There is no CISA KEV entry, so there is no confirmation of active exploitation, and the adjacent attack vector (AV:A, CVSS 8.8) means an attacker needs logical or physical access to the MS/TP bus segment rather than internet reachability.

RemediationAI

Vendor-released patch: upgrade to 1.4.6, 1.5.1, 1.6.1, or 1.7.0; the fix in PR #1425 (https://github.com/bacnet-stack/bacnet-stack/pull/1425) changes the cobs_frame_decode() call to pass InputBufferSize - (mstp_port->Index + 1) as the capacity and adds a unit test that places 0xA5 guard bytes after a tight receive buffer to verify no overflow occurs. Because the advisory's package metadata lists 1.5.2 rather than 1.5.1 for the 1.5 branch, confirm the released 1.5.x tag against the advisory before rolling out. In the absence of patching, the exposures described in the advisory are limited to MS/TP deployments with COBS frame types enabled, so restricting logical and physical access to the RS-485 bus segment removes the adjacent attack path, at the cost of constraining legitimate MS/TP devices on that segment; long valid COBS payloads are the trigger described in the advisory, but no filtered-length workaround is specified by the vendor, and deployments that can move off the MS/TP COBS receive path entirely fall outside the affected context.

Affected VersionsENISA

bacnet-stack 1.5.0, < 1.5.1
bacnet-stack 1.6.0, < 1.6.1
bacnet-stack 1.4.0, < 1.4.6

Affected Packages

euvd bacnet_stack fix: 1.4.6, 1.5.1, 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 MS/TP is a master-slave/token-passing datalink that runs over RS-485 serial segments, and the bacnet-stack library frames its payloads using COBS (Consistent Overhead Byte Stuffing) so that zero bytes are eliminated on the wire. In src/bacnet/datalink/mstp.c, the function MSTP_Receive_Frame_FSM calls cobs_frame_decode() with an output pointer of &InputBuffer[Index + 1] - that is, an address inside the same fixed input buffer - while passing the full InputBufferSize as the decode capacity instead of InputBufferSize - (Index + 1). The pre-existing validation only checks that (Index + 1) < InputBufferSize, so it never confirms that the decoded payload fits in the space remaining after the shifted output pointer. A long but valid COBS payload therefore makes cobs_decode() write past the end of the remaining buffer, the CWE-787 out-of-bounds write class. The advisory's harness sets an input buffer of 1507 bytes, an encoded length of 1009, and a remaining capacity of 498 while 1507 is passed as capacity, yielding AddressSanitizer 'heap-buffer-overflow' reports in cobs_decode(). The advisory states that the PoC proves only the parser/datalink decode primitive locally and does not prove RCE or involve traffic to a real device.

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 8.8 HIGH
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

MS/TP is a shared RS-485 bus so AV:A; frames need no authentication (PR:N) or interaction (UI:N), and the out-of-bounds write yields memory corruption with potential full C/I/A impact.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

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

DescriptionCVE.org

BACnet Stack is a BACnet open source protocol stack C library for embedded systems. From versions 1.4.0 to before 1.4.6, 1.5.0 to before 1.5.1, and 1.6.0 to before 1.6.1, the BACnet MS/TP receive path decodes COBS frames into an output pointer inside the same fixed input buffer, but passes the full input-buffer size as the decode capacity. A long valid COBS payload can therefore write past the end of the actual remaining buffer. This issue has been patched in versions 1.4.6, 1.5.1, 1.6.1, and 1.7.0.

Technical POC Analysis

CWE-787 out-of-bounds write in the BACnet MS/TP receive path.

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 high-severity memory corruption vulnerability in the bacnet-stack C library (versions 1.4.0-1.4.5, 1.5.0, and 1.6.0) can be triggered by a crafted frame on the local RS-485 bus, potentially causing heap corruption in listening building automation devices. Only MS/TP datalink deployments with COBS frame types are affected; an attacker requires logical or physical access to the bus segment, so this is not remotely exploitable from the internet. Leadership should prioritize patching affected BACnet devices and restricting physical/logical access to MS/TP bus segments, as successful exploitation could disrupt building controls and require device replacement or recovery.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting physical and logical access to MS/TP bus segments, segmenting building automation networks, monitoring for anomalous COBS frames, and disabling COBS frame types where operationally possible; a public PoC reference exists; it is not verified as working exploit code. No public exploit identified at time of analysis.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Low
open-source BACnet C library for building-automation embedded devices, industry-specific
Social Media
1
Sightings
Data Quality
4 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.4%
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
Poc
System Exposure· derived
Controlled
Automatable
No
Human Impact
Medium
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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-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

CVE-2026-49990 HIGH
8.6 Nov 13

Out-of-bounds memory access in the BACnet Stack C library (versions 1.4.2 through 1.4.4 and 1.5.0) allows remote attacke

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