CVE-2026-62975: BACnet Stack - Heap Out-of-Bounds Read
- Cve: CVE-2026-62975
- Name: BACnet Stack - Heap Out-of-Bounds Read
- Description: BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to version 1.5.1, the RAMFS-backed FILE implementation accepts AtomicWriteFile(record-access) requests that replace existing records with caller-controlled content. If a client replaces a record with shorter data, the backend can shrink the heap allocation and then continue processing with a trailing-copy length derived from the old layout. During that replace path, the RAMFS backend computes the trailing-copy length from the old file layout, then shrinks the heap allocation, and finally uses the stale length in memmove(). As a result, the source range of that memmove() can extend beyond the end of the reallocated heap buffer, producing a heap out-of-bounds read. This issue has been patched in versions 1.5.1 and 1.6.0.
- Impact: Attackers can trigger a heap out-of-bounds read, potentially disclosing sensitive memory or causing a crash.
- Remediation: Update to version 1.5.1 or 1.6.0.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: denial_of_service, information_disclosure
- Requirement type: none
- Labels source: securitycontext
- Severity: medium
- Cvss score: 6.9
- Cvss vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Epss score: 0.00391
- Epss percentile: 0.33744
- Assignee: [email protected]
- Published at: 2026-11-13T19:19:32Z
- Age in days: 11
- Modified at: 2026-11-18T05:19:22Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-62975
- 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: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-125 | Out-of-bounds Read |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/bacnet-stack/bacnet-stack/pull/1408 | nvd | |
| https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-cf8g-hp9m-9fvv | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| bacnetstack:bacnet_stack | < 1.5.1 | 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