---
id: "CVE-2026-52790"
page: "https://infrastack.ai/live/CVE-2026-52790"
kind: "vulnerability"
aliases: ["CVE-2026-52790"]
title: "BACnet Stack: remote memory bug in writable device string properties"
severity: "high"
cvss: 7.5
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["bacnet", "building-automation", "c", "embedded", "package"]
not_affected_if: ["version-patched"]
published_at: "2026-11-13T16:19:02+00:00"
first_seen_at: "2026-11-13T16:47:34+00:00"
updated_at: "2026-11-13T16:48:35+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-52790", "first_seen_at": "2026-11-13T16:47:34+00:00"}]
exploit_sources: []
---

# BACnet Stack: remote memory bug in writable device string properties

Link for people: https://infrastack.ai/live/CVE-2026-52790 (this .md is for agents)

BACnet Stack is a C library for building BACnet building-automation devices. A stack-use-after-return bug in writable Device string properties can be reached over BACnet/IP from the unmodified sample server, and it can corrupt memory.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the BACnet Stack version in your build: look for the library version in your source tree or vendored copy, and compare against `1.4.5`, `1.5.1`, `1.6.0`.
- Check whether your device runs the sample server (apps/server-basic/main.c) or a build based on it, reachable over BACnet/IP (UDP port 47808).

## Fix

- Upgrade to `1.4.5` (1.4 line), `1.5.1` (1.5 line), or `1.6.0` (1.6 line).

## Timeline

- 2026-11-13T16:47:34+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-52790

## Documents

- [advisory] Vendor advisory: github.com https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-jr7p-rm2x-739x

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
