Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.241, 5.15.190, 5.4.297, 6.1.149, 6.12.43, 6.15.11, 6.16.2, 6.6.103
CVEs
CVE-2025-38680
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 17:14 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 4 Sept 2025, 15:32 UTC

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

osv:CVE-2025-38680

Kernel

Fixed versions: 5.4.297, 5.10.241, 5.15.190, 6.1.149, 6.6.103, 6.12.43, 6.15.11, 6.16.2

Complete source record
{
  "id": "d5cacc7ba3a61d0a07cc8cde3876077852846550806df63a6fed7e53f49eb1c4",
  "url": "https://osv.dev/vulnerability/CVE-2025-38680",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "media: uvcvideo: Fix 1-byte out-of-bounds read in uvc_parse_format()",
    "summary": "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().",
    "evidence": "osv:CVE-2025-38680",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.297",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.241",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.190",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.149",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.103",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.43",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.15.11",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.16.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-38680",
      "aliases": [
        "CVE-2025-38680"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c0efd232929c2cd87238de2cccdaf4e845be5b0c"
                },
                {
                  "fixed": "9ad554217c9b945031c73df4e8176a475e2dea57"
                },
                {
                  "fixed": "1e269581b3aa5962fdc52757ab40da286168c087"
                },
                {
                  "fixed": "8343f3fe0b755925f83d60b05e92bf4396879758"
                },
                {
                  "fixed": "ffdd82182953df643aa63d999b6f1653d0c93778"
                },
                {
                  "fixed": "a97e062e4ff3dab84a2f1eb811e9eddc6699e2a9"
                },
                {
                  "fixed": "cac702a439050df65272c49184aef7975fe3eff2"
                },
                {
                  "fixed": "424980d33b3f816485513e538610168b03fab9f1"
                },
                {
                  "fixed": "6d4a7c0b296162354b6fc759a1475b9d57ddfaa6"
                },
                {
                  "fixed": "782b6a718651eda3478b1824b37a8b3185d2740c"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38680.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.26"
                },
                {
                  "fixed": "5.4.297"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.241"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.190"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.149"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.103"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.43"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.15.11"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.16.0"
                },
                {
                  "fixed": "6.16.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38680.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.602346440Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-032379.html",
        "https://git.kernel.org/stable/c/1e269581b3aa5962fdc52757ab40da286168c087",
        "https://git.kernel.org/stable/c/424980d33b3f816485513e538610168b03fab9f1",
        "https://git.kernel.org/stable/c/6d4a7c0b296162354b6fc759a1475b9d57ddfaa6",
        "https://git.kernel.org/stable/c/782b6a718651eda3478b1824b37a8b3185d2740c",
        "https://git.kernel.org/stable/c/8343f3fe0b755925f83d60b05e92bf4396879758",
        "https://git.kernel.org/stable/c/9ad554217c9b945031c73df4e8176a475e2dea57",
        "https://git.kernel.org/stable/c/a97e062e4ff3dab84a2f1eb811e9eddc6699e2a9",
        "https://git.kernel.org/stable/c/cac702a439050df65272c49184aef7975fe3eff2",
        "https://git.kernel.org/stable/c/ffdd82182953df643aa63d999b6f1653d0c93778",
        "https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html",
        "https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38680.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-38680",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38680.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-38680",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 497749,
  "published_at": "2025-09-04T15:32:35.963+00:00"
}