← Vulnerability feed

Vulnerability record · CVE-2025-66624 · published 5 December 2025

CVE-2025-66624: Bacnetstack bacnet stack out-of-bounds read vulnerability

BBacnetstack · Bacnet Stack

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.

7.5 CVSS 3.1 High EPSS 0.41% · top 66.9% CWE-125 · Out-of-bounds read
7.5CVSS 3.1 base score
0.41%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 1 tagged exploit
17 Jun 2026Last modified by NVD

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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

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

References

Track CVE-2025-66624 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%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%3.7CVE-2026-40279Bacnetstack bacnet stack vulnerabilityBACnet 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 reconstr…EPSS 0.33%

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