# CVE-2025-66624: BACnet-stack MS/TP reply matcher OOB read

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-05T18:36:26.280Z
- Modified: 2026-06-17T09:57:07.407Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

BACnet Protocol Stack library provides a BACnet application layer, network layer and media access (MAC) layer communications services. Prior to 1.5.0.rc2, The npdu_is_expected_reply function in src/bacnet/npdu.c indexes request_pdu[offset+2/3/5] and reply_pdu[offset+1/2/4] without verifying that those APDU bytes exist. bacnet_npdu_decode() can return offset == 2 for a 2-byte NPDU, so tiny PDUs pass the version check and then get read out of bounds. On ASan/MPU/strict builds this is an immediate crash (DoS). On unprotected builds it is undefined behavior and can mis-route replies; RCE is unlikely because only reads occur, but DoS is reliable.

(As written by CVE List.)

## Affected

- bacnet-stack bacnet-stack: < 1.5.0.rc2
- bacnetstack bacnet_stack: 1.5.0

## References

- <https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-8wgw-5h6x-qgqg> (exploit, vendor-advisory)
- <https://github.com/bacnet-stack/bacnet-stack/commit/9378f7d1e70169ebde4a5090bae7603703eadf48> (patch)

## Sources

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

---

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