CVE-2026-58265

BACnet Stack: Out-of-bounds read in BACnet/SC proprietary header-option decode (bvlc_sc_decode_proprietary_option)

Published Nov 13, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to versions 1.4.5, 1.5.1, and 1.6.0, a BACnet/SC peer can trigger a heap out-of-bounds read (up to 3 bytes), pre-authentication, in the BACnet/SC header-option decoder. bvlc_sc_decode_proprietary_option() reads the vendor-id and option-type at fixed offsets [3],[4],[5] before checking the option's declared header length, and the option-list validator never enforces a minimum length for proprietary options. This issue has been patched in versions 1.4.5, 1.5.1, and 1.6.0.

Analysis

AI-generated

Technical impact

A heap out‑of‑bounds read vulnerability exists in the BACnet/SC header‑option decoder of the BACnet Stack library before release 1.4.5, 1.5.1, and 1.6.0. An attacker can craft a BACnet/SC message that triggers the decoder to read up to three bytes beyond the intended buffer before validating the option length. This pre‑authentication flaw may allow the attacker to expose sensitive memory contents adjacent to the heap, potentially leaking confidential data. The vulnerability is a classic out‑of‑bounds read (CWE‑125) that does not directly allow arbitrary code execution, but the disclosed data could be leveraged in further attacks or for reconnaissance.

Affected Systems

The affected product is the BACnet Stack open‑source protocol library used in embedded systems. Versions up to but not including 1.4.5, 1.5.1, and 1.6.0 are impacted; the issue has been patched in those releases. Device vendors running the older stack should check which release is deployed, as typical embedded BACnet tools rely on this library.

Risk and Exploitability

The CVSS score of 6.5 classifies the issue as moderate, and the EPSS score of 0.00273 indicates a very low probability of exploitation, though not zero. The vulnerability is not listed in the CISA KEV catalog. Attacks would require a BACnet/SC peer to send a crafted proprietary header option before authentication; therefore the delete of the vulnerability is likely limited to devices that accept untrusted BACnet traffic over open networks. Nevertheless, the potential for information exposure warrants immediate action.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the BACnet Stack library to at least version 1.4.5, 1.5.1, or 1.6.0 to apply the official patch.
  • Configure firewalls or NAC to block BACnet/SC traffic from untrusted or unknown peers until the stack is updated.
  • Continuously monitor BACnet logs for anomalous header‑option fields or repeated decoding errors that could indicate an attempted exploit.

Generated by OpenCVE AI on November 14, 2026 at 18:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:bacnetstack:bacnet_stack:*:*:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:-:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc1:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc2:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc3:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Bacnetstack
Bacnetstack bacnet Stack
Vendors & Products Bacnetstack
Bacnetstack bacnet Stack
Type Values Removed Values Added
Description BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to versions 1.4.5, 1.5.1, and 1.6.0, a BACnet/SC peer can trigger a heap out-of-bounds read (up to 3 bytes), pre-authentication, in the BACnet/SC header-option decoder. bvlc_sc_decode_proprietary_option() reads the vendor-id and option-type at fixed offsets [3],[4],[5] before checking the option's declared header length, and the option-list validator never enforces a minimum length for proprietary options. This issue has been patched in versions 1.4.5, 1.5.1, and 1.6.0.
Title BACnet Stack: Out-of-bounds read in BACnet/SC proprietary header-option decode (bvlc_sc_decode_proprietary_option)
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 18, 2026, 3:55 AM
Reserved
Jun 29, 2026, 9:54 PM
Status
Analyzed
Published
Nov 13, 2026, 4:19 PM
Modified
Dec 3, 2026, 12:52 AM