# CVE-2020-10023: Shell Subsystem Contains a Buffer Overflow Vulnerability In shell_spaces_trim

- Severity: Medium 6.9 (CVSS:3.1, scored by zephyr) `CVSS:3.1/AV:P/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2020-05-11T22:26:13.032Z
- Modified: 2026-06-17T02:47:13.453Z
- Weaknesses: CWE-120
- Assigned by: zephyr

## Description

The shell subsystem contains a buffer overflow, whereby an adversary with physical access to the device is able to cause a memory corruption, resulting in denial of service or possibly code execution within the Zephyr kernel. See NCC-NCC-019 This issue affects: zephyrproject-rtos zephyr version 1.14.0 and later versions. version 2.1.0 and later versions.

(As written by CVE List.)

## Affected

- zephyrproject-rtos zephyr: from 1.14.0 before unspecified; from 2.1.0 before unspecified
- zephyrproject zephyr: 1.14.1; 2.1.0

## Every score

- zephyr: CVSS:3.1 6.9 Medium `CVSS:3.1/AV:P/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-29> (third-party-advisory)
- <https://github.com/zephyrproject-rtos/zephyr/pull/23304> (patch, third-party-advisory)
- <https://github.com/zephyrproject-rtos/zephyr/pull/23646> (patch, third-party-advisory)
- <https://github.com/zephyrproject-rtos/zephyr/pull/23649> (patch, third-party-advisory)
- <https://docs.zephyrproject.org/latest/security/vulnerabilities.html#cve-2020-10023>

## Sources

- CVE List: [CVE-2020-10023](https://www.cve.org/CVERecord?id=CVE-2020-10023), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2020-10023](https://nvd.nist.gov/vuln/detail/CVE-2020-10023), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-10023 · Whole record: https://cve.day/CVE-2020-10023.json · Rebuilt by cve.day 2026-11-25T22:57:52.370Z
