{"id":"CVE-2026-62972","published":"2026-11-13T15:58:33Z","modified":"2026-11-17T20:16:25Z","title":"BACnet Stack: Out-of-bounds read in lighting_command_decode (full APDU size passed to nested tag decoders)","vendor":"bacnet-stack","product":"bacnet-stack","tier":"tail","description":{"text":"BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to versions 1.4.5, 1.5.1, and 1.6.0, lighting_command_decode in src/bacnet/lighting.c decodes its first field with the bounded apdu_size - apdu_len, but every nested decode in the operation switch is called with the original full apdu_size while the read pointer has been advanced to &apdu[apdu_len]. The leaf decoders bound their reads against the size they are told, so they read up to apdu_len bytes past the end of the caller's buffer, resulting in an out-of-bounds read. This issue has been patched in versions 1.4.5, 1.5.1, and 1.6.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00402,"percentile":0.35209,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-9hq3-w3pc-8385","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bacnet-stack/bacnet-stack/pull/1412","tags":["x_refsource_MISC"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":7.04},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"bacnet-stack","affectedVersions":[{"vendor":"bacnet-stack","product":"bacnet-stack","versions":["< 1.4.5","< 1.5.1","< 1.6.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-17T20:14:24.486894Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-125539","exploited":false,"provenance":"source"}}