Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted BACnet/IP UDP packet
-
DeliveryAddress it to non-local destination network (DNET)
-
ExploitEnter routed APDU forwarding path
-
Executionmemmove oversized APDU past Tx_Buffer bound
-
ImpactGlobal-buffer-overflow aborts router process (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerable code is the official router-ipv6 application shipped with bacnet-stack (apps/router-ipv6/main.c), not the core library - so the deployment must actually run router-ipv6 and expose its BACnet/IP UDP listening port (default 47808) to the attacker. The attacker must send a BACnet/IP NPDU carrying routing information for a non-local destination network (DNET) so execution enters the routed APDU forwarding path (e.g., the 'unknown route' branch), with an APDU large enough (~1492 bytes) that npdu_len + apdu_len exceeds sizeof(Tx_Buffer) (1506). No authentication or session establishment is required (PR:N). Limiting factors: only hosts running the router-ipv6 forwarding application are affected; BACnet/IP is commonly deployed on segmented/isolated OT networks, which constrains remote reachability; and the reproduced outcome is a crash/DoS rather than confirmed code execution. |
| Impact | Signals point to a genuine but bounded issue rather than a top-tier emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) describes an unauthenticated, network-reachable, low-complexity trigger - a single crafted BACnet/IP UDP packet - which is the strongest risk driver here. However, the only reproduced impact is a 1-byte out-of-bounds write past the 1506-byte global 'Tx_Buffer' (npdu_len 15 + apdu_len 1492 = 1507) detected under AddressSanitizer, causing an immediate process abort; the advisory itself frames code execution only as a conditional 'potential basis for further exploitation' depending on build layout and hardening. The input CVSS assigns C:L/I:L/A:H, but the confirmed primitive is overwhelmingly a denial-of-service, so the confidentiality/integrity sub-scores look generous relative to the evidence. The vuln.today decision label is 'this_week' (not act_now/emergency), and no EPSS score, no CISA KEV listing, and no SSVC fields are present in the input - so exploitation-probability and active-exploitation signals are simply absent, not low. A working public PoC (a minimal Python UDP sender) is published in the GHSA advisory, which raises the practical likelihood of opportunistic DoS against exposed routers. Net: treat as a real same-week patching priority for anyone running the router-ipv6 application, but the 'high CVSS' is inflated by C/I sub-scores not borne out by the reproduced DoS. |
| Exploit ScenarioDerived | An attacker with network reach to a running router-ipv6 instance sends one crafted BACnet/IP UDP packet to the listening port (default 47808) addressed to a non-local destination network (DNET) with an oversized (~1492-byte) APDU. The forwarding path re-encodes the NPDU into the fixed global Tx_Buffer and appends the attacker-controlled APDU with memmove and no capacity check, overflowing the buffer and aborting the process. A public PoC (a minimal Python sender) is included in the GHSA advisory, and no authentication or session setup is required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
A remote, unauthenticated attacker can drive a global out-of-bounds write in the official router-ipv6 forwarding application that ships with BACnet Stack (bacnet-stack) in versions prior to 1.4.5, 1.5.1 and 1.6.0. The flaw sits in apps/router-ipv6/main.c, where a routed APDU is re-encapsulated into the fixed-size global Tx_Buffer without checking that the encoded NPDU length plus the attacker-supplied APDU length fits, so a single crafted BACnet/IP UDP packet reaches roughly 1507 bytes of write against a 1506-byte buffer and aborts the process under ASan. The reproduced outcome is a reliable crash/denial of service with a controllable write primitive; the vendor advisory publishes a public PoC reproducer, but the issue is not listed in CISA KEV and no exploitation in the wild or working weaponized exploit code has been confirmed, while an EPSS score was not supplied in the available data.
RemediationAI
Upgrade to a fixed release: 1.4.5, 1.5.1 or 1.6.0, choosing the branch that matches your deployment - vendor-released patch: 1.4.5, 1.5.1 and 1.6.0. The fix is PR #1392, which replaces the direct memmove() appends with routed_npdu_apdu_encode(), returning error and logging 'Dropping oversized routed APDU' when npdu_len + apdu_len exceeds sizeof(Tx_Buffer); if an immediate upgrade is not possible, that capacity check can be backported to apps/router-ipv6/main.c as a targeted patch. Because the vulnerable code lives in the router-ipv6 application rather than the core library, an effective interim control is to stop running router-ipv6 where it is not required, or, where it is required, to restrict reachability of its BACnet/IP UDP listener (default 47808) to known BACnet/IP peer addresses via firewall or network segmentation - the trade-off being that legitimate routers/BBMDs outside the allow-list will no longer be able to forward through it. Hosts running router-ipv6 on segmented or isolated OT networks are already partly shielded by that segmentation. The advisory at https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-4p4w-m434-jrhj is the authoritative source for the fix and reproduction details.
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 is a building-automation protocol in which NPDUs carry network-layer routing information and APDUs carry application-layer payloads; a BACnet/IP router receives BVLC-framed NPDUs over UDP (default port 47808) and re-encapsulates forwarded traffic for the next hop. In router-ipv6, main() receives a packet, my_routing_npdu_handler() calls bacnet_npdu_decode(), and for non-network-layer traffic the remainder is handed to routed_apdu_handler() together with an apdu_len derived directly from the network input. routed_apdu_handler() writes a freshly encoded NPDU into the global Tx_Buffer with npdu_encode_pdu() and then performs memmove(&Tx_Buffer[npdu_len], apdu, apdu_len) with no capacity check. Tx_Buffer is sized from the BACnet datalink limits (MAX_APDU 1476 plus NPDU/header overhead), giving 1506 bytes in the reported build; in the reproduction a 15-byte re-encoded routed NPDU plus a 1492-byte APDU yields a one-byte overflow past the end of the global. The root cause is CWE-787 (out-of-bounds write), specifically a missing upper-bound check before the append. The same unchecked append pattern exists in several forwarding branches - global broadcast, directly connected destination, next-router relay and the unknown-route branch used in the repro - so the defect is broader than the single crashing path. The vendor fix (PR #1392) introduces routed_npdu_apdu_encode(), which refuses to encode when npdu_len + apdu_len exceeds sizeof(Tx_Buffer) and logs a 'Dropping oversized routed APDU' error instead. Note that this is a defect in the shipped router-ipv6 example/application, not in the core bacnet-stack library parser itself, so exposure depends on that application actually being deployed and reachable.
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:L/I:L/A:H
Unauthenticated single-packet trigger gives AV:N/AC:L/PR:N/UI:N; reproduced impact is process abort (A:H) with a 1-byte OOB write to adjacent globals (I:L) and no read primitive (C:N).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to versions 1.4.5, 1.5.1, and 1.6.0, there is a remote global-buffer-overflow in the official router-ipv6 application shipped with bacnet-stack, this results in an out-of-bounds write to the global transmit buffer under ASan. This issue has been patched in versions 1.4.5, 1.5.1, and 1.6.0.
Technical POC Analysis
CWE-787 (out-of-bounds write): a missing transmit-buffer capacity check in the routed-APDU forwarding path of the reference router application.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-58498 is a high-severity out-of-bounds write vulnerability in the BACnet Stack's router-ipv6 application (versions before 1.4.5, 1.5.1, and 1.6.0). A remote, unauthenticated attacker can trigger a reliable denial-of-service crash of the router process by sending a single crafted BACnet/IP packet, disrupting building automation network communications. Leadership should care because this affects operational technology environments relying on BACnet for HVAC, energy management, and other building systems, potentially causing service outages and safety concerns.
Apply vendor patch.
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.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
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-125536
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB