{"id":"CVE-2026-62975","aliases":["CVE-2026-62975"],"related":[],"kind":"vulnerability","state":"published","title":"BACnet Stack: Replacing a RAMFS record with a shorter one via `AtomicWriteFile(record-access)` can trigger a heap out-of-bounds read","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-13T18:38:57.163Z","modified":"2026-11-18T05:19:22.290Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"version":"< 1.5.1","status":"affected"}],"vendor":"bacnet-stack","product":"bacnet-stack","source":"cvelist"}],"references":[{"url":"https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-cf8g-hp9m-9fvv","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bacnet-stack/bacnet-stack/pull/1408","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-11-18T04:02:08.803Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-62975","url":"https://www.cve.org/CVERecord?id=CVE-2026-62975","licence":"CVE Terms of Use","modified":"2026-11-18T04:03:43.125Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-62975","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62975","licence":"Public domain","modified":"2026-11-18T05:19:22.290Z"}],"updatedAt":"2026-11-25T22:59:50.776Z","epss":{"score":0.00391,"percentile":0.35395,"date":"2026-12-01T12:00:22.000Z"}}