CVE-2026-49341

BACnet Stack: Uncontrolled recursion in Timer object writeback path leads to remote server stack overflow

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 version 1.5.1, there is a remotely reachable denial-of-service vulnerability in bacnet-stack affecting the default demo server built from the unmodified apps/server/main.c. This issue has been patched in version 1.5.1.

Analysis

AI-generated

Technical impact

The vulnerability is an uncontrolled recursion in the BACnet Stack timer object writeback mechanism, which can cause a stack overflow when a remote client triggers the writeback path. This overflow results in a denial-of-service, allowing attackers to crash the default demo BACnet server that ships with the unmodified main.c. The weakness corresponds to uncontrolled resource consumption and stack overflow.

Affected Systems

BACnet Stack, used in embedded systems, is affected in all releases prior to version 1.5.1. The default demo server built from apps/server/main.c is particularly vulnerable, as it implements the unmodified writeback logic. Users of older BACnet Stack versions should verify the installed version against the 1.5.1 release.

Risk and Exploitability

The CVSS score of 7.5 signals a moderate to high severity. The EPSS score of <1% indicates a very low but nonzero exploitation probability, and the vulnerability is not listed in CISA KEV. An attacker must have network reach to the BACnet server and the ability to send a crafted writeback request to the timer object; the unbounded recursion will then overflow the process stack, causing a crash and denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade BACnet Stack to version 1.5.1 or later which contains the patch for the uncontrolled recursion in the timer object writeback path.
  • If upgrading is not immediately possible, re-compile the demo server with the writeback logic guarded against unbounded recursion, for example by adding depth-limit checks or tail-recursion elimination.
  • Apply network controls to restrict access to the BACnet writeback interface, such as firewall rules or ACLs, to reduce the exposure to crafted writeback requests.

Generated by OpenCVE AI on November 14, 2026 at 17:48 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:*:*:*:*:*:*:*:*
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 version 1.5.1, there is a remotely reachable denial-of-service vulnerability in bacnet-stack affecting the default demo server built from the unmodified apps/server/main.c. This issue has been patched in version 1.5.1.
Title BACnet Stack: Uncontrolled recursion in Timer object writeback path leads to remote server stack overflow
Weaknesses CWE-400
CWE-674
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
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-674

    Uncontrolled Recursion

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 17, 2026, 8:05 PM
Reserved
May 29, 2026, 2:35 PM
Status
Analyzed
Published
Nov 13, 2026, 4:19 PM
Modified
Dec 3, 2026, 12:59 AM