# CVE-2025-38680: media: uvcvideo: Fix 1-byte out-of-bounds read in uvc_parse_format()

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-09-04T15:32:35.963Z
- Modified: 2026-11-05T22:17:24.030Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

media: uvcvideo: Fix 1-byte out-of-bounds read in uvc_parse_format()

The buffer length check before calling uvc_parse_format() only ensured
that the buffer has at least 3 bytes (buflen > 2), buf the function
accesses buffer[3], requiring at least 4 bytes.

This can lead to an out-of-bounds read if the buffer has exactly 3 bytes.

Fix it by checking that the buffer has at least 4 bytes in
uvc_parse_format().

(As written by CVE List.)

## Affected

- Linux Linux: from c0efd232929c2cd87238de2cccdaf4e845be5b0c before 9ad554217c9b945031c73df4e8176a475e2dea57; from c0efd232929c2cd87238de2cccdaf4e845be5b0c before 1e269581b3aa5962fdc52757ab40da286168c087; from c0efd232929c2cd87238de2cccdaf4e845be5b0c before 8343f3fe0b755925f83d60b05e92bf4396879758; from c0efd232929c2cd87238de2cccdaf4e845be5b0c before ffdd82182953df643aa63d999b6f1653d0c93778; from c0efd232929c2cd87238de2cccdaf4e845be5b0c before a97e062e4ff3dab84a2f1eb811e9eddc6699e2a9; from c0efd232929c2cd87238de2cccdaf4e845be5b0c before cac702a439050df65272c49184aef7975fe3eff2; from c0efd232929c2cd87238de2cccdaf4e845be5b0c before 424980d33b3f816485513e538610168b03fab9f1; from c0efd232929c2cd87238de2cccdaf4e845be5b0c before 6d4a7c0b296162354b6fc759a1475b9d57ddfaa6; from c0efd232929c2cd87238de2cccdaf4e845be5b0c before 782b6a718651eda3478b1824b37a8b3185d2740c; 2.6.26 (not affected: before 2.6.26; from 5.4.297 up to 5.4.*; from 5.10.241 up to 5.10.*; from 5.15.190 up to 5.15.*; from 6.1.149 up to 6.1.*; from 6.6.103 up to 6.6.*; from 6.12.43 up to 6.12.*; from 6.15.11 up to 6.15.*; from 6.16.2 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 2.6.27 before 5.4.297; from 5.5 before 5.10.241; from 5.11 before 5.15.190; from 5.16 before 6.1.149; from 6.2 before 6.6.103; from 6.7 before 6.12.43; from 6.13 before 6.15.11; from 6.16 before 6.16.2; 2.6.26
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/9ad554217c9b945031c73df4e8176a475e2dea57> (patch)
- <https://git.kernel.org/stable/c/1e269581b3aa5962fdc52757ab40da286168c087> (patch)
- <https://git.kernel.org/stable/c/8343f3fe0b755925f83d60b05e92bf4396879758> (patch)
- <https://git.kernel.org/stable/c/ffdd82182953df643aa63d999b6f1653d0c93778> (patch)
- <https://git.kernel.org/stable/c/a97e062e4ff3dab84a2f1eb811e9eddc6699e2a9> (patch)
- <https://git.kernel.org/stable/c/cac702a439050df65272c49184aef7975fe3eff2> (patch)
- <https://git.kernel.org/stable/c/424980d33b3f816485513e538610168b03fab9f1> (patch)
- <https://git.kernel.org/stable/c/6d4a7c0b296162354b6fc759a1475b9d57ddfaa6> (patch)
- <https://git.kernel.org/stable/c/782b6a718651eda3478b1824b37a8b3185d2740c> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## Sources

- CVE List: [CVE-2025-38680](https://www.cve.org/CVERecord?id=CVE-2025-38680), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38680](https://nvd.nist.gov/vuln/detail/CVE-2025-38680), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38680 · Whole record: https://cve.day/CVE-2025-38680.json · Rebuilt by cve.day 2026-11-25T22:59:04.129Z
