Skip to main content

BACnet Stack CVE-2026-52788

| EUVDEUVD-2026-125533 HIGH
Out-of-bounds Write (CWE-787)
2026-11-13 GitHub_M
8.8
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Compromise or authenticate as BACnet/SC peer
  2. Delivery
    Send crafted Address Resolution ACK with malformed URI list
  3. Exploit
    Trigger OOB write in bsc_node_parse_urls()
  4. Execution
    Corrupt adjacent .bss structures
  5. Impact
    DoS or potential code execution

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

Exploitation requires the target device to use the BACnet/SC (Secure Connect) datalink and to process a BACnet/SC Address Resolution ACK via bsc_node_parse_urls(); the malicious ACK must come from a peer that has completed the BACnet/SC TLS handshake with a valid client certificate (per the advisory, 'an authenticated BACnet/SC peer... with a valid TLS client certificate'). The triggering input is a space-separated WebSocket URI list crafted either with 11+ URIs (Bug B, unbounded j) or a URI positioned beyond offset 128 (Bug A, absolute-index NUL write). Limiting factors: requires BACnet/SC deployment (not classic BACnet/IP), requires peer authentication rather than anonymous network access, and affects only versions prior to 1.4.5/1.5.1/1.6.0. Note the supplied CVSS PR:N understates this authentication requirement.

Impact

This is a genuine memory-corruption flaw (CWE-787, out-of-bounds write) in the BACnet/SC datalink of the BACnet Stack library, and the signals are moderately but not maximally alarming. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, VI:L/VA:H, score 8.8) implies remote, low-complexity, unauthenticated exploitation with high availability impact - but this directly conflicts with the GHSA advisory, which states the attacker must be an 'authenticated BACnet/SC peer (e.g., a compromised building automation controller with a valid TLS client certificate).' CONFLICT TO VERIFY: CVSS encodes PR:N (unauthenticated) yet the vendor advisory requires an authenticated, certificate-holding peer - treat the real prerequisite as authenticated-peer access, not open internet exposure. No EPSS score was provided and the CVE is not listed in CISA KEV, so there is no evidence of active exploitation or high exploitation probability; the vuln.today decision label is 'this_week' (not act_now/emergency). The input contains a fix PR diff and a security advisory but no weaponized proof-of-concept, so exploitation remains theoretical. Net: a real, patch-worthy issue for BACnet/SC deployments, but the authentication prerequisite and absence of KEV/EPSS signals place it below drop-everything priority - prioritize patching internet-exposed or multi-tenant BACnet/SC fabrics where a peer certificate could be compromised.

Exploit ScenarioDerived

An attacker who already controls an authenticated BACnet/SC peer - for example a compromised building-automation controller holding a valid TLS client certificate - sends a crafted Address Resolution ACK containing many short or long space-separated WebSocket URIs. The malformed URI list drives bsc_node_parse_urls() to write past the utf8_urls[10][129] buffer, corrupting adjacent static structures to cause denial of service or potentially remote code execution. No public exploit code was identified in the provided data; only the fix PR and advisory are available.

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

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

Alert me

AnalysisAIv1 – Nov 13, 2026

