{"id":"CVE-2026-26264","aliases":["CVE-2026-26264"],"related":[],"kind":"vulnerability","state":"published","title":"BACnet Stack WriteProperty decoding length underflow leads to OOB read and crash","summary":"BACnet 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 can trigger a length underflow in the BACnet stack, leading to an out‑of‑bounds read and a crash (DoS). The issue is in wp.c within wp_decode_service_request. When decoding the optional priority context tag, the code passes apdu_len - apdu_size to bacnet_unsigned_context_decode without validating that apdu_size <= apdu_len. If a truncated APDU reaches this path, apdu_len - apdu_size underflows, resulting in a large size being used for decoding and an out‑of‑bounds read. This vulnerability is fixed in 1.5.0rc4 and 1.4.3rc2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"BACnet 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 can trigger a length underflow in the BACnet stack, leading to an out‑of‑bounds read and a crash (DoS). The issue is in wp.c within wp_decode_service_request. When decoding the optional priority context tag, the code passes apdu_len - apdu_size to bacnet_unsigned_context_decode without validating that apdu_size <= apdu_len. If a truncated APDU reaches this path, apdu_len - apdu_size underflows, resulting in a large size being used for decoding and an out‑of‑bounds read. This vulnerability is fixed in 1.5.0rc4 and 1.4.3rc2.","source":"cvelist"},{"lang":"es","text":"BACnet Stack es una librería C de pila de protocolo de código abierto BACnet para sistemas embebidos. Antes de 1.5.0rc4 y 1.4.3rc2, una solicitud WriteProperty malformada puede desencadenar un desbordamiento negativo de longitud en la pila BACnet, lo que lleva a una lectura fuera de límites y un fallo (DoS). El problema está en wp.c dentro de wp_decode_service_request. Al decodificar la etiqueta de contexto de prioridad opcional, el código pasa apdu_len - apdu_size a bacnet_unsigned_context_decode sin validar que apdu_size &lt;= apdu_len. Si una APDU truncada alcanza esta ruta, apdu_len - apdu_size sufre un desbordamiento negativo, lo que resulta en un tamaño grande siendo utilizado para la decodificación y una lectura fuera de límites. Esta vulnerabilidad está corregida en 1.5.0rc4 y 1.4.3rc2.","source":"nvd"}],"published":"2026-02-13T18:14:30.232Z","modified":"2026-06-17T10:26:00.427Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"version":">= 1.5.0rc1, < 1.5.0rc4","status":"affected"},{"version":"< 1.4.3rc2","status":"affected"}],"vendor":"bacnet-stack","product":"bacnet-stack","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"1.4.0","fixed":"1.4.3"},{"status":"affected","version":"1.4.3"},{"status":"affected","version":"1.5.0"},{"status":"affected","version":"1.5.0"},{"status":"affected","version":"1.5.0"}],"vendor":"bacnetstack","product":"bacnet_stack","cpe":"cpe:2.3:a:bacnetstack:bacnet_stack:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-phjh-v45p-gmjj","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bacnet-stack/bacnet-stack/commit/4cc8067c86f26e2b08b2c8f4d27f8e07de4d4708","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-02-13T18:49:44.498Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-26264","url":"https://www.cve.org/CVERecord?id=CVE-2026-26264","licence":"CVE Terms of Use","modified":"2026-02-13T18:50:30.367Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-26264","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26264","licence":"Public domain","modified":"2026-06-17T10:26:00.427Z"}],"updatedAt":"2026-11-25T22:59:13.851Z","epss":{"score":0.0065,"percentile":0.4586,"date":"2026-11-30T12:00:22.000Z"}}