Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach BACnet/IP UDP network
-
ExploitFlood valid I-Am messages to fill address cache
-
ExecutionSend ReadProperty for device.address-binding
-
ImpactOverflow global transmit buffer and abort process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer size calculation
|
| Exploitation Conditions | Exploitation requires network reachability to the target's BACnet/IP (UDP) interface and no authentication (PR:N). The attacker must first poison/fill the address cache by sending multiple valid I-Am messages with distinct device IDs (the reproduction used ~104 entries, versus ~10 that did not overflow), then send a single valid ReadProperty request for the local device object (instance 4194303 on the apps/iam target) and property PROP_DEVICE_ADDRESS_BINDING; the encoded address-binding list must grow large enough to exceed the fixed 1502-byte global Handler_Transmit_Buffer. Limiting factors: the overflow depends on accumulating enough cached bindings to overrun the buffer, it was demonstrated specifically on the official apps/iam reference target (device object exposing this property), and BACnet/IP deployments are typically confined to segmented building-automation/OT networks, which constrains real-world attacker reachability. The complete fix is upgrading to 1.4.5, 1.5.1, or 1.6.0-rc2. |
| Impact | The 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 availability-only impact with no confidentiality or integrity loss - consistent with the advisory's reproduced effect of a reliable process abort / denial of service. The GHSA advisory supplies a detailed, ASAN-verified reproduction (a global-buffer-overflow written immediately to the right of the 1502-byte Handler_Transmit_Buffer) using the official apps/iam target over real BACnet/IP UDP traffic, so a public PoC reference exists but the input does not confirm it as packaged, working exploit code. No CISA KEV entry is present (treat as not actively exploited), and no EPSS score was supplied, so exploitation-probability cannot be quantified from this data. The vuln.today Decision label is this_week, which - combined with a working reproduction, unauthenticated network trigger, and a shipped fix - makes this a genuine prioritize-promptly issue rather than a high-CVSS-but-low-real-risk one, though the impact ceiling is DoS on default reproduced behavior, not demonstrated code execution. One signal to verify: CVSS marks AV:N, but BACnet/IP is a UDP building-automation protocol normally confined to a segmented OT/field network, so real-world reachability is typically adjacent rather than internet-wide - the practical exposure depends on network segmentation. |
| Exploit ScenarioDerived | A remote, unauthenticated attacker with reachability to the BACnet/IP network sends many valid I-Am messages with distinct device IDs to fill the device's address cache, then issues one ReadProperty request for the local device object's address-binding property. When the server encodes the oversized BACnetAddressBinding list via address_list_encode(), it writes past the global APDU transmit buffer, aborting the process. A detailed PoC reproduction (poc.c / address_bind_flood) is documented in the GHSA advisory, demonstrating the crash under ASAN. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Out-of-bounds write in the BACnet Stack C library's address_list_encode() routine lets remote attackers crash any BACnet/IP device or application built on versions prior to 1.4.5, 1.5.1, and 1.6.0-rc2, including the 1.6.0-rc1 release. A network-adjacent, unauthenticated attacker first fills the device address cache with valid I-Am messages carrying distinct device IDs, then issues a single ReadProperty for the local device object's PROP_DEVICE_ADDRESS_BINDING; the encoded response overruns the fixed 1502-byte global Handler_Transmit_Buffer. The advisory documents a working reproduction against the official apps/iam reference target, so a public PoC reference exists; it is not verified as working exploit code beyond that demonstrated denial-of-service path, and no active exploitation or KEV listing has been reported. Impact is availability-only (CVSS 3.1 base 7.5, AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
RemediationAI
Vendor-released patch: upgrade to 1.4.5, 1.5.1, or 1.6.0-rc2, which contain the fix from pull request #1363 (https://github.com/bacnet-stack/bacnet-stack/pull/1363); the advisory at https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-4fgg-fghm-jm43 lists the same three fixed versions. Because the library is statically linked into embedded firmware, updating the library source is not sufficient on its own: vendors and integrators must rebuild and redistribute affected device firmware before exposure is removed. The fixed code restructures address_list_encode() to compute the total encoded length first and return BACNET_STATUS_ABORT when the result does not fit the supplied buffer, and adds bacnet_address_binding_entry_encode() shared with the read-range path. No workaround is described in the available advisory data; the practical compensating measure consistent with the reported exploitation conditions is to restrict UDP BACnet/IP reachability so untrusted hosts cannot inject I-Am traffic and reach ReadProperty handling, which limits exposure but does not remove the memory-corruption condition in unpatched builds.
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 an open-source BACnet protocol implementation used in embedded building-automation and industrial control devices. The flaw is classified CWE-131 (Incorrect Calculation of Buffer Size), with the advisory also tagging CWE-787 (Out-of-bounds Write), and lives in src/bacnet/basic/binding/address.c. The address-binding property is assembled from the global Address_Cache, which is populated by unauthenticated I-Am service handling (h_iam.c -> address_add()). When a ReadProperty for PROP_DEVICE_ADDRESS_BINDING reaches Device_Read_Property_Local(), it calls address_list_encode(&apdu[0], apdu_max) with the remaining tail of the global Handler_Transmit_Buffer (declared uint8_t Handler_Transmit_Buffer[MAX_PDU], observed at 1502 bytes in src/bacnet/basic/tsm/tsm.c). The original code wrote each entry's object-id and network number via encode_application_object_id() and encode_application_unsigned() before checking iLen against apdu_len, so the overflow occurred before the bounds test; the octet-string MAC/SADR checks compared only the raw payload length against the remaining space while encode_application_octet_string() writes tag plus payload, further underestimating the encoded size. The trigger is therefore not a single malformed packet but the accumulation of many cached bindings until the encoded list exceeds the transmit buffer. Pull request #1363 fixes this by introducing bacnet_address_binding_entry_encode() and restructuring address_list_encode() into a two-pass design that first computes the total encoded length (encoding with a NULL APDU pointer) and returns BACNET_STATUS_ABORT if it exceeds apdu_size instead of writing anything.
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
Unauthenticated BACnet/IP requests with no user interaction trigger a reliable out-of-bounds write and process abort, so PR:N/UI:N/AC:L and availability-only A:H with C/I: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-rc2, a reachable out-of-bounds write exists when encoding the device.address-binding property. This issue has been patched in versions 1.4.5, 1.5.1, and 1.6.0-rc2.
Technical POC Analysis
This is a reachable out-of-bounds write, primarily CWE-131 (Incorrect Calculation of Buffer Size), producing CWE-787 (Out-of-bounds Write).
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-52787 is a high-severity availability vulnerability in the BACnet Stack C library that allows remote, unauthenticated attackers to crash BACnet/IP devices and applications built on affected versions. Organizations relying on BACnet for building automation or industrial control systems face potential operational disruptions if exploited, as successful attacks can take critical devices offline. Leadership should prioritize remediation because the vulnerability affects core building management functions and could lead to service outages, safety concerns, and recovery costs.
No vendor-released patch identified at time of analysis. Interim mitigations include isolating BACnet/IP networks from untrusted networks, restricting access to authorized devices and users, monitoring for unusual BACnet traffic patterns (e.g., floods of I-Am messages or ReadProperty requests for PROP_DEVICE_ADDRESS_BINDING), and implementing rate limiting or filtering at network boundaries.
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
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.
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-125532
NVD
CVE.org
EPSS
GitHub
Exploit-DB