BACnet Stack: Client-Side Out-of-Bounds Read in AtomicReadFile-ACK Record-Access Handling via RecordCount / fileData[] Mismatch
Summary
| CVE | CVE-2026-46677 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-12 20:18:39 UTC |
| Updated | 2026-12-01 22:44:26 UTC |
| Description | BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to versions 1.4.4 and 1.5.1, there is a client-side out-of-bounds read in the AtomicReadFile-ACK record-access handling path. The issue is caused by a mismatch between a remote returnedRecordCount value and the fixed local fileData[] array capacity in BACNET_ATOMIC_READ_FILE_DATA. The ACK decode path preserves the remote RecordCount, discards storage for excess records without truncating that count, and a downstream sink later iterates over the original RecordCount and indexes fileData[i] out of bounds. This issue has been patched in versions 1.4.4 and 1.5.1. |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS: 0.002190000 probability, percentile 0.124780000 (date 2026-11-16)
Problem Types: CWE-125 | CWE-130 | CWE-125 CWE-125: Out-of-bounds Read | CWE-130 CWE-130: Improper Handling of Length Parameter Inconsistency
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| 3.1 | [email protected] | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| 3.1 | CNA | DECLARED | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Bacnetstack | Bacnet Stack | All | All | All | All |
| Application | Bacnetstack | Bacnet Stack | 1.5.0 | - | All | All |
| Application | Bacnetstack | Bacnet Stack | 1.5.0 | rc1 | All | All |
| Application | Bacnetstack | Bacnet Stack | 1.5.0 | rc2 | All | All |
| Application | Bacnetstack | Bacnet Stack | 1.5.0 | rc3 | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Bacnet-stack | Bacnet-stack | affected < 1.4.4 | Not specified |
| CNA | Bacnet-stack | Bacnet-stack | affected < 1.5.1 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-rv5h-cxwq-... | [email protected] | github.com | Exploit, Mitigation, Vendor Advisory |
| github.com/bacnet-stack/bacnet-stack/pull/1344 | [email protected] | github.com | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.