HOMEVULNERABILITIESCVE-2026-21870
MEDIUMPOC

CVE-2026-21870

CWE-193Published: February 13, 2026· Updated: Feb 18, 2026

5.5
CVSS v3.1
EPSS:0.01%probability of exploitation in 30 daysPercentile:1.6th

Official 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.

NVD Source

Technical Analysis

CVE-2026-21870 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation does not require any privileges, though user interaction (Required) is needed, which slightly reduces the risk of mass automated attacks.

A successful exploit results in availability disruption (denial of service), with a CVSS base score of 5.5.

A proof-of-concept (PoC) exploit exists for CVE-2026-21870. While not yet confirmed in active campaigns, the availability of PoC code increases exploitation risk substantially.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.None
User InteractionRequired
ScopeUnchanged
Impact
ConfidentialityNone
IntegrityNone
AvailabilityHigh
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected Vendors & Products

bacnetstack1 product
bacnet stack
Source: NVD CPE · 2 total CPE entries

Exploit & PoC Resources

POC AVAILABLEProof-of-concept code exists
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (3)

Quick Facts

CVE IDCVE-2026-21870
CVSS Score5.5 / 10
SeverityMEDIUM
WeaknessCWE-193
CISA KEVNo
ExploitPOC
EPSS (30d)0.01%
Affected1 vendor
PublishedFeb 13, 2026

Related CVEs (CWE-193)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2026-21870 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.