{"id":77081,"date":"2026-02-13T21:28:37","date_gmt":"2026-02-13T17:58:37","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-21870-the-bacnet-protocol-stack-library-has-an-off-by-one-stack-based-buffer-overflow-in-tokenizer_string\/"},"modified":"2026-02-13T21:28:37","modified_gmt":"2026-02-13T17:58:37","slug":"cve-2026-21870-the-bacnet-protocol-stack-library-has-an-off-by-one-stack-based-buffer-overflow-in-tokenizer_string","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-21870-the-bacnet-protocol-stack-library-has-an-off-by-one-stack-based-buffer-overflow-in-tokenizer_string\/","title":{"rendered":"CVE-2026-21870 &#8211; The BACnet Protocol Stack library has an Off-by-one Stack-based Buffer Overflow in tokenizer_string"},"content":{"rendered":"<p>CVE ID : CVE-2026-21870<\/p>\n<p>Published :  Feb. 13, 2026, 5:58 p.m. | 31\u00a0minutes ago<\/p>\n<p>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.<\/p>\n<p>Severity: 0.0 | NA<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2026-21870 Published : Feb. 13, 2026, 5:58 p.m. | 31\u00a0minutes ago 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-77081","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=77081"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77081\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=77081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=77081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=77081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}