Skip to main content

BACnet Stack EUVDEUVD-2026-125714

| CVE-2026-64675 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-13 GitHub_M
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Reach BACnet/IP device on UDP 47808
  2. Exploit
    Send crafted WriteGroup datagram with truncated BACnetXYColor REAL
  3. Execution
    Trigger out-of-bounds read in xy_color_decode
  4. Impact
    Undefined behavior / denial of service on target

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

No special configuration beyond defaults is required: both reachable paths - the UnconfirmedRequest WriteGroup service (0x0A) and Confirmed WriteProperty on a BACnetXYColor-typed property - are default-registered service handlers (apps/server/main.c), and the trigger is a single unauthenticated BACnet/IP UDP datagram to port 47808 with a truncated second REAL in the xy-color value. What limits exploitation: the device must expose BACnet/IP on the network and be running bacnet-stack <= 1.5.0 (1.4.5, 1.5.1, 1.6.0 fix it); the impact is confined to an out-of-bounds read causing undefined behavior / potential DoS of the affected process, with no confidentiality or integrity effect and no code execution demonstrated in the available sources.

Impact

All severity signals converge on a genuine-but-bounded issue. The CVSS vector (AV:N/AC:L/PR:N/UI:N) describes a trivially reachable, remote, unauthenticated, no-interaction trigger - a single UDP datagram to port 47808 - which argues for easy exploitation. However, impact is strictly A:L with C:N and I:N: the GHSA advisory is explicit that this is an out-of-bounds READ whose over-read float is stored into a struct field that is discarded and never returned, so there is no information disclosure; the realistic worst case is undefined behavior or a denial of service on the target process. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with the medium 5.3 score. No EPSS score is present in the input and the CVE is not listed in CISA KEV, so there is no evidence of widespread or active exploitation. A detailed PoC datagram with an ASAN crash trace is published in the GHSA advisory, which lowers the effort to reproduce. Net: a real priority to patch on a normal monthly cycle because it is pre-auth and remotely reachable against default handler configurations, but not an emergency given the ceiling is a single-datagram DoS rather than code execution or data theft.

Exploit ScenarioDerived

An attacker with network reachability to a BACnet/IP device (UDP 47808) sends one crafted UnconfirmedRequest WriteGroup (0x0A) datagram in which the second REAL of the BACnetXYColor value is truncated to its tag byte, causing xy_color_decode() to read past the end of the received datagram. No authentication or user interaction is required, and the advisory publishes the exact 24-byte PoC datagram. The over-read triggers undefined behavior that can crash or disrupt the exposed BACnet service.

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

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

Alert me

AnalysisAIv1 – Nov 13, 2026

An out-of-bounds read in xy_color_decode() (src/bacnet/lighting.c) in the BACnet Stack C library up to and including 1.5.0 lets a single unauthenticated BACnet/IP UDP datagram on port 47808 drive the decoder past the end of the received buffer when the xy-color value carries a truncated second REAL, and both trigger paths - the default-registered UnconfirmedRequest WriteGroup service (0x0A) and Confirmed WriteProperty on a BACnetXYColor-typed property - require no prior authentication or non-default configuration. Because the over-read float is stored in a field that is never returned to the sender, there is no information disclosure or data modification; impact is undefined behavior and possible denial of service against the receiving process, matching the assessed AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (5.3). The vendor shipped fixes in 1.4.5, 1.5.1 and 1.6.0 via PR #1386, the advisory publishes a full 24-byte reproduction datagram and ASAN trace (a public PoC reference exists; it is not verified here as working exploit code), and no CISA KEV entry or confirmed active exploitation is associated with this CVE; priority is this_month.

RemediationAI

Upgrade to bacnet-stack 1.4.5 (1.4.x branch), 1.5.1 (1.5.x branch) or 1.6.0, which bound the second (and defensively the first) bacnet_real_application_decode() call in xy_color_decode() with apdu_size - apdu_len instead of apdu_size; the one-line correction is published in PR #1386 (https://github.com/bacnet-stack/bacnet-stack/pull/1386) and the advisory is at https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-mmg6-p4pr-cj6h. Teams backporting rather than moving versions should apply exactly that diff to src/bacnet/lighting.c (lines around 760 and 770) and rebuild, since no configuration change or service disablement is documented by the vendor as an alternative. Separately, deployments running the router-mstp or router-ipv6 demo applications should pick up PR #1387 (https://github.com/bacnet-stack/bacnet-stack/pull/1387), which hardens the unbounded INIT_RT_TABLE loop; that finding is confined to the demo apps and does not affect the library or bin/bacserv. The published advisory material does not document a workaround, so updating is the only complete fix; the reported impact is a single-datagram out-of-bounds read with potential denial of service, so scheduling follows the this_month priority rather than emergency handling.

Affected VersionsENISA

bacnet-stack < 1.4.5
bacnet-stack < 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 Stack is an open-source BACnet protocol library for embedded and building-automation devices, and the flaw sits in the application-layer value decoding of the BACnetXYColor lighting type. Each of the two color coordinates is a BACnet REAL (a 4-byte IEEE-754 float behind a 0x44 application tag), and xy_color_decode() decodes the x coordinate, advances apdu_len by the number of bytes consumed, then decodes y from &apdu[apdu_len] while still passing the original, un-decremented apdu_size as the available-length bound - a length-as-bound error (CWE-125) that overstates the remaining buffer by apdu_len. The downstream chain bacnet_real_application_decode() -> bacnet_real_decode() (bacdcode.c) validates only that the inflated bound is >= 4 bytes before decode_real() (bacreal.c:39) reads the four float bytes, so a wire-truncated second REAL (tag byte only) makes those reads run past the end of the datagram; the same function's own caller at lighting.c:811 correctly passes apdu_size - apdu_len, confirming the second decode is an oversight rather than intended behavior. Reachability is entirely through the network protocol stack: BVLC -> NPDU -> APDU dispatch reaches handler_write_group -> write_group_service_change_list_decode -> bacnet_group_channel_value_decode -> bacnet_channel_value_decode (xy-color CHOICE) -> xy_color_decode, and the Confirmed WriteProperty route reaches the identical sink via bacapp_decode_application_data (bacapp.c:1577). WriteGroup is an unconfirmed service, so it is delivered through both Original-Unicast and Original-Broadcast BVLC wrappers. A separate, out-of-scope FYI finding concerns an unbounded INIT_RT_TABLE loop in the router-mstp and router-ipv6 demo applications (apps/router-mstp/main.c:747); the shipped library path in src/bacnet/basic/npdu/h_npdu.c is correctly bounds-checked, so bin/bacserv is not affected by that second issue.

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

Single unauthenticated UDP datagram to default handlers gives AV:N/AC:L/PR:N/UI:N; discarded over-read value means C:N/I:N, and undefined behavior yields A:L.

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

Lifecycle Timeline

1
Patch available
Nov 13, 2026 - 20:49 EUVD

DescriptionCVE.org

BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to versions 1.4.5 and 1.5.1, a single unauthenticated BACnet/IP UDP datagram (port 47808) triggers an out-of-bounds read in xy_color_decode() (src/bacnet/lighting.c), reachable pre-authentication through two default-registered service handlers: the UnconfirmedRequest WriteGroup service (0x0A) and Confirmed WriteProperty on a BACnetXYColor-typed property. This issue has been patched in versions 1.4.5, 1.5.1, and 1.6.0.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Low
open-source BACnet C library, building-automation/embedded niche
Social Media
1
Sightings
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
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
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

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