Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker controls or spoofs malicious BACnet server
-
DeliveryVictim client initiates AtomicReadFile request
-
ExploitServer returns ACK with inflated returnedRecordCount
-
ExecutionDecoder preserves count beyond fileData[] capacity
-
PersistDownstream sink indexes fileData[i] out of bounds
-
ImpactStack over-read crashes client (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the vulnerable side to act as a BACnet CLIENT/initiator that issues an AtomicReadFile request and then decodes and consumes the AtomicReadFile-ACK via the record-access path (arf_ack_decode_service_request → bacfile_read_ack_record_data → the record-data sink, e.g. ports/posix/bacfile-posix.c). The attacker must supply the ACK - i.e. operate a malicious or compromised BACnet server, or sit in-path on the BACnet network - and return a returnedRecordCount larger than the compile-time BACNET_READ_FILE_RECORD_COUNT (default 1) so the preserved count overruns fileData[]. Limiting factors: this is strictly client-side, so a device that only answers requests is not exposed; the deployment must actually exercise the AtomicReadFile client path and feed the decoded structure to the record-data callback/sink; and the victim must initiate the transaction (UI:R). No attacker authentication is indicated by the vector (PR:N), but the attacker does need to be the responding peer for the client's own request. |
| Impact | This is a medium-severity (CVSS 6.5) client-side memory-safety flaw whose real-world risk is moderate and bounded. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H shows a network-reachable, low-complexity issue with no attacker authentication, but UI:R correctly captures that the vulnerable code only executes after the victim's BACnet CLIENT initiates an AtomicReadFile transaction and processes the returned ACK - it is not a passively exploitable listening service. Impact is availability-only (C:N/I:N/A:H): a stack out-of-bounds read that crashes the client process (DoS); the reporter notes that because the overread bytes are passed to the fwrite sink, adjacent stack memory could be written into the output file, so the 'Information Disclosure' tag is plausible but the confirmed, reproduced impact is a crash. No EPSS score and no CISA KEV status are present in the input, and there is no indication of active exploitation; the vuln.today Decision label is 'this_month' (a routine patch-cycle priority, not act_now/emergency). A proof-of-concept is described in the GHSA advisory (minimal harness plus AddressSanitizer stack-buffer-overflow trace), confirming the bug is real and reachable in repository code, but the reporter explicitly cautions that practical exploitability 'depends on whether a real deployment exposes this client-side ACK path with the required transaction and object state.' Net: a genuine but non-urgent fix - patch on the normal maintenance cycle rather than as an emergency. |
| Exploit ScenarioDerived | A BACnet client built on bacnet-stack (<= 1.5.0) issues an AtomicReadFile request to a BACnet server; a malicious, compromised, or spoofed server (or a man-in-the-middle on the BACnet network) returns an AtomicReadFile-ACK whose returnedRecordCount exceeds the fixed local fileData[] capacity (default capacity 1). The decoder preserves the inflated count without truncation, and bacfile_read_ack_record_data() then iterates past the array, producing a stack out-of-bounds read that crashes the client. A public PoC reference (harness description plus AddressSanitizer output) exists in the advisory, but it is not verified as drop-in working exploit code; given AV:N/AC:L the main barrier is simply that the victim must initiate the file-read transaction (UI:R). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
Client-side out-of-bounds read in BACnet Stack's AtomicReadFile-ACK record-access handling can crash a BACnet client that decodes and consumes an ACK with an oversized returnedRecordCount. Releases before 1.4.4 and 1.5.1 are affected; the attacker must act as the responding BACnet server or be in-path, and the victim client must initiate the AtomicReadFile transaction (UI:R). The assessed impact is availability-only (CVSS 6.5, C:N/I:N/A:H); no confirmed active exploitation is reported, but a public proof-of-concept harness exists.
RemediationAI
Apply the vendor patch by upgrading to bacnet-stack 1.4.4 or 1.5.1; see GHSA-rv5h-cxwq-q3mh and PR #1344. The fix rejects an ACK when returnedRecordCount exceeds BACNET_READ_FILE_RECORD_COUNT in arf_ack_decode_service_request(), validates RecordCount before iterating fileData[] in bacfile_read_ack_record_data(), and bounds record encoding. If immediate upgrade is not possible, backport those checks or avoid running the client-side AtomicReadFile-ACK record-access path against untrusted BACnet servers or in-path peers, accepting reduced file-transfer functionality until the code is patched.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
BACnet Stack is a C protocol library for BACnet embedded and client applications. BACNET_ATOMIC_READ_FILE_DATA stores records in a fixed fileData[BACNET_READ_FILE_RECORD_COUNT] array (default count 1). In arf_ack_decode_service_request(), the peer-supplied returnedRecordCount is preserved in data->type.record.RecordCount even after the decoder stops storing excess records by using a NULL destination, and no error is returned; CWE-130 length/count inconsistency leads to CWE-125 out-of-bounds read. The client-side sink bacfile_read_ack_record_data() then trusts RecordCount and iterates fileData[i], so a value above BACNET_READ_FILE_RECORD_COUNT causes an OOB read that can propagate into record-data backends such as ports/posix/bacfile-posix.c. The vulnerable path is specifically the BACnet client/initiator consuming an AtomicReadFile-ACK; devices that only answer requests are not exposed.
Know when Bacnet Stack gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Client initiates the read (UI:R) against an attacker-controlled responding peer over the network with no auth (AV:N/AC:L/PR:N); confirmed impact is a crash only, so C:N/I:N/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorNVD
Lifecycle Timeline
1DescriptionNVD
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 client-side out-of-bounds read in the AtomicReadFile-ACK record-access handling path. The issue is caused by a mismatch between a remote returnedRecordCount value and the fixed local fileData[] array capacity in BACNET_ATOMIC_READ_FILE_DATA. The ACK decode path preserves the remote RecordCount, discards storage for excess records without truncating that count, and a downstream sink later iterates over the original RecordCount and indexes fileData[i] out of bounds. This issue has been patched in versions 1.4.4 and 1.5.1.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Bacnet Stack
View allUnauthenticated remote attackers can crash BACnet Stack prior to versions 1.5.0rc4 and 1.4.3rc2 by sending a malformed W
BACnet Protocol Stack library provides a BACnet application layer, network layer and media access (MAC) layer communicat
BACnet Stack is a BACnet open source protocol stack C library for embedded systems. [CVSS 7.5 HIGH]
The BACnet Protocol Stack library versions 1.4.2 and earlier contain an off-by-one buffer overflow in the ubasic interpr
Out-of-bounds writes in the BACnet/SC Address Resolution ACK URL parser of the BACnet Stack C library let an authenticat
An out-of-bounds write in the BACnet MS/TP COBS receive path of the bacnet-stack C library lets an attacker who can plac
Heap out-of-bounds read in the RAMFS-backed FILE object of BACnet Stack (bacnet-stack) 1.5.0 and earlier allows an unaut
A single malformed BACnet/IP WriteProperty request can lock the official bacnet-stack demo server in a non-terminating r
Remote attackers can crash BACnet Stack-powered embedded devices (versions prior to 1.4.3) by sending malformed ReadProp
Remote denial of service in BACnet Stack library versions before 1.4.3 allows unauthenticated attackers to crash embedde
Out-of-bounds read in BACnet Stack library versions before 1.4.3 allows unauthenticated remote attackers to crash embedd
Remote unauthenticated denial of service in BACnet Stack before 1.6.1 allows one BACnet/IP WriteProperty request to forc
EUVD-2026-124661
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB