CVE-2026-40279
CVE-2026-40279 is a low-severity vulnerability in Bacnetstack Bacnet Stack with a CVSS 3.x base score of 3.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-758.
Key facts
- Severity: Low (CVSS 3.x base score 3.7)
- EPSS exploit prediction: 0% (15th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-24166
- Weakness: CWE-758
- Affected product: Bacnetstack Bacnet Stack
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-40279?
- 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.
- How severe is CVE-2026-40279?
- CVE-2026-40279 has a CVSS 3.x base score of 3.7, rated low severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability low.
- Is CVE-2026-40279 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (15th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-40279?
- CVE-2026-40279 affects Bacnetstack Bacnet Stack. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-40279?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-40279 have an EU (EUVD) identifier?
- Yes. CVE-2026-40279 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-24166.
- When was CVE-2026-40279 published?
- CVE-2026-40279 was published on 2026-04-21 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:bacnetstack:bacnet_stack:*:*:*:*:*:*:*:*
More vulnerabilities in Bacnetstack Bacnet Stack
- CVE-2026-41475 — Critical (CVSS 9.1): BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to 1.4.3, an out-of-bounds…
- CVE-2023-51773 — Critical (CVSS 9.1): BACnet Stack before 1.3.2 has a decode function APDU buffer over-read in bacapp_decode_application_data in bacapp.c.
- CVE-2026-26264 — High (CVSS 8.1): BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to 1.5.0rc4 and 1.4.3rc2, a…
- CVE-2026-41503 — High (CVSS 7.5): BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to 1.4.3, an out-of-bounds…
- CVE-2026-41502 — High (CVSS 7.5): BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to 1.4.3, an off-by-one…
- CVE-2026-21878 — High (CVSS 7.5): BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to 1.5.0.rc3, a vulnerability…
All CVEs affecting Bacnetstack Bacnet Stack →
Other CWE-758 vulnerabilities
- CVE-2026-4705 — Critical (CVSS 9.8): Undefined behavior in the WebRTC: Signaling component. This vulnerability was fixed in Firefox 149, Firefox ESR 140.9,…
- CVE-2026-4724 — Critical (CVSS 9.1): Undefined behavior in the Audio/Video component. This vulnerability was fixed in Firefox 149 and Thunderbird 149.
- CVE-2026-4718 — High (CVSS 8.1): Undefined behavior in the WebRTC: Signaling component. This vulnerability was fixed in Firefox 149, Firefox ESR 140.9,…
- CVE-2025-54811 — High (CVSS 7.1): OpenPLC_V3 has a vulnerability in the enipThread function that occurs due to the lack of a return value. This leads to…
- CVE-2024-4774 — Medium (CVSS 6.5): The `ShmemCharMapHashEntry()` code was susceptible to potentially undefined behavior by bypassing the move semantics…
- CVE-2026-34549 — Medium (CVSS 6.2): iccDEV provides a set of libraries and tools for working with ICC color management profiles. Prior to version 2.3.1.6,…