# CVE-2026-26264: BACnet Stack WriteProperty decoding length underflow leads to OOB read and crash

- Severity: High 7.8 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-13T18:14:30.232Z
- Modified: 2026-06-17T10:26:00.427Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- bacnet-stack bacnet-stack: >= 1.5.0rc1, < 1.5.0rc4; < 1.4.3rc2
- bacnetstack bacnet_stack: from 1.4.0 before 1.4.3; 1.4.3; 1.5.0

## Every score

- GitHub_M: CVSS:4.0 7.8 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:P`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-phjh-v45p-gmjj> (exploit, vendor-advisory)
- <https://github.com/bacnet-stack/bacnet-stack/commit/4cc8067c86f26e2b08b2c8f4d27f8e07de4d4708> (patch)

## Sources

- CVE List: [CVE-2026-26264](https://www.cve.org/CVERecord?id=CVE-2026-26264), CVE Terms of Use, modified 2026-02-13
- NVD: [CVE-2026-26264](https://nvd.nist.gov/vuln/detail/CVE-2026-26264), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-26264 · Whole record: https://cve.day/CVE-2026-26264.json · Rebuilt by cve.day 2026-11-25T22:59:13.851Z
