# CVE-2026-62976: BACnet Stack: Consecutive AtomicWriteFile(record-access) appends can trigger a heap out-of-bounds read in the RAMFS file backend

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- 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.36%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-11-13T18:39:25.636Z
- Modified: 2026-11-16T16:17:54.213Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, 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 version 1.5.1, the RAMFS-backed FILE object implementation stores appended records as NUL-terminated strings, but its record-counting logic later walks the buffer as if an additional terminating empty record were present. As a result, two consecutive AtomicWriteFile(record-access) append requests can cause record_count() to call bacnet_strnlen() on a pointer that is already one byte past the end of the heap allocation. This issue has been patched in versions 1.5.1 and 1.6.0.

(As written by CVE List.)

## Affected

- bacnet-stack bacnet-stack: < 1.5.1

## References

- <https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-32jj-x86x-w98w>
- <https://github.com/bacnet-stack/bacnet-stack/pull/1408>

## Sources

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

---

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