Out-of-bounds writes in the BACnet/SC Address Resolution ACK URL parser of the BACnet Stack C library let an authenticated BACnet/SC peer corrupt static memory in the target device, crashing it (availability impact) and potentially altering adjacent bookkeeping data. All releases prior to 1.4.5, 1.5.1, and 1.6.0 are affected, and exploitation requires that the device runs the BACnet/SC datalink and accepts the crafted ACK from a peer that has completed the TLS handshake with a valid client certificate. Fixes are published (upstream PR #1365 and advisory GHSA-rf83-3rr5-v4mj); no public exploit code has been identified at time of analysis, and the moderate priority reflects that the attack surface is certificate-gated BACnet/SC deployments rather than anonymous network access.

RemediationAI

Upgrade to the fixed release for your branch: 1.4.5 for the 1.4.x line, 1.5.1 for the 1.5.x line, or 1.6.0 for 1.6.x and later, as stated in advisory GHSA-rf83-3rr5-v4mj; the patch in PR #1365 replaces the absolute-offset terminator with (i - start), applies the relative-length guard and bounds-checks j before every array write, so backporting those four hunks is a viable option for products pinned to older branches. Where an upgrade cannot be staged immediately, the exploitable prerequisite itself is the strongest lever: the malicious Address Resolution ACK must arrive from a peer that has completed the BACnet/SC TLS handshake using a valid client certificate, so temporarily narrowing the set of client certificates accepted by the BACnet/SC hub or router, and revoking certificates held by decommissioned or untrusted controllers, removes untrusted senders from the attack path - at the cost of blocking legitimate nodes until their credentials are reissued. Environments that do not require BACnet/SC can keep the datalink disabled and avoid the vulnerable code path entirely, though that forfeits SC connectivity; simply filtering the ACK at the IP layer is not sufficient because it remains reachable for any authenticated SC peer. Monitor for crashes or restarts of BACnet/SC nodes as a signal of attempted corruption until all instances run a fixed version.

Affected VersionsENISA

bacnet-stack < 1.4.5
bacnet-stack < 1.5.1
bacnet-stack < 1.6.0

Affected Packages

euvd bacnet_stack fix: 1.4.5, 1.5.1, 1.6.0

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 (Secure Connect) is the TLS-based transport for BACnet building-automation traffic; peers exchange Address Resolution messages so a node can learn the WebSocket URIs of other nodes. In the C library, bsc_node_parse_urls() in src/bacnet/datalink/bsc/bsc-node.c tokenizes a space-separated URI list delivered in a BVLC_SC_ADDRESS_RESOLUTION_ACK and stores each token into the static BSC_ADDRESS_RESOLUTION structure's utf8_urls[10][129] array, which lives in .bss alongside fields such as urls_num and fresh_timer. The advisory documents three distinct CWE-787 defects in that loop: the NUL terminator is written using the absolute offset into the full URI string (r->utf8_urls[j][i] = 0) rather than the relative token length, so any token starting past offset 128 writes out of bounds by up to roughly 1389 bytes; the URL counter j is never checked against BSC_CONF_NODE_MAX_URIS_NUM_IN_ADDRESS_RESOLUTION_ACK, so 11 or more short space-separated tokens (a 21-byte payload such as "a b c d e f g h i j k") write past the 10-element array; and the length guard tests i instead of (i - start). The reachable path is bvlc_sc_decode_message() extracting the ACK payload, bsc_node_process_received() handling BVLC_SC_ADDRESS_RESOLUTION_ACK (line 603) and calling bsc_node_parse_urls() (line 620). The supplier CVSS 4.0 vector carries PR:N, but the advisory's own conditions - a peer with a valid TLS client certificate - make this an authenticated-adjacent scenario; the independent assessment scores it CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H, i.e. confidentiality not impacted, limited integrity impact and high availability impact.

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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.1 HIGH

Advisory requires an authenticated TLS-certificate peer so PR:L not PR:N; network-reachable and low-complexity (AV:N/AC:L), no confidentiality impact, high availability and limited integrity impact from the OOB write.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 13, 2026 - 17:19 EUVD
CVE Published
Nov 13, 2026 - 15:56 cve.org
HIGH 8.8

DescriptionCVE.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, the bsc_node_parse_urls() function in src/bacnet/datalink/bsc/bsc-node.c contains three distinct bugs when parsing space-separated WebSocket URIs from a BACnet/SC Address Resolution ACK message. Two bugs cause out-of-bounds writes past the utf8_urls[10][129] array in the static BSC_ADDRESS_RESOLUTION structure. This issue has been patched in versions 1.4.5, 1.5.1, and 1.6.0.

Technical POC Analysis

CWE-787 (out-of-bounds write) in bscnodeparseurls(), src/bacnet/datalink/bsc/bsc-node.c, which parses the space-separated WebSocket URI list carried in a BACnet/SC Address Resolution ACK.

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

CVE-2026-52788 is a high-severity memory corruption vulnerability in the widely used BACnet Stack C library, affecting building automation and industrial control systems that use BACnet/SC (Secure Connect). Malicious authenticated peers with valid certificates could crash devices and potentially corrupt data, disrupting building operations. Leadership should prioritize patching because these systems often control critical infrastructure, and the requirement for valid credentials suggests insider or compromised certificate risk.

Business Impact: High
Compensating Controls

Vendor-released patch: 1.4.5, 1.5.1, 1.6.0; if immediate patching is not possible, enforce strict network segmentation for BACnet/SC, limit peer connections to known and trusted certificates, and monitor for unexpected device reboots or crashes.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
niche open-source C library for embedded BACnet building-automation devices
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.3%
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
Yes
Human Impact
High
Technical Impact
Partial

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-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

CVE-2026-58498 HIGH
8.6 Nov 13

A remote, unauthenticated attacker can drive a global out-of-bounds write in the official router-ipv6 forwarding applica

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