High severity · published Dec 5, 2025
CVE-2025-66624
BACnet-stack MS/TP reply matcher OOB read
7.5
CVSS
0.4%
EPSS
No
On KEV
Description
BACnet Protocol Stack library provides a BACnet application layer, network layer and media access (MAC) layer communications services. Prior to 1.5.0.rc2, The npdu_is_expected_reply function in src/bacnet/npdu.c indexes request_pdu[offset+2/3/5] and reply_pdu[offset+1/2/4] without verifying that those APDU bytes exist. bacnet_npdu_decode() can return offset == 2 for a 2-byte NPDU, so tiny PDUs pass the version check and then get read out of bounds. On ASan/MPU/strict builds this is an immediate crash (DoS). On unprotected builds it is undefined behavior and can mis-route replies; RCE is unlikely because only reads occur, but DoS is reliable.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 36% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BA
bacnet-stack · bacnet-stack
< 1.5.0.rc2 · source: vendor
BS
Bacnet Stack · Bacnetstack
1.5.0 · source: NVD
Affected product
BA
bacnet-stack
bacnet-stack
More from bacnet-stack
9.1
CVE-2026-41475
BACnet Stack: Out-of-Bounds Read in WritePropertyMultiple Decoder via Deprecated Tag Parser
8.1
CVE-2026-26264
BACnet Stack WriteProperty decoding length underflow leads to OOB read and crash
7.5
CVE-2026-41503
BACnet Stack: Out-of-Bounds Read in ReadPropertyMultiple Property Decoder via Deprecated Tag Parser
7.5
CVE-2026-41502
BACnet Stack: Off-by-One Out-of-Bounds Read in ReadPropertyMultiple Object ID Decoder
7.5
CVE-2026-21878
BACnet Stack Improperly Limits Pathnames to a Restricted Directory