Impact
The vulnerability arises from an unbounded memcpy in the OSDP Control Panel reply parser, allowing an attacker who can inject frames on the RS‑485 bus to write beyond the fixed‑size event structure. This overflow can corrupt the stack, causing a crash or potentially hijacking the return address of the OSDP receive thread. The flaw is a classic out‑of‑bounds write (CWE‑787) that enables remote code execution against the access‑control panel if the attacker can send crafted frames.
Affected Systems
The issue exists in Zephyr RTOS, specifically the OSDP subsystem in zephyrproject:zephyr. It affects builds that enable CONFIG_OSDP with CONFIG_OSDP_MODE_CP and register an application event callback. Versions prior to the commit that added bounds checks for REPLY_KEYPPAD and REPLY_RAW are vulnerable; no specific release numbers are listed in the advisory.
Risk and Exploitability
The CVSS score of 8.8 reflects a high severity, and the EPSS score is not available, indicating limited data on exploitation frequency. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires physical or network access to the RS‑485 bus and the ability to send a valid frame with a correct length and CRC, but no matching of reply ID to command is enforced. An attacker can thus send a forged REPLY_KEYPPAD or REPLY_RAW frame with an oversized payload, triggering the overflow. The risk is elevated for systems where the RS‑485 bus is exposed to untrusted devices or where OSDP is used in public or semi‑public access‑control environments.
OpenCVE Enrichment