CVE-2026-52788

BACnet Stack: Buffer overflows in bsc_node_parse_urls() (BACnet/SC Address Resolution ACK URL parser)

Published Nov 13, 2026 CVSS 4.0 · 8.8 High EPSS < 1% KEV · Not listed
Description
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, the bsc_node_parse_urls() function in src/bacnet/datalink/bsc/bsc-node.c contains three distinct bugs when parsing space-separated WebSocket URIs from a BACnet/SC Address Resolution ACK message. Two bugs cause out-of-bounds writes past the utf8_urls[10][129] array in the static BSC_ADDRESS_RESOLUTION structure. This issue has been patched in versions 1.4.5, 1.5.1, and 1.6.0.

Analysis

AI-generated

Technical impact

The vulnerability is a buffer overflow caused by out‑of‑bounds writes in the bsc_node_parse_urls() function when processing space‑separated WebSocket URIs from a BACnet/SC Address Resolution ACK message. This flaw can overwrite adjacent memory, potentially allowing an attacker to execute arbitrary code or crash the process. The weakness is categorized as CWE‑787, Buffer Access with Incorrect Size Validation.

Affected Systems

Affected systems are devices that use the BACnet Stack open‑source library (bacnet-stack:bacnet-stack). Versions prior to 1.4.5, 1.5.1, and 1.6.0 are vulnerable; these versions parse and store URLs in a fixed‑size array without proper bounds checking. The issue is fixed in releases 1.4.5, 1.5.1, and 1.6.0 and later.

Risk and Exploitability

The CVSS base score of 8.8 reflects a high‑severity attack that could allow remote exploitation if an attacker can send a crafted BACnet/SC Address Resolution ACK message. The EPSS score of 0.00274 (≈0.274%) indicates a very low but non‑zero exploitation probability, and the vulnerability is not listed in CISA KEV. The attack likely requires network access to BACnet devices but could be triggered from any remote host that can transmit a malformed ACK.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade BACnet Stack to version 1.4.5 or later (1.5.1, 1.6.0 or newer) which contains the fix for the buffer overflow.
  • If an upgrade cannot be performed immediately, restrict BACnet/SC Address Resolution ACK traffic to trusted, authenticated sources only by implementing firewall rules or network segmentation to block unsolicited messages.
  • Enable runtime protections such as stack canaries and address space layout randomization (ASLR) in the environment to mitigate the impact of any remaining buffer overflows until a patch is applied.

Generated by OpenCVE AI on November 14, 2026 at 18:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:bacnetstack:bacnet_stack:*:*:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:-:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc1:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc2:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc3:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Bacnetstack
Bacnetstack bacnet Stack
Vendors & Products Bacnetstack
Bacnetstack bacnet Stack
Type Values Removed Values Added
Description 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, the bsc_node_parse_urls() function in src/bacnet/datalink/bsc/bsc-node.c contains three distinct bugs when parsing space-separated WebSocket URIs from a BACnet/SC Address Resolution ACK message. Two bugs cause out-of-bounds writes past the utf8_urls[10][129] array in the static BSC_ADDRESS_RESOLUTION structure. This issue has been patched in versions 1.4.5, 1.5.1, and 1.6.0.
Title BACnet Stack: Buffer overflows in bsc_node_parse_urls() (BACnet/SC Address Resolution ACK URL parser)
Weaknesses CWE-787
References
Metrics cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 16, 2026, 3:40 PM
Reserved
Jun 8, 2026, 6:02 PM
Status
Analyzed
Published
Nov 13, 2026, 4:19 PM
Modified
Dec 1, 2026, 4:48 PM