Skip to main content
← All vulnerabilities
CVE-2026-26264

BACnet Stack WriteProperty decoding length underflow leads to OOB read and crash

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.5.0rc4, 1.4.3rc2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to 1.5.0rc4 and 1.4.3rc2, a malformed WriteProperty request can trigger a length underflow in the BACnet stack, leading to an out‑of‑bounds read and a crash (DoS). The issue is in wp.c within wp_decode_service_request. When decoding the optional priority context tag, the code passes apdu_len - apdu_size to bacnet_unsigned_context_decode without validating that apdu_size <= apdu_len. If a truncated APDU reaches this path, apdu_len - apdu_size underflows, resulting in a large size being used for decoding and an out‑of‑bounds read. This vulnerability is fixed in 1.5.0rc4 and 1.4.3rc2.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • bacnet-stack bacnet-stack

    From 1.5.0rc1 · fixed in 1.5.0rc4; fixed in 1.4.3rc2

References 2

GitHub · bacnet-stack/bacnet-stack