CVE-2026-26264 BACnet Stack WriteProperty decoding length underflow leads to OOB read and crash
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| bacnetstack bacnet stack | = 1.4.3-rc1; = 1.5.0-rc1; = 1.5.0-rc2; = 1.5.0-rc3 +1 more | 1.4.3 | Fixed |
| bacnet-stack | = < 1.4.3rc2; = >= 1.5.0rc1, < 1.5.0rc4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| bacnet-stack | = >= 1.5.0rc1, < 1.5.0rc4 | No fix listed |
| bacnet-stack | = < 1.4.3rc2 | No fix listed |
| bacnetstack bacnet stack | >= 1.4.0, < 1.4.3 | 1.4.3 |
| bacnetstack bacnet stack | = 1.4.3-rc1 | No fix listed |
| bacnetstack bacnet stack | = 1.5.0-rc1 | No fix listed |
| bacnetstack bacnet stack | = 1.5.0-rc2 | No fix listed |
| bacnetstack bacnet stack | = 1.5.0-rc3 | No fix listed |