cve.bz

CVE-2026-97692 BACnet Stack: pre-auth out-of-bounds read that escalates to an out-of-bounds write into global memory

7.7 high

High (7.7) in bacnet-stack bacnet-stack.

On this page
BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to versions 1.4.6, 1.5.2, and 1.6.1, the BACnet/SC message decoder walks the header-option list by following each option's MORE bit. Nothing rejects a list whose last option still has the MORE bit set, and the decode walk has no upper bound on how many options it processes. A single crafted BVLC-SC frame makes the walk advance one option past the end of the message and read message[message_len], one byte out of bounds. When the bytes after the message carry more MORE-set option markers, the walk keeps going: it runs past the fixed 4-entry option array and writes decoded option fields out of bounds. On the server that decode array is the static global bsc_dm, so the out-of-bounds write lands in adjacent BSS. Both faults are reachable before authentication, from the first frame a peer sends on a BACnet/SC connection, and the bytes that follow the message are the same peer's prior-frame data. This issue has been patched in versions 1.4.6, 1.5.2, 1.6.1, and 1.7.0.

Severity

CVSS 3.1

7.7 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H
CWE
CWE-787 Out-of-bounds Write
Published
Modified
Assigned by
GitHub_M (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-97692 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-97692?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-97692?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-97692 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-97692

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-97692](https://cve.bz/cve/badge/CVE-2026-97692.svg)](https://cve.bz/cve/CVE-2026-97692)

HTML:

<a href="https://cve.bz/cve/CVE-2026-97692"><img src="https://cve.bz/cve/badge/CVE-2026-97692.svg" alt="CVE-2026-97692"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
bacnet-stack< 1.4.6
bacnet-stack>= 1.5.0, < 1.5.2
bacnet-stack>= 1.6.0, < 1.6.1

References

Check your stackJSON