Off-by-one Error Affecting bacnet-stack package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-BACNETSTACK-15282808
  • published15 Feb 2026
  • disclosed13 Feb 2026
  • creditFinder16

Introduced: 13 Feb 2026

NewCVE-2026-21870  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

bacnet-stack is a None

Affected versions of this package are vulnerable to Off-by-one Error. via the tokenizer_string function. An attacker can cause a crash by providing a string literal longer than the buffer limit, which leads to a stack overflow when the function incorrectly writes a null byte outside the allocated buffer.

CVSS Base Scores

version 4.0
version 3.1