# CVE-2021-3835: Buffer overflow in usb device class

- Severity: High 8.2 (CVSS:3.1, scored by zephyr) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/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.77%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-07T22:00:12.211Z
- Modified: 2026-06-17T04:05:51.807Z
- Weaknesses: CWE-122, CWE-787
- Assigned by: zephyr

## Description

Buffer overflow in usb device class. Zephyr versions >= v2.6.0 contain Heap-based Buffer Overflow (CWE-122). For more information, see https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fm6v-8625-99jf

(As written by CVE List.)

## Affected

- zephyrproject-rtos zephyr: from v2.6.0 before unspecified
- zephyrproject zephyr: from 2.6.0 before 2.7.1; 3.0.0

## Every score

- zephyr: CVSS:3.1 8.2 High `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 5.8 Medium `AV:A/AC:L/Au:N/C:P/I:P/A:P`

## References

- <http://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fm6v-8625-99jf> (exploit, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-3835 · Whole record: https://cve.day/CVE-2021-3835.json · Rebuilt by cve.day 2026-11-25T22:58:06.791Z
