Skip to main content

BACnet Stack CVE-2026-52786

| EUVDEUVD-2026-124654 HIGH
Improper Validation of Array Index (CWE-129)
2026-11-12 GitHub_M
7.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Lure epics client to malicious endpoint
  2. Exploit
    Reply with oversized RPM-ACK (≥8 properties)
  3. Execution
    ProcessRPMData writes past global array
  4. Impact
    Global-buffer-overflow corrupts memory, client crashes (DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
Exploitation Conditions

Exploitation requires the victim to run the official apps/epics client tool (bacnet-stack prior to 1.4.5, 1.5.1, 1.6.0; demonstrated on v1.6.0-rc1) and direct it at an attacker-controlled BACnet/IP endpoint - the tool's state machine must send its legitimate ReadPropertyMultiple heading request and enter GET_HEADING_RESPONSE. The attacker's endpoint must return a syntactically valid, fully decodable ReadPropertyMultiple-ACK for a single object containing at least 8 decodable heading properties (the 7th write overwrites the sentinel slot, the 8th writes out of bounds past the fixed 6-slot-plus-sentinel global Property_Value_List). Limiting factors: this is a client-side flaw, so devices running the bacnet-stack library as a server are not affected - only operators of the epics diagnostic tool are, and only when they voluntarily connect the tool to a malicious or compromised endpoint (UI:R); the generic RPM ACK decoder alone is not vulnerable.

Impact

This is a genuine but bounded issue, and the signals mostly agree on a 'medium urgency' rating rather than an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H, 7.1 High) is network-reachable and unauthenticated (PR:N), but critically requires user interaction (UI:R): the vulnerable code is the apps/epics *client* diagnostic tool, so an operator must actively run epics and point it at an attacker-controlled BACnet/IP endpoint - the library's generic RPM ACK decoder is NOT affected on its own. There is no CISA KEV listing, so this is not confirmed actively exploited, and no EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be quantified here. A detailed PoC responder (poc.c) is described in the GHSA advisory with reproduction steps and ASAN/UBSAN output, but the input does not mark it as confirmed released exploit code, so a public PoC reference exists; it is not verified as working exploit code. The vendor's own evidence states the demonstrated impact is a reliable client-side crash/DoS and explicitly says it does not by itself prove controlled code execution - so the A:H and I:L metrics reflect memory corruption plus denial of service, not a proven RCE. The vuln.today Decision label is 'this_week', consistent with a real, patch-this-week priority rather than drop-everything. Net: a real network-reachable memory-corruption bug in a shipped tool, but its practical blast radius is limited to the operator running the diagnostic client, which lowers real-world risk well below what a raw 7.1 on a core protocol library might suggest.

Exploit ScenarioDerived

An operator runs the official apps/epics client (from bacnet-stack before 1.4.5/1.5.1/1.6.0) to audit a BACnet device and points it at an endpoint the attacker controls. The malicious endpoint answers the tool's legitimate ReadPropertyMultiple request with a syntactically valid ReadPropertyMultiple-ACK packing more heading properties than the tool's fixed array holds; ProcessRPMData() then writes past the global Property_Value_List array, corrupting adjacent global memory and crashing the client (DoS). A working PoC responder and reproduction steps are published in the GHSA advisory, though not marked as confirmed released exploit code; attack complexity is low (AC:L) but exploitation depends on the victim initiating the connection (UI:R).

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

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

Alert me

AnalysisAIv1 – Nov 12, 2026

The official apps/epics diagnostic client shipped with bacnet-stack can be crashed - and has its global memory corrupted - by a malicious or compromised BACnet/IP endpoint it is pointed at. When the tool sends its legitimate ReadPropertyMultiple heading request and the endpoint answers with a syntactically valid ReadPropertyMultiple-ACK carrying more decodable heading properties than the tool's fixed six-slot global Property_Value_List can hold, ProcessRPMData() stores each value using an unbounded linear index, so the 7th write clobbers the sentinel and the 8th writes past the array into adjacent globals. The vector is network-reachable but requires user interaction (AV:N/AC:L/PR:N/UI:R), reflecting that exploitation only occurs when an operator voluntarily directs the unauthenticated epics tool at an attacker-controlled endpoint; the demonstrated impact is reliable client-side denial of service plus memory corruption, with no evidence of controlled code execution. Affected builds are those prior to 1.4.5, 1.5.1 and 1.6.0 (reproduction was on v1.6.0-rc1), fixes are already released, there is no CISA KEV entry, and a public proof-of-concept responder that reproduces the crash is described in the advisory but is not verified as general-purpose exploit code.

RemediationAI

