{"id":"CVE-2026-62975","aliases":["GHSA-cf8g-hp9m-9fvv"],"url":"https://o3.security/vulnerability/CVE-2026-62975","summary":"BACnet Stack: Replacing a RAMFS record with a shorter one via `AtomicWriteFile(record-access)` can trigger a heap out-of-bounds read","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 implementation accepts AtomicWriteFile(record-access) requests that replace existing records with caller-controlled content. If a client replaces a record with shorter data, the backend can shrink the heap allocation and then continue processing with a trailing-copy length derived from the old layout. During that replace path, the RAMFS backend computes the trailing-copy length from the old file layout, then shrinks the heap allocation, and finally uses the stale length in memmove(). As a result, the source range of that memmove() can extend beyond the end of the reallocated heap buffer, producing a heap out-of-bounds read. This issue has been patched in versions 1.5.1 and 1.6.0.","published":"2026-11-13T18:38:57.163Z","modified":"2026-12-03T21:02:29.539436962Z","cvss":null,"epss":{"score":0.00391,"percentile":0.35372,"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-62975.json"},{"type":"ADVISORY","url":"https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-cf8g-hp9m-9fvv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62975"},{"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.539436962Z"}}