Impact
The CoAP link-format helper function match_path_uri() in Zephyr's CoAP subsystem compares a registered resource path with a URI supplied in a Uri-Query href= option. It fails to enforce that the comparison index remains within the bounds of the option length, causing an out‑of‑bounds read of the option buffer. The over‑read is bounded by the length of the candidate resource segment and typically results in reading only one byte beyond the end. This leads to undefined behaviour but does not expose data or alter the response; the read occurs solely within a stack‑local option value that is copied from the received packet.
Affected Systems
Zephyr Project RTOS (zephyrproject:zephyr) builds that enable CONFIG_COAP_SERVER_WELL_KNOWN_CORE and expose /.well-known/core with at least one resource having coap_core_metadata. All releases prior to the patch commit ef5b303dc88fb5159850623a2b51b590c36fa5bc are susceptible.
Risk and Exploitability
The CVSS score of 3.7 classifies the vulnerability as low severity. The EPSS score is unavailable and the issue is not listed in the CISA KEV catalog. An attacker can trigger the out‑of‑bounds read by sending an unauthenticated GET /.well‑known/core?href=/<prefix> request. The resulting undefined behaviour is limited to potential logic inconsistency or application instability; no information disclosure or remote code execution is described.
OpenCVE Enrichment