CVE-2026-139804

Source
https://cve.org/CVERecord?id=CVE-2026-139804
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139804.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139804
Downstream
Published
2026-12-03T03:11:19Z
Modified
2026-12-03T05:00:23Z
Summary
HID: roccat: pyra: reject short button reports
Details

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

HID: roccat: pyra: reject short button reports

The raw event callback runs before HID core validates and zero-pads the report. It passes the buffer to helpers which inspect data[0] and read a complete struct pyra_mouse_event_button for button reports. A truncated report can therefore cause an out-of-bounds read.

Require enough data for the button report before calling either helper. Commit 47669bec44fe ("HID: asus: refactor the two workqueues and init sequence") added the same kind of raw-event length validation to hid-asus.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139804.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cb7cf3da0daa9830e00640da8f7d2380f4b4de42
Fixed
7f61340b75b5a3ffb5fcb6676bee110327776f72
Fixed
2b02fc4e5e4a3c6e58d8d9848c72f8773f15ebf8
Fixed
d88711ae10676145268bb280d6ad07c8d714d2f9
Fixed
215ea32439ad7a8ebee1515929af90d09fa6d47a
Fixed
c40fc6d690a1dfcf7a53496b7d15110cbed242a9
Show 3 more events Show fewer events
Fixed
08a4c26838f185f42cb80e5c50826e57c1e18e88
Fixed
1e190aef086106e76c0e01cf9d9bbc2f0f32db7f
Fixed
493268f459bb6aeeecbc77f2204c11ad74d05213

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139804.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139804.json"