Impact
An out-of-bounds read in the coredump shell command occurs when the 16-bit target code field of a stored Zephyr core dump header is used as an array index without bounds checking. The vulnerability can read a pointer beyond a seven-element array and then use that pointer as a string argument, leading to either disclosure of arbitrary device memory to the shell user or a crash if the pointer is unmapped. This flaw is classified as CWE-125.
Affected Systems
The flaw exists in Zephyr project installations from version 4.2.0 up to and including 4.4.0. It is present in the subsys/debug/coredump component and was introduced in the commit a9226324e8bd1f8adecafb1b6e0603f781dc750c. The defect is fixed in newer releases by clamping any out-of-range codes to the 'unknown' entry (index 0).
Risk and Exploitability
The CVSS base score of 3 indicates low severity, and the EPSS score of less than 1% suggests a very low probability of exploitation. The vulnerability requires local shell access and the ability to stage or corrupt a stored core dump in flash or memory. It is not listed in the CISA KEV catalog. Under these conditions, the risk is limited to devices where an attacker can gain local shell privileges and manipulate core dumps, potentially exposing memory or causing a system crash.
OpenCVE Enrichment