Skip to main content

BACnet Stack CVE-2026-47711

| EUVDEUVD-2026-124672 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-11-12 GitHub_M
8.6
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Reach BACnet/IP demo server on UDP 47808
  2. Delivery
    Send WriteProperty repointing loop-1 controlled-variable-reference
  3. Exploit
    Server stores attacker-controlled object-property reference
  4. Execution
    Next object timer tick reads accepted-modes
  5. Persist
    Stack buffer overflow in enumerated encoder
  6. Impact
    Demo server process crashes

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

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

Exploitation Conditions

Exploitation requires BACnet/IP (UDP, default port 47808) network reachability to a target running the stock BACnet Stack demo server from apps/server/main.c, which by default creates both loop-1 and life-safety-zone-1, registers WriteProperty, binds the Loop object's internal read callback to Device_Read_Property, and periodically calls Device_Timer(). The attacker must successfully write OBJECT_LOOP:1 / PROP_CONTROLLED_VARIABLE_REFERENCE to point at OBJECT_LIFE_SAFETY_ZONE:1 / PROP_ACCEPTED_MODES; the overflow then fires on the next object-timer tick, not at write time. Per the CVSS vector (PR:N/UI:N) no authentication or user interaction is needed. Limiting factors: the vulnerability is demonstrated only against the default demo-server object model - deployments that do not instantiate both a Loop and a Life Safety Zone object, that disable or restrict WriteProperty, or that do not run the timer-driven read path, and anything on versions 1.4.4, 1.5.1, or 1.6.0 and later, are not exploitable via this path. Affected versions are those at or before 1.6.0-rc1.

Impact

The vendor CVSS of 8.6 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H) describes a remotely reachable, low-complexity flaw needing no privileges or user interaction, which on the surface is a high priority. The dominant real impact is availability (A:H): the GHSA advisory states the demonstrated impact is a 'reliable process crash / memory corruption' via a stack-buffer-overflow write, confirmed with an AddressSanitizer backtrace. The vendor's C:L/I:L bits appear generous relative to the evidence - no information disclosure or attacker-controlled write/code execution is demonstrated, only corruption that crashes the process - so this reads as primarily a denial-of-service issue rather than a confirmed RCE. The exploitation status is: no CISA KEV listing and no EPSS score are provided, so there is no signal of active or widespread exploitation; the vuln.today decision label is 'this_week' (not act_now/emergency). A public PoC reference exists (poc.zip linked in the advisory) with full reproduction steps; it is not verified here as working exploit code, but a PoC reference is clearly present. The most important limiting factor, stated repeatedly by the advisory, is that the demonstrated reachable path is the stock demo server built from apps/server/main.c with its default loop-1 and life-safety-zone-1 objects - production firmware that does not instantiate both objects or that restricts WriteProperty may not be affected. Net: a credible, remotely triggerable DoS in building-automation software that warrants prompt patching on the timeline the decision label implies, but the universal-RCE reading the raw C:L/I:L bits might suggest is not supported by the supplied evidence.

Exploit ScenarioDerived

An attacker with BACnet/IP reachability to a vulnerable BACnet Stack demo server sends a single valid Confirmed WriteProperty request that repoints loop-1's controlled-variable-reference to life-safety-zone-1 / accepted-modes; the server accepts it and returns a Simple Ack. On the next object-timer tick the server internally reads that property, overflowing a fixed 32-byte stack buffer while encoding accepted-modes, and crashes. A PoC reference (poc.zip) with build and reproduction steps is published in the GHSA advisory; because AV:N/AC:L/PR:N/UI:N applies, the triggering request needs no authentication or user interaction.

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 12, 2026

Stack buffer overflow in the BACnet Stack C library (all versions through 1.6.0-rc1) allows a remote BACnet/IP client to corrupt memory in the stock demo server and terminate the process. The attacker sends a single valid Confirmed WriteProperty to OBJECT_LOOP:1 / PROP_CONTROLLED_VARIABLE_REFERENCE pointing at OBJECT_LIFE_SAFETY_ZONE:1 / PROP_ACCEPTED_MODES; the write is acknowledged normally and the overflow fires later, on the next object-timer tick, when the Loop object performs its internal ReadProperty into a fixed 32-byte stack buffer. No authentication or user interaction is required over UDP/47808 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), and the demonstrated impact is denial of service through a reliable crash, with the vendor advisory's reasoning scope limited to memory corruption rather than code execution. A public proof-of-concept reference (poc.zip) and full reproduction steps are included in the GitHub advisory, and it is not verified as working exploit code. The issue is patched in 1.4.4, 1.5.1, and 1.6.0, and is prioritized for remediation this week.

RemediationAI

