> CVE-2026-21870 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-02-13 18:16
MODIFIED
2026-02-13 18:16
CVSS_SCORE V3
5.5
EPSS (Prob. Exploit)
0.28%
Top 79.7%
DATA SOURCES:
NVD đź”— 2026-02-13 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-08 OSV đź”— 2026-11-08

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

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EXPLOITABILITY
1.8
IMPACT
3.6

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-193

> CWE DETAILED DESCRIPTIONS

CWE-193: Off-by-one Error - A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

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

AFFECTED PACKAGES:
Unknown / Unknown
15 versions affected
ALIASES:
GHSA-pc83-wp6w-93mx

> HISTORIQUE DES MODIFICATIONS

Première apparition
13/02/2026 18:16
Source: NVD
📊 ENRICHISSEMENT 01/03/2026 06:46
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-193: Off-by-one Error - A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.
Total des modifications: 1 Dernière mise à jour: 8 months ago

> REFERENCES

https://github.com/bacnet-stack/bacnet-stack/commit/4e1176394a5ae50d2fd0b5790d9b...
https://github.com/bacnet-stack/bacnet-stack/pull/1196
https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-pc83-wp6w-...
« BACK_TO_HOME