CVE-2026-52786: BACnet Stack - Global Buffer Overflow
- Cve: CVE-2026-52786
- Name: BACnet Stack - Global Buffer Overflow
- 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, in the official apps/epics client tool on v1.6.0-rc1 (not in the generic BACnet RPM ACK decoder alone) a malicious BACnet/IP endpoint can reply to the EPICS tool’s legitimate ReadPropertyMultiple request with a syntactically valid ReadPropertyMultiple-ACK that contains more heading properties than the tool’s fixed local storage can hold. The response is decoded successfully and later consumed by ProcessRPMData(), which writes property values into a fixed global array using an unbounded linear index. This results in a reproducible global-buffer-overflow in apps/epics/main.c. This is a network-reachable memory corruption in the official epics tool’s response-processing path. The root cause is that apps/epics treats a remotely supplied variable-length RPM property list as if it were a trusted, fixed-size local heading-property set. This issue has been patched in versions 1.4.5, 1.5.1, and 1.6.0.
- Impact: A malicious BACnet/IP endpoint can cause memory corruption in the EPICS client tool, potentially leading to code execution or denial of service.
- Remediation: Upgrade to version 1.4.5, 1.5.1, 1.6.0 or latest available version.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirements: Attacker needs to control a BACnet/IP endpoint that replies to the EPICS tool's request
- Labels source: securitycontext
- Severity: high
- Cvss score: 7.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
- Epss score: 0.00314
- Epss percentile: 0.2459
- Assignee: [email protected]
- Published at: 2026-11-12T20:18:42Z
- Age in days: 12
- Modified at: 2026-11-16T20:19:06Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-52786
- Nvd status: undergoing_analysis
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-129 | Improper Validation of Array Index |
References
Same in every row:
- Source: nvd
- Tags:
| Url |
|---|
| https://github.com/bacnet-stack/bacnet-stack/pull/1366 |
| https://github.com/bacnet-stack/bacnet-stack/pull/1409 |
| https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-c4q6-7827-mfg6 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| bacnetstack:bacnet_stack | < 1.6.0, < 1.5.1, < 1.4.5 | no | cna_alias_text | /v1/products/bacnetstack/bacnet_stack |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| bacnet-stack/bacnet-stack | pull, security_advisory | yes | /v1/repositories/bacnet-stack/bacnet-stack |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts