Skip to main content

BACnet Stack EUVDEUVD-2026-125535

| CVE-2026-52790 HIGH
Use After Free (CWE-416)
2026-11-13 GitHub_M
7.5
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 server (UDP 47808)
  2. Delivery
    Send WriteProperty(Device, Description)
  3. Exploit
    Library stores borrowed stack pointer
  4. Execution
    Send ReadProperty for same property
  5. Persist
    strlen() reads expired stack frame
  6. Impact
    Remote server crash (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
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 that the target run a BACnet/IP server using the affected library server path (src/bacnet/basic/server/bacnet_device.c), which the unmodified official apps/server-basic/main.c sample exposes by default, and that one of the writable Device string properties - PROP_DESCRIPTION, PROP_LOCATION, or PROP_MODEL_NAME - be writable. The attack is a two-packet sequence: a confirmed WriteProperty to the chosen property followed by a ReadProperty of that same property, both over BACnet/IP (typically UDP 47808). No authentication or user interaction is needed because BACnet/IP provides no authentication by default (PR:N/UI:N). Limiting factors: the attacker must have network reachability to the BACnet/IP endpoint (these devices are usually on segregated operational-technology networks), the deployment must actually use the vulnerable library string-ownership path, and the confirmed outcome is a crash - the memory-disclosure outcome depends specifically on non-sanitizer production builds returning uninitialized stack contents.

Impact

The signals are consistent in pointing to a moderate-severity, availability-focused network bug rather than a code-execution emergency. The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) describes a remotely reachable, low-complexity, unauthenticated flaw whose only confirmed impact is availability - matching the reporter's stated 'Confirmed impact: remote crash / denial of service.' The vuln.today decision label is 'this_week' (not act_now/emergency), and there is no CISA KEV listing and no EPSS value in the provided data, so there is no evidence of active or automated exploitation. The GHSA advisory includes a full PoC client program that drives the WriteProperty-then-ReadProperty trigger, so exploitability is well-demonstrated even though the input does not mark it as a confirmed weaponized exploit. One conflict worth flagging: the NVD vector scores C:N (no confidentiality impact), yet the advisory and the 'Information Disclosure' tag describe an additional non-ASAN risk where stale stack bytes are read back into the ReadProperty response - that is a genuine stack-memory disclosure path that the CVSS C:N does not capture; verify behavior on production (non-sanitizer) builds. Net: a real, promptly-patchable DoS in a building-automation library, not a high-CVSS-but-low-real-risk paper cut, but also not an in-the-wild RCE crisis.

Exploit ScenarioDerived

An attacker with network reach to a BACnet/IP server built on the affected library sends a valid confirmed WriteProperty to a writable Device string property (e.g. PROP_DESCRIPTION), which causes the library to store a pointer into an already-expired stack frame; a follow-up ReadProperty of the same property then dereferences that dangling pointer via strlen(), crashing the server (stack-use-after-return) and denying service. A working PoC client that performs exactly this two-packet sequence is published in the GHSA advisory, so the trigger is reliably reproducible; the low attack complexity and absence of authentication or user interaction (AC:L/PR:N/UI:N) make the DoS easy to launch against reachable devices.

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

Remote unauthenticated denial of service and possible stack memory disclosure affect BACnet Stack before 1.4.5, 1.5.1, and 1.6.0 when a BACnet/IP server exposes writable Device string properties. A two-packet WriteProperty/ReadProperty sequence stores a pointer to a stack-local string in global Device state, then dereferences it on read, producing a stack-use-after-return that crashes the server; production builds without sanitizers may expose stale stack contents. The vendor has released fixes in 1.4.5, 1.5.1, and 1.6.0, and a public PoC reference exists but is not verified as working exploit code.

RemediationAI

Apply the vendor-released fixes by upgrading to 1.4.5, 1.5.1, or 1.6.0 on the applicable branch, and review the advisory at https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-jr7p-rm2x-739x plus the fix at https://github.com/bacnet-stack/bacnet-stack/pull/1375. If upgrading cannot be done immediately, remove PROP_DESCRIPTION, PROP_LOCATION, and PROP_MODEL_NAME from writable property sets or reject confirmed WriteProperty requests to those properties, and restrict BACnet/IP UDP 47808 access to trusted management hosts or segregated OT network segments; these measures reduce exposure but do not correct the library ownership bug and may break provisioning or management workflows that rely on those writes.

Affected VersionsENISA

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

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 Stack is a C library implementing the BACnet protocol, and BACnet/IP servers typically listen on UDP 47808. In the vulnerable server path, Device_Write_Property_Local() decodes a WriteProperty value into a stack-local BACNET_APPLICATION_DATA_VALUE whose BACNET_CHARACTER_STRING contains an inline character array. For writable Device string properties, Device_Set_Description(), Device_Set_Location(), and Device_Set_Model_Name() store characterstring_value() pointers without copying, so global Device state holds a pointer into the returned stack frame. A subsequent ReadProperty reaches Device_Read_Property_Local() and characterstring_init_ansi(), whose strlen() dereferences the dangling pointer; this is CWE-416 use-after-free/stack-use-after-return, with CWE-562 also noted. The confirmed path is a two-packet BACnet/IP sequence, and the flaw is in src/bacnet/basic/server/bacnet_device.c and src/bacnet/bacstr.c rather than in the sample application. The pull request replaces borrowed const char pointers with BACNET_CHARACTER_STRING_BUFFER state and length-bounded duplication.

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

Remote, two-packet, no-auth trigger gives AV:N/AC:L/PR:N/UI:N; confirmed crash is A:H, and documented stale-stack-byte readback on non-ASAN builds justifies C:L over the NVD's C:N.

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

Lifecycle Timeline

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

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, there is a library-level memory safety issue that is reachable from an unmodified official sample server (apps/server-basic/main.c) over BACnet/IP resulting in a stack-use-after-return in writable Device string properties. This issue has been patched in versions 1.4.5, 1.5.1, and 1.6.0.

Technical POC Analysis

CWE-416 (Use After Free) as scored by the advisory, with CWE-562 (Return of Stack Variable Address) listed as a second weakness.

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-52790 is a high-severity flaw in the widely used BACnet Stack that enables any unauthenticated network attacker to crash building automation servers and potentially leak sensitive stack memory. This directly threatens the availability and confidentiality of building management systems, affecting facility operations and exposing internal data; leadership should prioritize patching because the vendor has released fixes and a public proof-of-concept reference exists.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 62% exploitable
Prevalence
Low
open-source BACnet library for embedded building-automation, industry-specific footprint
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
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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