CVE-2026-52790

BACnet Stack: bacnet_device.c stack-use-after-return in writable Device string properties

Published Nov 13, 2026 CVSS 3.1 · 7.5 High 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, there is a library-level memory safety issue that is reachable from an unmodified official sample server (apps/server-basic/main.c) over BACnet/IP resulting in a stack-use-after-return in writable Device string properties. This issue has been patched in versions 1.4.5, 1.5.1, and 1.6.0.

Analysis

AI-generated

Technical impact

A memory‑safety flaw (CWE‑416) in the BACnet Stack library allows a stack‑use‑after‑return condition in writable Device string properties when accessed via BACnet/IP from the official sample server. This can corrupt the stack and potentially enable arbitrary code execution or unpredictable program behavior; it also involves improper handling of read‑only memory (CWE‑562).

Affected Systems

The issue applies to the bacnet‑stack product from the bacnet‑stack vendor. Versions older than 1.4.5, 1.5.1, and 1.6.0 are vulnerable; the fix is included in these releases and later ones.

Risk and Exploitability

With a CVSS score of 7.5 the exploit is considered high severity. The EPSS score is below 1%, indicating a low but nonzero likelihood of exploitation, and the vulnerability is not listed in CISA’s KEV catalog. Attackers can reach the flaw by sending crafted BACnet/IP packets to a device running the sample server, which is typically exposed to the network. Based on the description, it is inferred that no authentication or privileged access is required, making passive network exposure sufficient to exploit the weakness.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the patched bacnet‑stack release 1.4.5, 1.5.1, or 1.6.0 to all affected systems.
  • Update all embedded firmware to include the new stack version so that the flaw is removed in the runtime environment.
  • If the sample server is in use, remove or disable it in production or restrict its network exposure to trusted hosts only.

Generated by OpenCVE AI on November 14, 2026 at 17:46 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:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:1.6.0:rc1:*:*:*:*:*:*
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, there is a library-level memory safety issue that is reachable from an unmodified official sample server (apps/server-basic/main.c) over BACnet/IP resulting in a stack-use-after-return in writable Device string properties. This issue has been patched in versions 1.4.5, 1.5.1, and 1.6.0.
Title BACnet Stack: bacnet_device.c stack-use-after-return in writable Device string properties
Weaknesses CWE-416
CWE-562
References
Metrics cvssV3_1

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 13, 2026, 9:07 PM
Reserved
Jun 8, 2026, 6:02 PM
Status
Analyzed
Published
Nov 13, 2026, 4:19 PM
Modified
Dec 3, 2026, 12:53 AM