CVE-2026-62977: medium-severity vulnerability in bacnet-stack
BACnet Stack: `WriteProperty(File_Size)` can bypass read-only protection and expose uninitialized RAMFS tail bytes through `AtomicReadFile`
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.9epss 0.4%
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.
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
Affected products
bacnet-stack · bacnet-stackRelated CVEs — bacnet-stack
In the same product, most dangerous first.
CVE-2026-47217HIGHBACnet Stack: Channel member self-reference causes uncontrolled recursion and stack overflow in default BACnet/IP serverEPSS 0.5%CVE-2026-41475HIGHBACnet Stack: Out-of-Bounds Read in WritePropertyMultiple Decoder via Deprecated Tag ParserEPSS 0.5%CVE-2026-64675MEDIUMBACnet Stack: Pre-auth OOB read in xy_color_decode (BACnetXYColor) via WriteGroup/WritePropertyEPSS 0.5%CVE-2025-66624HIGHBACnet-stack MS/TP reply matcher OOB readEPSS 0.4%CVE-2026-52787HIGHBACnet Stack: Global APDU transmit buffer out-of-bounds write in device.address-binding response encoding via address_list_encode()EPSS 0.4%CVE-2026-49341HIGHBACnet Stack: Uncontrolled recursion in Timer object writeback path leads to remote server stack overflowEPSS 0.4%