Upgrade to a fixed release on the appropriate branch - 1.4.4, 1.5.1, or 1.6.0 - as documented in vendor advisory GHSA-vrpm-9gm2-x552 (https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-vrpm-9gm2-x552); the fix reworks the PROP_ACCEPTED_MODES branch of Life_Safety_Zone_Read_Property() so each encoded entry is length-checked against rpdata->application_data_len before being written, rather than unconditionally appending enumerated values into the callback's 32-byte stack buffer. Where upgrading is not immediately possible, the actionable options are: do not deploy the demo server (apps/server/main.c) outside lab use, since it is the confirmed reachable target; restrict BACnet/IP UDP port 47808 to known building-automation peers with host or network ACLs, or tunnel traffic over BACnet/SC, accepting that this narrows legitimate client reachability and does not fix the underlying memory corruption; or rebuild without the Life Safety Zone object or with WriteProperty disabled/filtered for PROP_CONTROLLED_VARIABLE_REFERENCE on Loop objects, understanding that removing WriteProperty breaks normal setpoint and control writes to the device and diverges from vendor-supported configuration. Because exploitation requires no credentials or user interaction, apply the network-scoping measures to any internet- or flat-network-exposed BACnet/IP endpoint until the patched version is in place.

Affected VersionsENISA

bacnet-stack < 1.6.0
bacnet-stack < 1.5.1
bacnet-stack < 1.4.4

Affected Packages

euvd bacnet_stack fix: 1.4.4, 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 is a stack-based buffer overflow (CWE-121, with the advisory also tagging CWE-131 incorrect length calculation, CWE-787 out-of-bounds write, and CWE-805 length-parameter mismatch) rooted in a broken size contract between caller and callee inside the BACnet Stack basic-object layer. Loop_Read_Variable_Reference_Update() in src/bacnet/basic/object/loop.c declares a fixed 32-byte stack array (uint8_t apdu[32]) and hands it to the registered internal read callback with application_data_len = sizeof(apdu). Device_Init() binds that callback to Device_Read_Property, which dispatches to Life_Safety_Zone_Read_Property(); for PROP_ACCEPTED_MODES, lsz.c loops over every life-safety mode and repeatedly calls encode_application_enumerated() into the caller's buffer without ever comparing apdu_len against rpdata->application_data_len. The eventual out-of-bounds byte write occurs inside encode_tag() in src/bacnet/bacdcode.c, so the overflow happens during internal ReadProperty encoding, before the Loop code ever attempts to decode the response as a REAL - the later type mismatch does not prevent corruption. The affected CPE (cpe:2.3:a:bacnet-stack:bacnet-stack:*:*:*:*:*:*:*:*) covers the library generally, but the vendor confirms reachability on the stock demo server built from apps/server/main.c, whose default object model creates both loop-1 and life-safety-zone-1, registers WriteProperty, and periodically calls Device_Timer(), giving the trigger path main -> Device_Timer -> Loop_Timer -> Loop_Read_Variable_Reference_Update -> Device_Read_Property -> Life_Safety_Zone_Read_Property.

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

Remote unauthenticated BACnet/IP WriteProperty, no interaction (AV:N/AC:L/PR:N/UI:N); advisory demonstrates only a process crash, so A:H with C/I set to N.

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

Lifecycle Timeline

2
Patch available
Nov 12, 2026 - 21:02 EUVD
CVE Published
Nov 12, 2026 - 20:05 cve.org
HIGH 8.6

DescriptionCVE.org

BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to versions 1.4.4, 1.5.1, and 1.6.0, the current master demo server can be crashed remotely over BACnet/IP by sending a valid Confirmed WriteProperty request that updates loop-1's controlled-variable-reference to point to life-safety-zone-1 / accepted-modes. This issue has been patched in versions 1.4.4, 1.5.1, and 1.6.0.

Technical POC Analysis

CWE-121 stack-based buffer overflow (advisory also maps CWE-131, CWE-787, CWE-805): a broken size contract between a caller-supplied output buffer and a ReadProperty implementation that never checks…

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-47711 is a high-severity vulnerability in the BACnet Stack C library affecting building automation and industrial control systems that use BACnet/IP. An unauthenticated remote attacker can crash the demo server, causing operational disruption. Leadership should prioritize remediation because exploited devices may halt critical building services and safety monitoring.

Business Impact: High
Compensating Controls

No vendor patch available. Interim mitigations: restrict BACnet/IP (UDP 47808) exposure to trusted networks, disable or remove the vulnerable Loop object if not needed, and monitor for crash patterns. Consider using a BACnet gateway or firewall to enforce protocol rules and block malformed packets.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
building-automation protocol library; confirmed-vulnerable path is its reference demo server
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

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

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

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