Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach BACnet/IP server (UDP 47808)
-
DeliverySend WriteProperty(Device, Description)
-
ExploitLibrary stores borrowed stack pointer
-
ExecutionSend ReadProperty for same property
-
Persiststrlen() reads expired stack frame
-
ImpactRemote 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
More in Bacnet Stack
View allUnauthenticated remote attackers can crash BACnet Stack prior to versions 1.5.0rc4 and 1.4.3rc2 by sending a malformed W
BACnet Protocol Stack library provides a BACnet application layer, network layer and media access (MAC) layer communicat
BACnet Stack is a BACnet open source protocol stack C library for embedded systems. [CVSS 7.5 HIGH]
The BACnet Protocol Stack library versions 1.4.2 and earlier contain an off-by-one buffer overflow in the ubasic interpr
Out-of-bounds writes in the BACnet/SC Address Resolution ACK URL parser of the BACnet Stack C library let an authenticat
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
Heap out-of-bounds read in the RAMFS-backed FILE object of BACnet Stack (bacnet-stack) 1.5.0 and earlier allows an unaut
A single malformed BACnet/IP WriteProperty request can lock the official bacnet-stack demo server in a non-terminating r
Remote attackers can crash BACnet Stack-powered embedded devices (versions prior to 1.4.3) by sending malformed ReadProp
Remote denial of service in BACnet Stack library versions before 1.4.3 allows unauthenticated attackers to crash embedde
Out-of-bounds read in BACnet Stack library versions before 1.4.3 allows unauthenticated remote attackers to crash embedd
Remote unauthenticated denial of service in BACnet Stack before 1.6.1 allows one BACnet/IP WriteProperty request to forc
EUVD-2026-125535
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB