Skip to main content

BACnet Stack EUVDEUVD-2026-124658

| CVE-2026-46674 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-11-12 GitHub_M
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed BACnet/IP AtomicWriteFile service
  2. Delivery
    Send crafted AWF request with oversized returnedRecordCount
  3. Exploit
    Decoder preserves count beyond fixed fileData[] array
  4. Execution
    Consumer iterates past stack buffer (out-of-bounds read)
  5. Impact
    Process 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

bacnet-stack < 1.5.1
bacnet-stack < 1.4.4

Affected Packages

euvd bacnet_stack fix: 1.4.4, 1.5.1

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

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Nov 12, 2026 - 21:02 EUVD
CVE Published
Nov 12, 2026 - 20:00 cve.org
HIGH 7.5

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 62% exploitable
Prevalence
Low
open-source BACnet C library for niche building-automation/OT embedded devices
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2026-26264 HIGH POC
8.1 Feb 13

Unauthenticated remote attackers can crash BACnet Stack prior to versions 1.5.0rc4 and 1.4.3rc2 by sending a malformed W

CVE-2025-66624 HIGH POC
7.5 Dec 05

BACnet Protocol Stack library provides a BACnet application layer, network layer and media access (MAC) layer communicat

CVE-2026-21878 HIGH POC
7.5 Feb 13

BACnet Stack is a BACnet open source protocol stack C library for embedded systems. [CVSS 7.5 HIGH]

CVE-2026-21870 MEDIUM POC
5.5 Feb 13

The BACnet Protocol Stack library versions 1.4.2 and earlier contain an off-by-one buffer overflow in the ubasic interpr

CVE-2026-52788 HIGH
8.8 Nov 13

Out-of-bounds writes in the BACnet/SC Address Resolution ACK URL parser of the BACnet Stack C library let an authenticat

CVE-2026-82414 HIGH
8.8 Nov 13

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

CVE-2026-62976 HIGH
8.7 Nov 13

Heap out-of-bounds read in the RAMFS-backed FILE object of BACnet Stack (bacnet-stack) 1.5.0 and earlier allows an unaut

CVE-2026-62974 HIGH
8.7 Nov 13

A single malformed BACnet/IP WriteProperty request can lock the official bacnet-stack demo server in a non-terminating r

CVE-2026-41503 HIGH
8.7 Apr 24

Remote attackers can crash BACnet Stack-powered embedded devices (versions prior to 1.4.3) by sending malformed ReadProp

CVE-2026-41502 HIGH
8.7 Apr 24

Remote denial of service in BACnet Stack library versions before 1.4.3 allows unauthenticated attackers to crash embedde

CVE-2026-41475 HIGH
8.7 Apr 24

Out-of-bounds read in BACnet Stack library versions before 1.4.3 allows unauthenticated remote attackers to crash embedd

CVE-2026-104204 HIGH
8.7 Nov 13

Remote unauthenticated denial of service in BACnet Stack before 1.6.1 allows one BACnet/IP WriteProperty request to forc

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy