Skip to main content

BACnet Stack EUVDEUVD-2026-125531

| CVE-2026-49990 HIGH
Out-of-bounds Read (CWE-125)
2026-11-13 GitHub_M
8.6
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 service
  2. Delivery
    Send crafted AtomicWriteFile request
  3. Exploit
    Supply negative signed fileStartPosition
  4. Execution
    Pass unvalidated offset to RAM backend
  5. Persist
    Out-of-bounds heap write arithmetic
  6. Impact
    Corrupt heap or crash process

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 target firmware/build to implement a BACnet File object and use the vulnerable RAM file backend (src/bacnet/basic/sys/bramfs.c or bsramfs.c) that processes AtomicReadFile/AtomicWriteFile stream-access requests; the attacker must be able to send these APDUs to the device's BACnet/IP (or other datalink) interface. No authentication or user interaction is needed (PR:N/UI:N), and default BACnet deployments typically do not authenticate requests. The concrete trigger is a signed fileStartPosition outside valid bounds - negative values (e.g. -8 for OOB read, -2 below -1 for OOB write) or an oversized positive value (INT_MAX/2 causing negative-size memcpy underflow). The primary LIMITING factor is the backend: builds not using the RAM file backend path are not reachable via this flaw, which materially narrows real-world exposure below what the raw 8.6 score implies.

Impact

This is a credible, above-average-priority issue but not a drop-everything emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated flaw, and BACnet/IP services are commonly exposed without authentication, which supports the 8.6 score and the vuln.today 'this_week' decision label. Impact is split across all three memory-safety outcomes: a reliable process crash (A:H), out-of-bounds read of adjacent memory (C:L), and out-of-bounds heap write (I:L). A detailed public proof-of-concept is present in the GHSA advisory, demonstrating the crash/OOB conditions under ASAN both at the RAM backend and via the real BACnet/IP dispatch path, so exploitability is well-evidenced rather than theoretical. However, two signals temper the raw score: the advisory explicitly states impact 'depends on whether the target build uses the vulnerable RAM file backend path' (bramfs/bsramfs), so reachability is deployment-specific, not universal. No CISA KEV listing is present, so this is NOT confirmed actively exploited, and no EPSS score was supplied, so widespread automated exploitation cannot be inferred from the data. Net: treat as a prioritized patch for exposed BACnet devices using the RAM file backend, with the main realistic outcome being denial of service and possible memory disclosure.

Exploit ScenarioDerived

An unauthenticated attacker with network access to a BACnet/IP device sends a crafted AtomicReadFile or AtomicWriteFile stream request carrying a malicious signed fileStartPosition (e.g. -8, -2, or INT_MAX/2). On builds using the RAM file backend, the unvalidated offset reaches pointer/size arithmetic, causing an out-of-bounds read (memory disclosure), a negative-size memcpy, or an out-of-bounds heap write that crashes or destabilizes the process. A working public PoC in the GHSA advisory reproduces all three cases.

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

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

Alert me

AnalysisAIv1 – Nov 13, 2026

Out-of-bounds memory access in the BACnet Stack C library (versions 1.4.2 through 1.4.4 and 1.5.0) allows remote attackers to send crafted AtomicReadFile and AtomicWriteFile stream-access APDUs whose signed fileStartPosition is not validated tightly enough before it reaches the RAM file backends, yielding heap-buffer-overflow reads, a negative-size memcpy() underflow, and heap-buffer-overflow writes. Because the APDUs are handled without authentication or user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:N), any device exposing a BACnet File object on the vulnerable backend is exposed, though builds that do not use the bramfs.c or bsramfs.c RAM file backends are not reachable through this flaw, which narrows real-world exposure below the raw 8.6 score. The most reliable outcome where the path is reachable is a process crash (denial of service), with adjacent-memory disclosure and heap corruption as additional possibilities; the upstream advisory publishes a working ASAN reproducer, the CVE is not listed in CISA KEV, and no active exploitation has been reported.

RemediationAI

Vendor-released patch: upgrade to bacnet-stack 1.4.5 (fixes the 1.4.2-to-before-1.4.5 range) or 1.5.1 (fixes the 1.5.0-to-before-1.5.1 range); the proposed fix and focused regression tests are contained in PR #1362 at https://github.com/bacnet-stack/bacnet-stack/pull/1362, and the advisory is at https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-8759-hx7g-94qx. The fix enforces in bacfile.c that a stream fileStartPosition is non-negative and less than the reported file size before invoking the backend callback, adds equivalent checks and a corrected append condition in ports/posix/bacfile-posix.c, and adds lower-bound validation for record-access offsets. The advisory does not document a workaround, so updating the library and rebuilding affected firmware is the complete fix; deployments that cannot update immediately should note that the flaw is only reachable when a BACnet File object is served by the bramfs.c or bsramfs.c RAM file backends, so disabling or removing that file-object/backend configuration removes the attack path, at the cost of losing AtomicReadFile/AtomicWriteFile stream service on those devices.

Affected VersionsENISA

bacnet-stack 1.4.2, < 1.4.5
bacnet-stack 1.5.0, < 1.5.1

Affected Packages

euvd bacnet_stack fix: 1.4.5, 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 is an ASHRAE/ISO building-automation protocol, and bacnet-stack is a portable C implementation used in embedded field devices and controllers. The File object supports two access modes: record access and stream access; in stream access, the AtomicReadFile and AtomicWriteFile confirmed-service requests carry a fileStartPosition encoded as a signed 32-bit integer, where the special value -1 conventionally means append for write operations. In the vulnerable code, src/bacnet/arf.c and src/bacnet/awf.c decode the signed offset, src/bacnet/basic/service/h_arf.c and h_awf.c forward it, and src/bacnet/basic/object/bacfile.c passes it to backend callbacks without sufficient lower-bound validation; src/bacnet/basic/sys/bramfs.c and bsramfs.c then use the signed value directly in pointer and size arithmetic. That maps to CWE-125 (out-of-bounds read) as the primary class with a companion CWE-787 (out-of-bounds write): a negative read offset produces an out-of-bounds read, an oversized positive read offset (for example INT_MAX/2) produces a negative-size underflow passed to memcpy(), and a write offset below -1 produces an out-of-bounds heap write. The upstream fix adds range validation in bacfile.c (position >= 0 and position < file_size before invoking the read callback) and matching bounds checks plus a corrected append condition in the POSIX file backend, and the same commit hardens the record-access path with fileStartRecord bounds checks. The trigger is precisely a malformed signed stream offset; no further protocol preconditions beyond reaching the service handler are described in the available sources.

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 8.6 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
vuln.today AI 8.6 HIGH

Unauthenticated network BACnet request with a trivial malformed offset triggers the bug (AV:N/AC:L/PR:N/UI:N); dominant outcome is process crash (A:H) with limited memory read/heap corruption (C:L/I:L).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/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
Low
Integrity
Low
Availability
High

Lifecycle Timeline

2
Patch available
Nov 13, 2026 - 17:19 EUVD
CVE Published
Nov 13, 2026 - 15:54 cve.org
HIGH 8.6

DescriptionCVE.org

BACnet Stack is a BACnet open source protocol stack C library for embedded systems. From versions 1.4.2 to before 1.4.5, and 1.5.0 to before 1.5.1, a signed fileStartPosition taken from AtomicReadFile and AtomicWriteFile stream-access requests is not validated tightly enough before it reaches the RAM file backends. Practical impact includes: reliable denial of service via process crash, out-of-bounds read that may expose adjacent memory contents, or out-of-bounds write that may corrupt heap memory and destabilize the process. This issue has been patched in versions 1.4.5 and 1.5.1.

Technical POC Analysis

CWE-125 (out-of-bounds read), with CWE-787 (out-of-bounds write) as the write-side companion.

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

A high-severity flaw in the widely used BACnet Stack C library exposes building-automation and industrial control devices that expose BACnet File objects on RAM file backends to unauthenticated remote attacks. Successful exploitation can crash affected devices and may corrupt or leak adjacent memory, threatening the availability of building control systems and, in the worst case, enabling further compromise. Leadership should care because remediation depends on dependent product vendors rather than a single patch, and exposure spans facilities relying on BACnet-connected equipment.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: block or restrict BACnet traffic (UDP 47808) to trusted segments; disable BACnet File object services or avoid the bramfs.c and bsramfs.c RAM file backends where feasible; monitor for process crashes and anomalous AtomicReadFile/AtomicWriteFile APDUs; track upstream and device-vendor advisories for fixes.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Low
niche building-automation/embedded BACnet library, limited to BAS/ICS deployments
Data Quality
6 sources
Confidence: High

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.3%
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

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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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