Update to a fixed release on the matching branch - 1.4.5, 1.5.1 or 1.6.0 - which incorporate PR #1366 and PR #1409 per advisory GHSA-c4q6-7827-mfg6 (https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-c4q6-7827-mfg6). The upstream fix goes beyond a single bounds check: ProcessRPMData() now resolves the destination slot by rpm_property->propertyIdentifier rather than by arrival order, stores only into a matching empty slot, and frees unknown, duplicate or excess property values, which also removes the subtler risk of a responder reordering properties so values are attributed to the wrong heading field. No CISA KEV entry exists and the priority label is this_week, so treat this as scheduled maintenance rather than an emergency. Because the exposure is entirely driven by which endpoint the epics tool is aimed at, the practical interim control is to run apps/epics only against known, trusted or lab BACnet/IP endpoints and never point it at addresses obtained from untrusted sources or discovered automatically across a network; the trade-off is that this does not protect against a trusted endpoint that has itself been compromised, and it degrades the tool's usefulness for exploratory diagnostics. Server-side deployments of the library need no action for this specific CVE.

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

The flaw sits in the EPICS sample/diagnostic client in apps/epics/main.c, not in the generic BACnet RPM-ACK decoder that other code paths use. The tool registers MyReadPropertyMultipleAckHandler() as the confirmed-ACK handler for SERVICE_CONFIRMED_READ_PROP_MULTIPLE; after it sends its heading request and enters GET_HEADING_RESPONSE, the main loop takes packets through datalink_receive() and npdu_handler(), decodes the attacker-supplied ACK with rpm_ack_decode_service_request(), and then consumes the resulting linked list in ProcessRPMData(GET_HEADING_RESPONSE). The decoder faithfully builds as many BACNET_READ_ACCESS_DATA nodes as the attacker includes, so the property list is variable-length, while the destination is a static array of six heading properties (vendor name, model name, max APDU length, protocol services supported, protocol object types supported, description) plus a {-1, NULL} sentinel. The root cause class is CWE-129 (improper validation of array index), producing the CWE-787 out-of-bounds write: the code assumes a remote, variable-length RPM property list maps cleanly back onto its own fixed, trusted local heading set and also trusts remote arrival order instead of matching on propertyIdentifier. UBSAN reports 'index 7 out of bounds for type property_value_list_t [7]' and ASAN reports a global-buffer-overflow WRITE of size 8 at apps/epics/main.c:859, landing in global storage between Property_Value_List and the later Has_RPM variable. Trigger mechanics beyond this decode-then-consume path are not described in the available sources beyond the fact that at least 8 decodable properties for a single object are required.

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

Network-reachable and unauthenticated but the operator must point the client at a malicious endpoint (UI:R); confirmed crash gives A:H and the OOB pointer write to global memory gives I:L, no disclosure so C:N.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/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
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High

Lifecycle Timeline

2
Patch available
Nov 12, 2026 - 21:02 EUVD
CVE Published
Nov 12, 2026 - 19:59 cve.org
HIGH 7.1

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, in the official apps/epics client tool on v1.6.0-rc1 (not in the generic BACnet RPM ACK decoder alone) a malicious BACnet/IP endpoint can reply to the EPICS tool’s legitimate ReadPropertyMultiple request with a syntactically valid ReadPropertyMultiple-ACK that contains more heading properties than the tool’s fixed local storage can hold. The response is decoded successfully and later consumed by ProcessRPMData(), which writes property values into a fixed global array using an unbounded linear index. This results in a reproducible global-buffer-overflow in apps/epics/main.c. This is a network-reachable memory corruption in the official epics tool’s response-processing path. The root cause is that apps/epics treats a remotely supplied variable-length RPM property list as if it were a trusted, fixed-size local heading-property set. This issue has been patched in versions 1.4.5, 1.5.1, and 1.6.0.

Technical POC Analysis

CWE-129 (Improper Validation of Array Index), producing an out-of-bounds write (CWE-787).

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 memory-corruption flaw in the EPICS diagnostic client bundled with bacnet-stack can crash the tool and corrupt its memory when an operator connects it to a malicious or compromised BACnet/IP endpoint. This affects engineering and operations staff who use the diagnostic tool for building-automation troubleshooting, exposing them to disruption and potential unpredictable tool behavior if an untrusted endpoint is contacted. Leadership should care because the tool is a routine operational utility pointed at third-party network devices, so a targeted or compromised endpoint could interrupt diagnostics and undermine trust in maintenance workflows.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Until a fix is available, restrict the EPICS diagnostic client to trusted and allowlisted BACnet/IP endpoints, run it only from segmented workstation enclaves with network monitoring, and avoid directing the tool at third-party or untrusted devices.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
niche open-source building-automation library; vulnerable part is a diagnostic client tool
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.2%
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

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

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