CVE-2026-41502

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:bacnetstack:bacnet_stack:*:*:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc1:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc2:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc3:*:*:*:*:*:*

History

11 Nov 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) 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.

28 Apr 2026, 15:35

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
First Time Bacnetstack
Bacnetstack bacnet Stack
CPE cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc2:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc3:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc1:*:*:*:*:*:*
cpe:2.3:a:bacnetstack:bacnet_stack:*:*:*:*:*:*:*:*
References () https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-7545-3fpx-4xw3 - () https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-7545-3fpx-4xw3 - Exploit, Mitigation, Vendor Advisory

25 Apr 2026, 03:16

Type Values Removed Values Added
References () https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-7545-3fpx-4xw3 - () https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-7545-3fpx-4xw3 -

24 Apr 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-24 20:16

Updated : 2026-11-11 23:10


NVD link : CVE-2026-41502

Mitre link : CVE-2026-41502

CVE.ORG link : CVE-2026-41502


JSON object : View

Products Affected

bacnetstack

  • bacnet_stack
CWE
CWE-125

Out-of-bounds Read

CWE-193

Off-by-one Error