CVE Explorer
CVE-2025-66624
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"bacnet-stack","vendor":"bacnet-stack","versions":[{"status":"affected","version":"< 1.5.0.rc2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:31e4967aa2269e713a943f83bb40a3fba9ed40560c79cc2c9f8d92ed1e8ccbda · sha256:ba9a7b4e0e964cdb… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:31e4967aa2269e713a943f83bb40a3fba9ed40560c79cc2c9f8d92ed1e8ccbda · sha256:ba9a7b4e0e964cdb… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:31e4967aa2269e713a943f83bb40a3fba9ed40560c79cc2c9f8d92ed1e8ccbda · sha256:ba9a7b4e0e964cdb… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/bacnet-stack/bacnet-stack/commit/9378f7d1e70169ebde4a5090bae7603703eadf48","tags":["x_refsource_MISC"],"url":"https://github.com/bacnet-stack/bacnet-stack/commit/9378f7d1e70169ebde4a5090bae7603703eadf48"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:31e4967aa2269e713a943f83bb40a3fba9ed40560c79cc2c9f8d92ed1e8ccbda · sha256:ba9a7b4e0e964cdb… · /containers/cna/references/1
{"name":"https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-8wgw-5h6x-qgqg","tags":["x_refsource_CONFIRM"],"url":"https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-8wgw-5h6x-qgqg"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:31e4967aa2269e713a943f83bb40a3fba9ed40560c79cc2c9f8d92ed1e8ccbda · sha256:ba9a7b4e0e964cdb… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.