CVE-2026-46677

BACnet Stack: Client-Side Out-of-Bounds Read in AtomicReadFile-ACK Record-Access Handling via RecordCount / fileData[] Mismatch

Published Nov 12, 2026 CVSS 3.1 · 6.5 Medium 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.4 and 1.5.1, there is a client-side out-of-bounds read in the AtomicReadFile-ACK record-access handling path. The issue is caused by a mismatch between a remote returnedRecordCount value and the fixed local fileData[] array capacity in BACNET_ATOMIC_READ_FILE_DATA. The ACK decode path preserves the remote RecordCount, discards storage for excess records without truncating that count, and a downstream sink later iterates over the original RecordCount and indexes fileData[i] out of bounds. This issue has been patched in versions 1.4.4 and 1.5.1.

Analysis

AI-generated

Technical impact

The vulnerability is an out‑of‑bounds read that occurs in the client during the AtomicReadFile ACK decoding path. A mismatch between the remote RecordCount reported by the server and the local array capacity causes code to index past the end of the buffer. The read may expose unintended memory contents or cause a crash, potentially leading to information disclosure or denial of service for the affected process. This weakness is classified as CWE-125 and CWE-130.

Affected Systems

The affected product is the BACnet Stack open source protocol library, specifically versions prior to 1.4.4 and 1.5.1. These versions are used in embedded systems that implement BACnet client functionality.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity. The EPSS score is reported as less than 1%, suggesting a low observed exploitation probability at this time, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote: an attacker can send a crafted AtomicReadFile ACK message with a manipulated RecordCount to a BACnet client, causing the client to read beyond its buffer. Successful exploitation would require network access to the BACnet client and the ability to influence the server response.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to BACnet Stack version 1.4.4 or later 1.5.1, which includes the patch for the out‑of‑bounds read.
  • If an upgrade cannot be performed immediately, isolate the BACnet client on a network segment that is only reachable by trusted BACnet servers and block unsolicited BACnet traffic from unknown sources using firewall or ACL rules.
  • Deploy application‑level checks to validate that the RecordCount received in an ACK does not exceed the expected size before processing the array, thereby preventing the out‑of‑bounds access in the absence of a patch.

Generated by OpenCVE AI on November 13, 2026 at 19:31 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:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', '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.4 and 1.5.1, there is a client-side out-of-bounds read in the AtomicReadFile-ACK record-access handling path. The issue is caused by a mismatch between a remote returnedRecordCount value and the fixed local fileData[] array capacity in BACNET_ATOMIC_READ_FILE_DATA. The ACK decode path preserves the remote RecordCount, discards storage for excess records without truncating that count, and a downstream sink later iterates over the original RecordCount and indexes fileData[i] out of bounds. This issue has been patched in versions 1.4.4 and 1.5.1.
Title BACnet Stack: Client-Side Out-of-Bounds Read in AtomicReadFile-ACK Record-Access Handling via RecordCount / fileData[] Mismatch
Weaknesses CWE-125
CWE-130
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-130

    Improper Handling of Length Parameter Inconsistency

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 13, 2026, 4:27 PM
Reserved
May 15, 2026, 9:46 PM
Status
Analyzed
Published
Nov 12, 2026, 8:18 PM
Modified
Dec 1, 2026, 10:44 PM