Bacnet-stack
BACnet Stack: BACnet/SC hub grows its WebSocket reassembly buffer without limit, so a peer can exhaust its memory
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 hub's Linux WebSocket server reassembles fragmented WebSocket messages into a per-connection fragment_buffer. It grows that buffer with realloc() on every non-final frame, with no upper bound. A peer that streams binary continuation fragments and never sets FIN keeps the hub reallocating until the box runs out of memory or the process is OOM-killed. The buffer starts at the maximum legal BVLC-SC NPDU size, but nothing after that ties its growth back to that limit. This issue has been patched in versions 1.4.6, 1.5.2, 1.6.1, and 1.7.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.4.6
- >= 1.5.0, < 1.5.2
- >= 1.6.0, < 1.6.1
Fixed in 1.4.6, 1.5.2, 1.6.1
Mitigation
Upgrade bacnet-stack to 1.4.6 or 1.5.2 or 1.6.1 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 pending · 1 informational · 1 not a PoC · 1 suspicious or fake
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Mar0x02/blue-team-soc-labs | 5 Jul 2026 −131 d | 0 | Pending · repository exceeds size limit
Flags · score 5
Below the suspicion threshold (50); does not change the assessment. |
Informational 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| KevinTechLabs/Homelab-Threat-Hunt | 19 Oct 2026 −26 d | 14 Nov 2026 | 0 | Informational · list |
Not a PoC 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| MedNamouchi/SIEM-MikroTik-Wazuh-Graylog | 25 May 2026 −172 d | 5 | Not a PoC · unrelated |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| AJahmadcyber/homelab-mdr | 18 Jun 2026 −148 d | 41 | Suspicious · score 100
Why suspicious
|
Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.