{"id":"CVE-2026-62972","aliases":["GHSA-9hq3-w3pc-8385"],"url":"https://o3.security/vulnerability/CVE-2026-62972","summary":"BACnet Stack: Out-of-bounds read in lighting_command_decode (full APDU size passed to nested tag decoders)","details":"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.","published":"2026-11-13T15:58:33.986Z","modified":"2026-11-18T20:45:42.014195470Z","cvss":null,"epss":{"score":0.00402,"percentile":0.36556,"asOf":"2026-12-01"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[],"fix":{"url":"https://github.com/bacnet-stack/bacnet-stack/pull/1412","label":"bacnet-stack/bacnet-stack#1412"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62972.json"},{"type":"ADVISORY","url":"https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-9hq3-w3pc-8385"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62972"},{"type":"FIX","url":"https://github.com/bacnet-stack/bacnet-stack/pull/1412"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-11-18T20:45:42.014195470Z"}}