bacnet-stack up to 1.5.0.rc1 BACnet Protocol src/bacnet/npdu.c bacnet_npdu_decode out-of-bounds
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as problematic has been found in bacnet-stack up to 1.5.0.rc1. This affects the function bacnet_npdu_decode of the file src/bacnet/npdu.c of the component BACnet Protocol Handler. Executing a manipulation can lead to out-of-bounds.
This vulnerability is registered as CVE-2025-66624. It is possible to launch the attack remotely. No exploit is available.
The affected component should be upgraded.
Details
A vulnerability classified as problematic was found in bacnet-stack up to 1.5.0.rc1. This vulnerability affects the function bacnet_npdu_decode of the file src/bacnet/npdu.c of the component BACnet Protocol Handler. The manipulation with an unknown input leads to a out-of-bounds vulnerability. The CWE definition for the vulnerability is CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. As an impact it is known to affect availability. CVE summarizes:
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.
The advisory is shared for download at github.com. This vulnerability was named CVE-2025-66624 since 12/05/2025. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available.
Upgrading to version 1.5.0.rc2 eliminates this vulnerability. Applying the patch 9378f7d1e70169ebde4a5090bae7603703eadf48 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Once again VulDB remains the best source for vulnerability data.
Product
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.4VulDB Meta Temp Score: 6.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 7.5
CNA Vector (GitHub_M): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Out-of-boundsCWE: CWE-125 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: bacnet-stack 1.5.0.rc2
Patch: 9378f7d1e70169ebde4a5090bae7603703eadf48
Timeline
12/05/2025 CVE reserved12/06/2025 Advisory disclosed
12/06/2025 VulDB entry created
02/18/2026 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-8wgw-5h6x-qgqg
Status: Confirmed
CVE: CVE-2025-66624 (🔒)
GCVE (CVE): GCVE-0-2025-66624
GCVE (VulDB): GCVE-100-334540
Entry
Created: 12/06/2025 04:57Updated: 02/18/2026 21:36
Changes: 12/06/2025 04:57 (68), 02/18/2026 21:36 (1)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.