← Vulnerability feed

Vulnerability record · CVE-2026-40279 · published 21 April 2026

CVE-2026-40279: Bacnetstack bacnet stack vulnerability

BBacnetstack · Bacnet Stack

BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to 1.4.3, decode_signed32() in src/bacnet/bacint.c reconstructs a 32-bit signed integer from four APDU bytes using signed left shifts. When any of the four bytes has bit 7 set (value ≥ 0x80), the left-shift operation overflows a signed int32_t, which is undefined behavior per the C standard. This is flagged thousands of times per minute by UndefinedBehaviorSanitizer on any BACnet input containing signed-integer property values with high-bit-set bytes. This vulnerability is fixed in 1.4.3.

3.7 CVSS 3.1 Low EPSS 0.33% · top 76.3% CWE-758 · CWE-758
3.7CVSS 3.1 base score
0.33%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to 1.4.3, decode_signed32() in src/bacnet/bacint.c reconstructs a 32-bit signed integer from four APDU bytes using signed left shifts. When any of the four bytes has bit 7 set (value ≥ 0x80), the left-shift operation overflows a signed int32_t, which is undefined behavior per the C standard. This is flagged thousands of times per minute by UndefinedBehaviorSanitizer on any BACnet input containing signed-integer property values with high-bit-set bytes. This vulnerability is fixed in 1.4.3.

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-40279 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.1CVE-2023-51773Bacnetstack bacnet stack vulnerabilityBACnet Stack before 1.3.2 has a decode function APDU buffer over-read in bacapp_decode_application_data in bacapp.c.EPSS 1.1%8.7CVE-2026-41475Bacnetstack bacnet stack out-of-bounds read vulnerabilityBACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to 1.4.3, an out-of-bounds read vulnerability in bacnet-sta…EPSS 0.67%8.7CVE-2026-41502Bacnetstack bacnet stack out-of-bounds read vulnerabilityBACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to 1.4.3, an off-by-one out-of-bounds read vulnerability in…EPSS 0.60%8.7CVE-2026-41503Bacnetstack bacnet stack out-of-bounds read vulnerabilityBACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to 1.4.3, an out-of-bounds read vulnerability in bacnet-sta…EPSS 0.60%7.8CVE-2026-26264Bacnetstack bacnet stack out-of-bounds read vulnerabilityBACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to 1.5.0rc4 and 1.4.3rc2, a malformed WriteProperty request…EPSS 0.55%7.5CVE-2026-21878Bacnetstack bacnet stack path traversal vulnerabilityBACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to 1.5.0.rc3, a vulnerability has been discovered in BACnet…EPSS 0.37%7.5CVE-2025-66624Bacnetstack bacnet stack out-of-bounds read vulnerabilityBACnet Protocol Stack library provides a BACnet application layer, network layer and media access (MAC) layer communications services. Prior to 1.5.0…EPSS 0.41%5.5CVE-2026-21870Bacnetstack bacnet stack vulnerabilityBACnet Protocol Stack library provides a BACnet application layer, network layer and media access (MAC) layer communications services. In 1.4.2, 1.5.…EPSS 0.25%

Source: NIST National Vulnerability Database (record CVE-2026-40279), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.