Security Resilience

CVE-2026-40279

Bacnetstack Bacnet Stack ≤ 1.4.3

Public PoC
Published
21 April 2026
Modified
11 November 2026
Patch / advisory
CVSS Score v3.1 3.7
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS Score 0.0034 20th percentile
Risk Priority 32 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-40279 is a low-severity Reliance on Undefined, Unspecified, or Implementation-Defined Behavior (CWE-758) vulnerability in Bacnetstack Bacnet Stack. Its CVSS base score is 3.7 (Low).

Operationally, ranked at the 20th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-26264Same product: Bacnetstack Bacnet Stack
CVE-2023-51773Same product: Bacnetstack Bacnet Stack
CVE-2026-21878Same product: Bacnetstack Bacnet Stack
CVE-2026-41502Same product: Bacnetstack Bacnet Stack
CVE-2026-41475Same product: Bacnetstack Bacnet Stack
CVE-2026-41503Same product: Bacnetstack Bacnet Stack
CVE-2026-21870Same product: Bacnetstack Bacnet Stack
CVE-2025-66624Same product: Bacnetstack Bacnet Stack
CVE-2026-34537Shared CWE-758
CVE-2025-55160Shared CWE-758

Affected Assets

bacnetstack
bacnet stack
≤ 1.4.3

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover reliance on undefined behavior through cross-platform or stress testing.

Mandating a documented development process and coding standards directly discourages dependence on unspecified behavior.

Engineering principles can require use of only well-defined language and API behaviors during development.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect some instances of undefined behavior but does not prevent the root weakness.

prevents

Secure coding explicitly prohibits constructs whose behavior is undefined, unspecified or implementation-defined.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-758, a class-level weakness, and none of its children carries one either.

References