# CVE-2025-38680: media: uvcvideo: Fix 1-byte out-of-bounds read in uvc\_parse\_format()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.27% (percentile 13, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2025-09-04T15:32:35.963Z
- **Modified:** 2026-11-05T22:17:24.030Z

## Who should check

- Anyone running Linux \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< 9ad554217c9b945031c73df4e8176a475e2dea57; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< 1e269581b3aa5962fdc52757ab40da286168c087; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< 8343f3fe0b755925f83d60b05e92bf4396879758; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< ffdd82182953df643aa63d999b6f1653d0c93778; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< a97e062e4ff3dab84a2f1eb811e9eddc6699e2a9; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< cac702a439050df65272c49184aef7975fe3eff2; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< 424980d33b3f816485513e538610168b03fab9f1; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< 6d4a7c0b296162354b6fc759a1475b9d57ddfaa6; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< 782b6a718651eda3478b1824b37a8b3185d2740c
- Anyone running Linux 2.6.26

## 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().

## Affected and fixed versions

- Linux: \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< 9ad554217c9b945031c73df4e8176a475e2dea57; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< 1e269581b3aa5962fdc52757ab40da286168c087; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< 8343f3fe0b755925f83d60b05e92bf4396879758; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< ffdd82182953df643aa63d999b6f1653d0c93778; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< a97e062e4ff3dab84a2f1eb811e9eddc6699e2a9; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< cac702a439050df65272c49184aef7975fe3eff2; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< 424980d33b3f816485513e538610168b03fab9f1; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< 6d4a7c0b296162354b6fc759a1475b9d57ddfaa6; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< 782b6a718651eda3478b1824b37a8b3185d2740c (cvelist)
- Linux: 2.6.26 (cvelist)

## Mitigation

- Upgrade Linux to 782b6a718651eda3478b1824b37a8b3185d2740c or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38680. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38680.md
Affected: Linux >= c0efd232929c2cd87238de2cccdaf4e845be5b0c, < 9ad554217c9b945031c73df4e8176a475e2dea57; >= c0efd232929c2cd87238de2cccdaf4e845be5b0c, < 1e269581b3aa5962fdc52757ab40da286168c087; >= c0efd232929c2cd87238de2cccdaf4e845be5b0c, < 8343f3fe0b755925f83d60b05e92bf4396879758; >= c0efd232929c2cd87238de2…
Fixed in: Linux 9ad554217c9b945031c73df4e8176a475e2dea57, Linux 1e269581b3aa5962fdc52757ab40da286168c087, Linux 8343f3fe0b755925f83d60b05e92bf4396879758, Linux 424980d33b3f816485513e538610168b03fab9f1, Linux 6d4a7c0b296162354b6fc759a1475b9d57ddfaa6, Linux 782b6a718651eda3478b1824b37a8b3185d2740c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38680 being exploited?

There is no confirmed exploitation: CVE-2025-38680 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38680?

High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38680?

Linux \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< 9ad554217c9b945031c73df4e8176a475e2dea57; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< 1e269581b3aa5962fdc52757ab40da286168c087; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< 8343f3fe0b755925f83d60b05e92bf4396879758; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< ffdd82182953df643aa63d999b6f1653d0c93778; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< a97e062e4ff3dab84a2f1eb811e9eddc6699e2a9; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< cac702a439050df65272c49184aef7975fe3eff2; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< 424980d33b3f816485513e538610168b03fab9f1; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< 6d4a7c0b296162354b6fc759a1475b9d57ddfaa6; \>= c0efd232929c2cd87238de2cccdaf4e845be5b0c, \< 782b6a718651eda3478b1824b37a8b3185d2740c; Linux 2.6.26.

### Is there a fix for CVE-2025-38680?

Yes. Fixed in Linux 9ad554217c9b945031c73df4e8176a475e2dea57, Linux 1e269581b3aa5962fdc52757ab40da286168c087, Linux 8343f3fe0b755925f83d60b05e92bf4396879758, Linux 424980d33b3f816485513e538610168b03fab9f1, Linux 6d4a7c0b296162354b6fc759a1475b9d57ddfaa6, Linux 782b6a718651eda3478b1824b37a8b3185d2740c. Upgrade Linux to 782b6a718651eda3478b1824b37a8b3185d2740c or later.

### How do I check if I'm affected by CVE-2025-38680?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38680>

HTML: <https://flawdb.com/CVE-2025-38680> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38680>
