Skip to main content

BACnet Stack CVE-2026-46677

| EUVDEUVD-2026-124661 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-12 GitHub_M
6.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Attacker controls or spoofs malicious BACnet server
  2. Delivery
    Victim client initiates AtomicReadFile request
  3. Exploit
    Server returns ACK with inflated returnedRecordCount
  4. Execution
    Decoder preserves count beyond fileData[] capacity
  5. Persist
    Downstream sink indexes fileData[i] out of bounds
  6. Impact
    Stack 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).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

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

bacnet-stack < 1.4.4
bacnet-stack < 1.5.1

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

Vendor (GitHub_M) PRIMARY MEDIUM
NVD 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

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.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorNVD

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

Lifecycle Timeline

1
Patch available
Nov 12, 2026 - 21:02 EUVD

DescriptionNVD

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

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
widely-used open-source BACnet C library, building-automation/embedded sector only
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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