CVE-2026-13214: Zephyr Json Unbounded Strcpy

Unbounded string copy (`strcpy` or `strcat`) of parsed JSON data into a destination buffer can cause a buffer overflow if the parsed string exceeds the destination buffer size. Use bounded copying functions such as `strncpy` with explicit NUL termination or `strlcpy`.

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0C
greprules fetch cve-2026-13214-zephyr-json-unbounded-strcpy --engine opengrep

Description

Unbounded string copy (`strcpy` or `strcat`) of parsed JSON data into a destination buffer can cause a buffer overflow if the parsed string exceeds the destination buffer size. Use bounded copying functions such as `strncpy` with explicit NUL termination or `strlcpy`.