CVE-2026-45265: high-severity vulnerability in bacnet-stack
Atomic-Read-File RecordCount Stack-Based Out-of-Bounds Write in bacnet-stack
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.2epss 0.3%
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Affected products
bacnet-stack · bacnet-stackRelated CVEs — bacnet-stack
In the same product, most dangerous first.
CVE-2026-47217HIGHBACnet Stack: Channel member self-reference causes uncontrolled recursion and stack overflow in default BACnet/IP serverEPSS 0.5%CVE-2026-41475HIGHBACnet Stack: Out-of-Bounds Read in WritePropertyMultiple Decoder via Deprecated Tag ParserEPSS 0.5%CVE-2026-64675MEDIUMBACnet Stack: Pre-auth OOB read in xy_color_decode (BACnetXYColor) via WriteGroup/WritePropertyEPSS 0.5%CVE-2025-66624HIGHBACnet-stack MS/TP reply matcher OOB readEPSS 0.4%CVE-2026-52787HIGHBACnet Stack: Global APDU transmit buffer out-of-bounds write in device.address-binding response encoding via address_list_encode()EPSS 0.4%CVE-2026-49341HIGHBACnet Stack: Uncontrolled recursion in Timer object writeback path leads to remote server stack overflowEPSS 0.4%