{"id":"CVE-2026-41502","aliases":["CVE-2026-41502"],"related":[],"kind":"vulnerability","state":"published","title":"BACnet Stack: Off-by-One Out-of-Bounds Read in ReadPropertyMultiple Object ID Decoder","summary":"BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to 1.4.3, an off-by-one out-of-bounds read vulnerability in bacnet-stack's ReadPropertyMultiple service decoder allows unauthenticated remote attackers to read one byte past an allocated buffer boundary by sending a crafted RPM request with a truncated object identifier. The vulnerability is in rpm_decode_object_id(), which checks apdu_len < 5 but then accesses all 6 byte positions (indices 0-5) — consuming 1 byte for the context tag, 4 bytes for the object ID, then reading apdu[5] for the opening tag check. A 5-byte input passes the length check but causes a 1-byte OOB read, leading to crashes on embedded BACnet devices. The vulnerability exists in src/bacnet/rpm.c and affects any deployment that enables the ReadPropertyMultiple confirmed service handler (enabled by default in the reference server). This vulnerability is fixed in 1.4.3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to 1.4.3, an off-by-one out-of-bounds read vulnerability in bacnet-stack's ReadPropertyMultiple service decoder allows unauthenticated remote attackers to read one byte past an allocated buffer boundary by sending a crafted RPM request with a truncated object identifier. The vulnerability is in rpm_decode_object_id(), which checks apdu_len < 5 but then accesses all 6 byte positions (indices 0-5) — consuming 1 byte for the context tag, 4 bytes for the object ID, then reading apdu[5] for the opening tag check. A 5-byte input passes the length check but causes a 1-byte OOB read, leading to crashes on embedded BACnet devices. The vulnerability exists in src/bacnet/rpm.c and affects any deployment that enables the ReadPropertyMultiple confirmed service handler (enabled by default in the reference server). This vulnerability is fixed in 1.4.3.","source":"cvelist"},{"lang":"es","text":"BACnet Stack es una biblioteca C de pila de protocolo de código abierto BACnet para sistemas embebidos. Antes de la versión 1.4.3, una vulnerabilidad de lectura fuera de límites por un byte en el decodificador del servicio ReadPropertyMultiple de bacnet-stack permite a atacantes remotos no autenticados leer un byte más allá del límite de un búfer asignado al enviar una solicitud RPM manipulada con un identificador de objeto truncado. La vulnerabilidad está en rpm_decode_object_id(), que verifica apdu_len menor que 5 pero luego accede a las 6 posiciones de bytes (índices 0-5) - consumiendo 1 byte para la etiqueta de contexto, 4 bytes para el ID de objeto, y luego leyendo apdu[5] para la verificación de la etiqueta de apertura. Una entrada de 5 bytes pasa la verificación de longitud pero causa una lectura OOB de 1 byte, lo que lleva a fallos en dispositivos BACnet embebidos. La vulnerabilidad existe en src/bacnet/rpm.c y afecta a cualquier implementación que habilite el gestor de servicio confirmado ReadPropertyMultiple (habilitado por defecto en el servidor de referencia). Esta vulnerabilidad está corregida en la versión 1.4.3.","source":"nvd"}],"published":"2026-04-24T19:40:43.059Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"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:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-125","CWE-193"],"affected":[{"ranges":[{"version":">= 1.4.0, < 1.4.3","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.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-7545-3fpx-4xw3","tags":["exploit","mitigation","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-04-25T01:53:27.434Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-41502","url":"https://www.cve.org/CVERecord?id=CVE-2026-41502","licence":"CVE Terms of Use","modified":"2026-04-25T01:53:32.781Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-41502","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41502","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.582Z","epss":{"score":0.0062,"percentile":0.44087,"date":"2026-11-30T12:00:22.000Z"}}