{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "cb7cf3da0daa9830e00640da8f7d2380f4b4de42"
            },
            {
              "fixed": "7f61340b75b5a3ffb5fcb6676bee110327776f72"
            },
            {
              "fixed": "2b02fc4e5e4a3c6e58d8d9848c72f8773f15ebf8"
            },
            {
              "fixed": "d88711ae10676145268bb280d6ad07c8d714d2f9"
            },
            {
              "fixed": "215ea32439ad7a8ebee1515929af90d09fa6d47a"
            },
            {
              "fixed": "c40fc6d690a1dfcf7a53496b7d15110cbed242a9"
            },
            {
              "fixed": "08a4c26838f185f42cb80e5c50826e57c1e18e88"
            },
            {
              "fixed": "1e190aef086106e76c0e01cf9d9bbc2f0f32db7f"
            },
            {
              "fixed": "493268f459bb6aeeecbc77f2204c11ad74d05213"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.37"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.61"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139804.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: roccat: pyra: reject short button reports\n\nThe raw event callback runs before HID core validates and zero-pads the\nreport.  It passes the buffer to helpers which inspect data[0] and read a\ncomplete struct pyra_mouse_event_button for button reports.  A truncated\nreport can therefore cause an out-of-bounds read.\n\nRequire enough data for the button report before calling either helper.\nCommit 47669bec44fe (\"HID: asus: refactor the two workqueues and init\nsequence\") added the same kind of raw-event length validation to hid-asus.",
  "id": "CVE-2026-139804",
  "modified": "2026-12-03T04:45:36.008422722Z",
  "published": "2026-12-03T03:11:19.351Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/08a4c26838f185f42cb80e5c50826e57c1e18e88"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1e190aef086106e76c0e01cf9d9bbc2f0f32db7f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/215ea32439ad7a8ebee1515929af90d09fa6d47a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2b02fc4e5e4a3c6e58d8d9848c72f8773f15ebf8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/493268f459bb6aeeecbc77f2204c11ad74d05213"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7f61340b75b5a3ffb5fcb6676bee110327776f72"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c40fc6d690a1dfcf7a53496b7d15110cbed242a9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d88711ae10676145268bb280d6ad07c8d714d2f9"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139804.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139804"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "HID: roccat: pyra: reject short button reports"
}