CVE-2026-100403

BACnet Stack: BACnet/SC hub grows its WebSocket reassembly buffer without limit, so a peer can exhaust its memory

Published Nov 13, 2026 CVSS 3.1 · 7.5 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.6, 1.5.2, and 1.6.1, the BACnet/SC hub's Linux WebSocket server reassembles fragmented WebSocket messages into a per-connection fragment_buffer. It grows that buffer with realloc() on every non-final frame, with no upper bound. A peer that streams binary continuation fragments and never sets FIN keeps the hub reallocating until the box runs out of memory or the process is OOM-killed. The buffer starts at the maximum legal BVLC-SC NPDU size, but nothing after that ties its growth back to that limit. This issue has been patched in versions 1.4.6, 1.5.2, 1.6.1, and 1.7.0.

Analysis

AI-generated

Technical impact

The BACnet/SC hub’s WebSocket server reassembles fragmented messages into a per-connection buffer that expands with each non-final frame. Before the stack reached version 1.4.6 (and the corresponding bug‑fixed releases 1.5.2, 1.6.1, 1.7.0), the code used realloc() without an upper bound, so an attacker could send an endless stream of continuation frames and keep the server reallocating until memory was exhausted or the process was killed by the OOM killer. This denial‑of‑service condition directly impacts confidentiality, integrity and availability by allowing a remote peer to consume all available memory for the target system.

Affected Systems

The vulnerable component is the open‑source bacnet‑stack project. Versions older than 1.4.6, 1.5.2, 1.6.1 and 1.7.0 are affected; these releases include the unbounded buffer growth in the Linux WebSocket server. The issue has been patched in the quoted releases and later versions.

Risk and Exploitability

Based on the description, it is inferred that an attacker can connect to the BACnet/SC hub via a WebSocket and stream continuous binary fragments that never set the FIN flag. The vulnerability has a CVSS score of 7.5, indicating a high impact level. EPSS data is unavailable, but the lack of an upper bound and the ability to trigger an out‑of‑memory condition suggest a realistic exploitation probability when the target is reachable over the network. The vulnerability is not listed in CISA’s KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade bacnet‑stack to version 1.4.6, 1.5.2, 1.6.1, 1.7.0 or any later release that contains the buffer‑limit fix.
  • If an immediate upgrade is not possible, enforce firewall or proxy rules that block or limit WebSocket connections from untrusted hosts and reject fragmented messages that exceed a configured size.
  • Configure operating‑system memory quotas or enable OOM protection on the BACnet/SC hub process to contain the impact of residual buffer growth until the patch can be applied.

Generated by OpenCVE AI on November 14, 2026 at 11:46 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.6.0:-:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:1.6.0:rc1:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', '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.6, 1.5.2, and 1.6.1, the BACnet/SC hub's Linux WebSocket server reassembles fragmented WebSocket messages into a per-connection fragment_buffer. It grows that buffer with realloc() on every non-final frame, with no upper bound. A peer that streams binary continuation fragments and never sets FIN keeps the hub reallocating until the box runs out of memory or the process is OOM-killed. The buffer starts at the maximum legal BVLC-SC NPDU size, but nothing after that ties its growth back to that limit. This issue has been patched in versions 1.4.6, 1.5.2, 1.6.1, and 1.7.0.
Title BACnet Stack: BACnet/SC hub grows its WebSocket reassembly buffer without limit, so a peer can exhaust its memory
Weaknesses CWE-400
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 18, 2026, 4:05 AM
Reserved
Sep 25, 2026, 8:08 PM
Status
Analyzed
Published
Nov 13, 2026, 7:17 PM
Modified
Dec 3, 2026, 4:29 PM