CVE-2026-62977 · Package
NO FIX YET · SEE WHAT TO DO
BACnet Stack is a C library for building BACnet building-automation devices. A remote client can enlarge a read-only RAMFS-backed stream file and read back the newly exposed region, which may contain stale heap memory from the process.
first public Jul 16, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Only devices or applications built on BACnet Stack before 1.5.1 that expose a BACnet FILE object with the RAMFS backend to the network. Applications that do not use the FILE object or do not use RAMFS can likely skip it, though the sources do not state this explicitly.
Not affected if file-object-disabled, non-ramfs-backend
Who cares bacnet, building-automation, embedded
grep -i bacnet on the vendored source or your package manifest.1.5.1 and 1.6.0, per the advisory.BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to version 1.5.1, the BACnet FILE object implementation allows remote WriteProperty(PROP_FILE_SIZE) requests to change the size of a stream-access FILE object without checking whether that FILE is marked Read_Only. When the FILE backend is RAMFS, enlarging the file only performs realloc() and updates the stored size; the newly exposed tail region is not initialized before later reads. As a result, a remote client can enlarge a read-only RAMFS-backed stream-access FILE and then immediately retrieve the newly exposed region with AtomicReadFile(stream-access). Depending on the allocator and build configuration, the returned data may contain sanitizer fill bytes, stale heap contents, or other unintended process memory. Shrinking the file through the same path can also remotely truncate content that was intended to be read-only. This issue has been patched in versions 1.5.1 and 1.6.0.
This page as .md · .json · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.