CVE-2025-66624: BACnet-stack MS/TP reply matcher OOB read

Published Dec 5, 2025
·
Updated

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 npduisexpectedreply function in src/bacnet/npdu.c indexes requestpdu[offset+2/3/5] and replypdu[offset+1/2/4] without verifying that those APDU bytes exist. bacnetnpdudecode() 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.

Affected Software

2 affected components
bacnet-stack<1.5.0.rc2
Bacnetstack Bacnet Stack=1.5.0-rc1

Event History

Dec 5, 2025
CVE Published
via MITRE·06:36 PM
Data Sourced
via MITRE·06:36 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-66624?

CVE-2025-66624 is considered to have a high severity due to the potential for denial of service and data corruption.

2

How do I fix CVE-2025-66624?

To fix CVE-2025-66624, upgrade to bacnet-stack version 1.5.0.rc2 or later.

3

What components are affected by CVE-2025-66624?

CVE-2025-66624 affects the BACnet Protocol Stack library up to version 1.5.0.rc2.

4

What is the nature of the vulnerability in CVE-2025-66624?

CVE-2025-66624 involves improper indexing that can lead to unexpected behavior in BACnet communications.

5

Is CVE-2025-66624 remotely exploitable?

Yes, CVE-2025-66624 is potentially remotely exploitable due to its nature within the BACnet Protocol.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203