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.