Skip to main content

BACnet Stack EUVDEUVD-2026-125532

| CVE-2026-52787 HIGH
Incorrect Calculation of Buffer Size (CWE-131)
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 UDP network
  2. Exploit
    Flood valid I-Am messages to fill address cache
  3. Execution
    Send ReadProperty for device.address-binding
  4. Impact
    Overflow 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.

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 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

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

Affected Packages

euvd bacnet_stack fix: 1.4.5, 1.5.1, 1.6.0-rc2

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

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 7.5 HIGH

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.

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
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Nov 13, 2026 - 17:19 EUVD
CVE Published
Nov 13, 2026 - 15:54 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-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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Low
open-source BACnet C library, building-automation/OT niche footprint
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

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

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