Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-38680

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • c0efd232929c2cd87238de2cccdaf4e845be5b0c to < 9ad554217c9b945031c73df4e8176a475e2dea57affected
  • c0efd232929c2cd87238de2cccdaf4e845be5b0c to < 1e269581b3aa5962fdc52757ab40da286168c087affected
  • c0efd232929c2cd87238de2cccdaf4e845be5b0c to < 8343f3fe0b755925f83d60b05e92bf4396879758affected
  • c0efd232929c2cd87238de2cccdaf4e845be5b0c to < ffdd82182953df643aa63d999b6f1653d0c93778affected
  • c0efd232929c2cd87238de2cccdaf4e845be5b0c to < a97e062e4ff3dab84a2f1eb811e9eddc6699e2a9affected
  • c0efd232929c2cd87238de2cccdaf4e845be5b0c to < cac702a439050df65272c49184aef7975fe3eff2affected
  • c0efd232929c2cd87238de2cccdaf4e845be5b0c to < 424980d33b3f816485513e538610168b03fab9f1affected
  • c0efd232929c2cd87238de2cccdaf4e845be5b0c to < 6d4a7c0b296162354b6fc759a1475b9d57ddfaa6affected
  • c0efd232929c2cd87238de2cccdaf4e845be5b0c to < 782b6a718651eda3478b1824b37a8b3185d2740caffected

Linux Linux

Default version status: affected

  • 2.6.26affected
  • 0 to < 2.6.26unaffected
  • 5.4.297 to ≤ 5.4.*unaffected
  • 5.10.241 to ≤ 5.10.*unaffected
  • 5.15.190 to ≤ 5.15.*unaffected
  • 6.1.149 to ≤ 6.1.*unaffected
  • 6.6.103 to ≤ 6.6.*unaffected
  • 6.12.43 to ≤ 6.12.*unaffected
  • 6.15.11 to ≤ 6.15.*unaffected
  • 6.16.2 to ≤ 6.16.*unaffected
  • 6.17 to ≤ *unaffected

References