CVE-2026-62977

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:bacnetstack:bacnet_stack:*:*:*:*:*:*:*:*

History

02 Dec 2026, 18:52

Type Values Removed Values Added
References () https://github.com/bacnet-stack/bacnet-stack/pull/1411 - () https://github.com/bacnet-stack/bacnet-stack/pull/1411 - Patch
References () https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-mwj7-2v5r-v934 - () https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-mwj7-2v5r-v934 - Exploit, Mitigation, Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5
First Time Bacnetstack
Bacnetstack bacnet Stack
CPE cpe:2.3:a:bacnetstack:bacnet_stack:*:*:*:*:*:*:*:*

18 Nov 2026, 13:17

Type Values Removed Values Added
References () https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-mwj7-2v5r-v934 - () https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-mwj7-2v5r-v934 -

13 Nov 2026, 19:19

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-13 19:19

Updated : 2026-12-02 18:52


NVD link : CVE-2026-62977

Mitre link : CVE-2026-62977

CVE.ORG link : CVE-2026-62977


JSON object : View

Products Affected

bacnetstack

  • bacnet_stack
CWE
CWE-284

Improper Access Control

CWE-908

Use of Uninitialized Resource