Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-21870

published medium CVSS 3.1 · 5.5

The BACnet Protocol Stack library has an Off-by-one Stack-based Buffer Overflow in tokenizer_string

Published
13 Feb 2026, 17:58:37 UTC
Updated
13 Feb 2026, 18:19:36 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
bacnet-stack — bacnet-stack<= 1.4.2 · >= 1.5.0.rc1, <= 1.5.0.rc2 Affected Not stated GitHub_M

Description

BACnet Protocol Stack library provides a BACnet application layer, network layer and media access (MAC) layer communications services. In 1.4.2, 1.5.0.rc2, and earlier, an off-by-one stack-based buffer overflow in the ubasic interpreter causes a crash (SIGABRT) when processing string literals longer than the buffer limit. The tokenizer_string function in src/bacnet/basic/program/ubasic/tokenizer.c incorrectly handles null termination for maximum-length strings. It writes a null byte to dest[40] when the buffer size is only 40 (indices 0-39), triggering a stack overflow.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.5 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
bacnet-stack bacnet-stack <= 1.4.2 (affected)>= 1.5.0.rc1, <= 1.5.0.rc2 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-193 CWE-193: Off-by-one Error (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

The BACnet Protocol Stack library has an Off-by-one Stack-based Buffer Overflow in tokenizer_string

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
c5bdc2e87357c87befda8664f8fc8a930955e30ebeb5caf4f8db001e47ed3235
Ingested
23 Sep 2026, 09:05:14 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected