CVE-2026-45265

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 stack-based out-of-bounds write / stack-buffer-overflow in bacnet-stack when the server processes a malicious Atomic-Read-File request in record access mode. The bug is triggered on the real server side. A crafted request can set an excessively large RecordCount, which is later used as the loop bound for writing record data into a stack-allocated BACNET_ATOMIC_READ_FILE_DATA data structure. However, the stack object only has space for one fileData element. When the loop reaches i = 1, the code computes &data->fileData[1], which is already out of bounds, and the resulting invalid pointer is passed down to memmove(), causing a stack-buffer-overflow. This issue has been patched in versions 1.4.4 and 1.5.1.
Configurations

Configuration 1 (hide)

OR 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:*:*:*:*:*:*

History

01 Dec 2026, 23:18

Type Values Removed Values Added
References () https://github.com/bacnet-stack/bacnet-stack/pull/1340 - () https://github.com/bacnet-stack/bacnet-stack/pull/1340 - Patch
References () https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-v3gx-mwrp-xvh5 - () https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-v3gx-mwrp-xvh5 - Exploit, Mitigation, Vendor Advisory
CPE cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc1:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc3:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:-:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:*:*:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc2:*:*:*:*:*:*
First Time Bacnetstack
Bacnetstack bacnet Stack

12 Nov 2026, 20:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-12 20:18

Updated : 2026-12-01 23:18


NVD link : CVE-2026-45265

Mitre link : CVE-2026-45265

CVE.ORG link : CVE-2026-45265


JSON object : View

Products Affected

bacnetstack

  • bacnet_stack
CWE
CWE-121

Stack-based Buffer Overflow