Technical impact
A stack-based out-of-bounds write occurs when the BACnet stack processes a malicious Atomic-Read-File request in record access mode. An attacker can craft a request that sets an excessively large RecordCount, causing the server to write beyond the bounds of a stack-allocated data structure and invoke a memory corruption via memmove(). This flaw can lead to arbitrary code execution on the affected host, compromising confidentiality, integrity, and availability. The weakness is a classic buffer overflow (CWE-121).
Affected Systems
The vulnerability affects all installations of the bacnet-stack open source protocol library prior to versions 1.4.4 and 1.5.1. This includes older releases such as 1.4.3 and earlier, and 1.5.0 and earlier, which are still deployable in embedded industrial control environments that use BACnet for network communication.
Risk and Exploitability
The CVSS score of 8.2 indicates high severity, and the EPSS score of less than 1% suggests a low current exploitation probability. The flaw is not listed in the CISA KEV catalog, meaning no confirmed exploit samples are publicly linked yet. The likely attack vector is network-based: a remote adversary can send a specially crafted Atomic-Read-File packet to the BACnet server. The bug is triggered on the server side, requiring the attacker to have network connectivity to the vulnerable device. If exploited, it would allow remote code execution or potentially a denial‑of‑service condition.