Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach BACnet/IP device on UDP 47808
-
ExploitSend crafted WriteGroup datagram with truncated BACnetXYColor REAL
-
ExecutionTrigger out-of-bounds read in xy_color_decode
-
ImpactUndefined 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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
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.
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-125714
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB