Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed BACnet/IP AtomicWriteFile service
-
DeliverySend crafted AWF request with oversized returnedRecordCount
-
ExploitDecoder preserves count beyond fixed fileData[] array
-
ExecutionConsumer iterates past stack buffer (out-of-bounds read)
-
ImpactProcess crash / denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target device expose the BACnet AtomicWriteFile confirmed service AND that a request use the record-access variant (FILE_RECORD_ACCESS) so bacfile_write_record_data() iterates fileData[]; the bug triggers when the attacker supplies a returnedRecordCount exceeding BACNET_WRITE_FILE_RECORD_COUNT (default 1). No authentication is required - per CVSS PR:N and the advisory, the path is reachable before authentication in the normal BACnet dispatch flow, with no user interaction. LIMITING FACTORS: the AtomicWriteFile handler and its record-access path must be enabled/compiled into the deployment, and the device must be network-reachable (BACnet/IP) to the attacker; impact is limited to denial of service (availability), not data disclosure or code execution based on the evidence. The only complete fix stated by the vendor is updating to 1.4.4 or 1.5.1. |
| Impact | This is a genuine but bounded risk. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) describes a network-reachable, low-complexity, pre-authentication trigger, and the advisory confirms the AtomicWriteFile handler is reachable before authentication in the normal BACnet service dispatch flow - so the attack surface is real for any exposed device. However, impact is strictly availability (C:N/I:N/A:H): this is an out-of-bounds READ of a stack-allocated object (CWE-125/CWE-121), and the reporter observed only process crash/denial of service plus undefined behavior, with no demonstrated information disclosure or code execution. The vuln.today decision label is 'this_week' (prioritize but not an emergency), which is consistent with the absence of KEV listing. No EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be quantified here - STATE EXPLICITLY: EPSS is missing from the available data. No CISA KEV entry is present, so this is not confirmed as actively exploited. A reproduction harness using AddressSanitizer is described in the GHSA advisory by the reporter, but no weaponized remote exploit is published. Net: a real, patch-worthy network-facing DoS in OT/building-automation gear, not a high-CVSS-but-illusory issue, yet materially lower urgency than an RCE because impact is confined to availability and exploitation depends on the AtomicWriteFile record-access path being enabled. |
| Exploit ScenarioDerived | An attacker with network reachability to a BACnet/IP device running the vulnerable bacnet-stack sends a single crafted AtomicWriteFile confirmed-service request in record-access mode with a returnedRecordCount larger than the fixed fileData[] capacity (default 1). The consumer path then iterates past the single-element array on the stack, producing an out-of-bounds read that crashes the service. A public PoC reference exists (an ASan reproduction harness described in the GHSA advisory); it is not verified as working remote exploit code. Because the vector is AV:N/AC:L/PR:N, no authentication or user interaction is required once the service is exposed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
Out-of-bounds read in the BACnet Stack C library's AtomicWriteFile record-access path lets a remote, unauthenticated attacker crash or destabilize a BACnet/IP device by sending a crafted AtomicWriteFile request whose returnedRecordCount exceeds the library's fixed one-element fileData[] buffer. All releases up to and including 1.5.0 are affected; the vendor has patched versions 1.4.4 and 1.5.1, and exploitation additionally requires that the AtomicWriteFile confirmed service (record-access variant) be compiled in and network-reachable. Impact is confined to availability (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) with no disclosure or code execution demonstrated; the advisory includes a proof-of-concept reference - an AddressSanitizer harness reproducing the stack-buffer-overflow - which is not verified as working exploit code, and there is no CISA KEV listing or public exploit identified at time of analysis. This is a genuine but bounded risk: pre-authentication denial of service against exposed building-automation endpoints, prioritized this_week.
RemediationAI
Vendor-released patch: update to bacnet-stack 1.4.4 (for 1.4.x deployments) or 1.5.1 (for 1.5.x deployments); the vendor states that updating is the only complete fix, and no patched version exists between 1.5.0 and 1.5.1. Advisory details and fix references are at https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-8384-pwhh-cxjh and https://github.com/bacnet-stack/bacnet-stack/pull/1344. Where upgrading cannot be done immediately, reduce exposure by ensuring the AtomicWriteFile confirmed service handler is not enabled or compiled into the device image where file-write service support is unnecessary - the trade-off is loss of AtomicWriteFile functionality for that device and a rebuild of the firmware image. In addition, restrict BACnet/IP reachability to trusted building-automation segments with firewalls or ACLs so only known controllers can reach the BACnet port, accepting the trade-off that legitimate remote supervisory traffic must be re-routed through allowed paths. Deployments relying on custom values of BACNET_WRITE_FILE_RECORD_COUNT remain dependent on the decode-side and consumer-side validation delivered in the fixed releases.
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_ATOMIC_WRITE_FILE_DATA in src/bacnet/awf.h stores the attacker-supplied record count and the record payloads in the same structure, with fileData[] sized by BACNET_WRITE_FILE_RECORD_COUNT, which defaults to 1. awf_decode_service_request() in src/bacnet/awf.c decodes the externally controlled returnedRecordCount directly into data->type.record.returnedRecordCount; once the loop index reaches the array capacity it stops storing further octet strings by setting the decode destination to NULL, but it neither rejects the request nor clamps the count. The consumer side then trusts the oversized count: handler_atomic_write_file() in src/bacnet/basic/service/h_awf.c stack-allocates BACNET_ATOMIC_WRITE_FILE_DATA and, in the FILE_RECORD_ACCESS branch, passes it to bacfile_write_record_data() in src/bacnet/basic/object/bacfile.c, which iterates data->fileData[i] up to the unvalidated count. The documented sanitizer trace shows returnedRecordCount = 2 against a capacity of 1, with the first invalid read of size 8 in octetstring_length() (bacstr.c) reached from bacfile_write_record_data(). The defect is a producer/consumer inconsistency - the bound is enforced only when writing records during decode, not when reading them during processing - classified as CWE-125 out-of-bounds read with CWE-121 stack-based buffer overflow characteristics. It is explicitly distinct from the earlier AtomicReadFile RecordCount issue addressed by PR #1340; the advisory notes the AtomicWriteFile path lacked the corresponding handler-side bounds check, and the supplied PR #1344 diff shows decode-side initialization hardening (octetstring_init on the decode targets) and the ARF record-count clamping, with the library-level fix shipped in versions 1.4.4 and 1.5.1.
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:N/S:U/C:N/I:N/A:H
Pre-auth network-reachable AtomicWriteFile handler (AV:N/AC:L/PR:N/UI:N) with an out-of-bounds read causing crash/DoS only, so C:N/I:N and A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to versions 1.4.4 and 1.5.1, an out-of-bounds read vulnerability exists in bacnet-stack's AtomicWriteFile record-access path. The bug is caused by a mismatch between an externally controlled returnedRecordCount field and the fixed-size internal fileData[] array used by BACNET_ATOMIC_WRITE_FILE_DATA. This issue has been patched in versions 1.4.4 and 1.5.1.
Technical POC Analysis
The flaw is a producer/consumer bounds mismatch in the AtomicWriteFile record-access path of the bacnet-stack C library.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-46674 is a high-severity denial-of-service vulnerability in the BACnet Stack C library, affecting building automation and industrial control systems that expose the AtomicWriteFile service. A remote, unauthenticated attacker could crash or destabilize devices, disrupting availability of critical infrastructure. Leadership should prioritize patching because operational downtime can impact safety, production, and service delivery.
Apply vendor patch (versions 1.4.4 or 1.5.1). If patching is delayed, disable the AtomicWriteFile record-access service or restrict network access to trusted hosts.
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.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
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-124658
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB