{"id":"CVE-2026-62976","aliases":["GHSA-32jj-x86x-w98w"],"url":"https://o3.security/vulnerability/CVE-2026-62976","summary":"BACnet Stack: Consecutive AtomicWriteFile(record-access) appends can trigger a heap out-of-bounds read in the RAMFS file backend","details":"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.","published":"2026-11-13T18:39:25.636Z","modified":"2026-12-03T21:02:29.532607139Z","cvss":null,"epss":{"score":0.00365,"percentile":0.32356,"asOf":"2026-12-02"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[],"fix":{"url":"https://github.com/bacnet-stack/bacnet-stack/pull/1408","label":"bacnet-stack/bacnet-stack#1408"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62976.json"},{"type":"ADVISORY","url":"https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-32jj-x86x-w98w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62976"},{"type":"FIX","url":"https://github.com/bacnet-stack/bacnet-stack/pull/1408"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-12-03T21:02:29.532607139Z"}}