CVE-2026-49990

BACnet Stack: AtomicReadFile/AtomicWriteFile stream fileStartPosition validation flaw causes out-of-bounds read/write in RAM file backends

Published Nov 13, 2026 CVSS 3.1 · 8.6 High EPSS < 1% KEV · Not listed
Description
BACnet Stack is a BACnet open source protocol stack C library for embedded systems. From versions 1.4.2 to before 1.4.5, and 1.5.0 to before 1.5.1, a signed fileStartPosition taken from AtomicReadFile and AtomicWriteFile stream-access requests is not validated tightly enough before it reaches the RAM file backends. Practical impact includes: reliable denial of service via process crash, out-of-bounds read that may expose adjacent memory contents, or out-of-bounds write that may corrupt heap memory and destabilize the process. This issue has been patched in versions 1.4.5 and 1.5.1.

Analysis

AI-generated

Technical impact

The flaw arises from inadequate validation of the signed fileStartPosition parameter supplied in BACnet AtomicReadFile and AtomicWriteFile stream‑access requests. Because the value is not checked against the bounds of the in‑memory file representation, an attacker can supply a position that lies outside the allocated buffer. The result is an out‑of‑bounds read that may expose adjacent memory or an out‑of‑bounds write that can corrupt heap memory, destabilize the process, or trigger a crash. This weakness aligns with CWE-125: Out‑of‑Bounds Read and CWE-787: Out‑of‑Bounds Write.

Affected Systems

Affected builds are the open‑source BACnet Stack library managed by the bacnet‑stack project. Versions from 1.4.2 up to, but not including, 1.4.5 and from 1.5.0 up to, but not including, 1.5.1 contain the vulnerability. The issue was addressed in 1.4.5 and 1.5.1, so any deployment using those or later releases is no longer vulnerable.

Risk and Exploitability

The CVSS score of 8.6 denotes high severity. The EPSS score is < 1%, indicating a low but nonzero probability of exploitation. The absence of a KEV listing suggests no large‑scale exploitation has been observed. The vulnerability can be triggered by any BACnet client that issues AtomicReadFile or AtomicWriteFile stream‑access requests with a malicious fileStartPosition, so the attack vector is likely remote via the BACnet network. A failing process would result in a denial of service and could expose sensitive memory contents if an out‑of‑bounds read is achieved.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the BACnet Stack library to version 1.4.5 or later and to 1.5.1 or later for all affected installations.
  • If the application does not require stream‑based file access, disable AtomicReadFile and AtomicWriteFile functions in the BACnet configuration or remove them from the build.
  • Configure monitoring of BACnet traffic for abnormal fileStartPosition values and set alerts for process crashes to detect exploitation attempts.

Generated by OpenCVE AI on November 14, 2026 at 18:17 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. From versions 1.4.2 to before 1.4.5, and 1.5.0 to before 1.5.1, a signed fileStartPosition taken from AtomicReadFile and AtomicWriteFile stream-access requests is not validated tightly enough before it reaches the RAM file backends. Practical impact includes: reliable denial of service via process crash, out-of-bounds read that may expose adjacent memory contents, or out-of-bounds write that may corrupt heap memory and destabilize the process. This issue has been patched in versions 1.4.5 and 1.5.1.
Title BACnet Stack: AtomicReadFile/AtomicWriteFile stream fileStartPosition validation flaw causes out-of-bounds read/write in RAM file backends
Weaknesses CWE-125
CWE-787
References
Metrics cvssV3_1

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 13, 2026, 9:07 PM
Reserved
Jun 2, 2026, 6:30 PM
Status
Analyzed
Published
Nov 13, 2026, 4:19 PM
Modified
Dec 1, 2026, 4:48 PM