CVE-2025-66624CWE-125

BACnet-stack MS/TP reply matcher OOB read

High · published December 5, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
34.5
In the wild
Unconfirmed
What it is

⚡ A tiny PDU can cause big problems! The BACnet Protocol Stack library can crash or misroute communications when it mishandles small packet data — like a crowded restaurant where servers start mixing up tiny orders! 🍽️ Imagine a restaurant where a waiter tries to deliver a meal based on a tiny, almost unreadable ticket — they might just serve the wrong dish, or worse, drop everything and crash into the kitchen! That's how this vulnerability mishandles small BACnet PDUs, leading to potential chaos in communication. An attacker could exploit this flaw to trigger a denial-of-service (DoS) condition, causing the service to crash when tiny PDUs are processed. While remote code execution is unlikely, the misrouting of replies can severely disrupt the intended communication, making this a high-risk vulnerability to address.

Put simply

Imagine a restaurant where a waiter tries to deliver a meal based on a tiny, almost unreadable ticket — they might just serve the wrong dish, or worse, drop everything and crash into the kitchen! That's how this vulnerability mishandles small BACnet PDUs, leading to potential chaos in communication. The npdu_is_expected_reply function in the BACnet Protocol Stack library fails to verify the existence of certain APDU bytes before indexing them, resulting in potential out-of-bounds reads. This can lead to crashes in strict builds or undefined behavior in unprotected builds.

What to do

An attacker could exploit this flaw to trigger a denial-of-service (DoS) condition, causing the service to crash when tiny PDUs are processed. While remote code execution is unlikely, the misrouting of replies can severely disrupt the intended communication, making this a high-risk vulnerability to address. Update the BACnet Protocol Stack library to version 1.5.0.rc2 or later to address this vulnerability. Conduct a thorough review of any dependent systems to ensure they handle PDUs correctly under all conditions. Consider implementing additional input validation measures. You've got this! Follow these steps to secure your communications and keep everything running smoothly. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00414 · 34.5th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2025-12-05T18:36Z
EPSS history
Timeline
  • 05 DEC 18:36Z
    BACnet-stack MS/TP reply matcher OOB read
    cvelistv5