CVE-2026-46674

BACnet Stack: Out-of-Bounds Read in AtomicWriteFile Record Decoder via Unbounded returnedRecordCount

Published Nov 12, 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.4 and 1.5.1, an out-of-bounds read vulnerability exists in bacnet-stack's AtomicWriteFile record-access path. The bug is caused by a mismatch between an externally controlled returnedRecordCount field and the fixed-size internal fileData[] array used by BACNET_ATOMIC_WRITE_FILE_DATA. This issue has been patched in versions 1.4.4 and 1.5.1.

Analysis

AI-generated

Technical impact

An out-of-bounds read occurs in the AtomicWriteFile record decoder when the externally supplied returnedRecordCount exceeds the fixed-size internal array. This bug allows an attacker to read memory beyond the bounds of the intended buffer, potentially revealing sensitive data or causing a crash. The weakness is defined by CWE-121 and CWE-125 and has a CVSS score of 7.5, indicating a high severity potential for data exposure.

Affected Systems

The vulnerability affects the bacnet-stack open‑source library used in embedded BACnet-enabled devices. All versions prior to 1.4.4 and 1.5.1 are vulnerable. The affected component is the AtomicWriteFile record processing path within the library.

Risk and Exploitability

The EPSS score of less than 1% suggests that exploit attempts are currently rare, and the vulnerability is not listed in CISA’s KEV catalog. Nonetheless, the vulnerability can be leveraged by an attacker who can send crafted BACnet traffic to a device running the vulnerable stack; the out-of-bounds read would be triggered by an unbounded returnedRecordCount value. Given its protocol nature, the likely attack vector is network-based, requiring the attacker to have connectivity to the target’s BACnet port or a gateway that forwards messages to it.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade bacnet-stack to v1.4.4 or later to apply the fixed record decoder.
  • If a direct upgrade is not possible, recompile the stack with the AtomicWriteFile record disabled or add explicit bounds checks to the parser before accessing the internal array.
  • Restrict BACnet traffic from untrusted sources with network segmentation or firewall rules that block or validate returnedRecordCount values to mitigate exposure while a patch is applied.

Generated by OpenCVE AI on November 13, 2026 at 19:32 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': '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.4 and 1.5.1, an out-of-bounds read vulnerability exists in bacnet-stack's AtomicWriteFile record-access path. The bug is caused by a mismatch between an externally controlled returnedRecordCount field and the fixed-size internal fileData[] array used by BACNET_ATOMIC_WRITE_FILE_DATA. This issue has been patched in versions 1.4.4 and 1.5.1.
Title BACnet Stack: Out-of-Bounds Read in AtomicWriteFile Record Decoder via Unbounded returnedRecordCount
Weaknesses CWE-121
CWE-125
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

Sources

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