# CVE-2026-139804: HID: roccat: pyra: reject short button reports

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:11:19.351Z
- **Modified:** 2026-12-03T04:18:10.230Z

## Who should check

- Anyone running Linux \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< 7f61340b75b5a3ffb5fcb6676bee110327776f72; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< 2b02fc4e5e4a3c6e58d8d9848c72f8773f15ebf8; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< d88711ae10676145268bb280d6ad07c8d714d2f9; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< 215ea32439ad7a8ebee1515929af90d09fa6d47a; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< c40fc6d690a1dfcf7a53496b7d15110cbed242a9; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< 08a4c26838f185f42cb80e5c50826e57c1e18e88; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< 1e190aef086106e76c0e01cf9d9bbc2f0f32db7f; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< 493268f459bb6aeeecbc77f2204c11ad74d05213
- Anyone running Linux 2.6.37

## Description

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.

## Affected and fixed versions

- Linux: \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< 7f61340b75b5a3ffb5fcb6676bee110327776f72; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< 2b02fc4e5e4a3c6e58d8d9848c72f8773f15ebf8; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< d88711ae10676145268bb280d6ad07c8d714d2f9; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< 215ea32439ad7a8ebee1515929af90d09fa6d47a; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< c40fc6d690a1dfcf7a53496b7d15110cbed242a9; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< 08a4c26838f185f42cb80e5c50826e57c1e18e88; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< 1e190aef086106e76c0e01cf9d9bbc2f0f32db7f; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< 493268f459bb6aeeecbc77f2204c11ad74d05213 (cvelist)
- Linux: 2.6.37 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 493268f459bb6aeeecbc77f2204c11ad74d05213 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-139804.md
Affected: Linux >= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, < 7f61340b75b5a3ffb5fcb6676bee110327776f72; >= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, < 2b02fc4e5e4a3c6e58d8d9848c72f8773f15ebf8; >= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, < d88711ae10676145268bb280d6ad07c8d714d2f9; >= cb7cf3da0daa9830e00640d…
Fixed in: Linux 7f61340b75b5a3ffb5fcb6676bee110327776f72, Linux 2b02fc4e5e4a3c6e58d8d9848c72f8773f15ebf8, Linux 215ea32439ad7a8ebee1515929af90d09fa6d47a, Linux 08a4c26838f185f42cb80e5c50826e57c1e18e88, Linux 1e190aef086106e76c0e01cf9d9bbc2f0f32db7f, Linux 493268f459bb6aeeecbc77f2204c11ad74d05213

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-2026-139804 being exploited?

There is no confirmed exploitation: CVE-2026-139804 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139804?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-139804?

Linux \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< 7f61340b75b5a3ffb5fcb6676bee110327776f72; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< 2b02fc4e5e4a3c6e58d8d9848c72f8773f15ebf8; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< d88711ae10676145268bb280d6ad07c8d714d2f9; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< 215ea32439ad7a8ebee1515929af90d09fa6d47a; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< c40fc6d690a1dfcf7a53496b7d15110cbed242a9; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< 08a4c26838f185f42cb80e5c50826e57c1e18e88; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< 1e190aef086106e76c0e01cf9d9bbc2f0f32db7f; \>= cb7cf3da0daa9830e00640da8f7d2380f4b4de42, \< 493268f459bb6aeeecbc77f2204c11ad74d05213; Linux 2.6.37.

### Is there a fix for CVE-2026-139804?

Yes. Fixed in Linux 7f61340b75b5a3ffb5fcb6676bee110327776f72, Linux 2b02fc4e5e4a3c6e58d8d9848c72f8773f15ebf8, Linux 215ea32439ad7a8ebee1515929af90d09fa6d47a, Linux 08a4c26838f185f42cb80e5c50826e57c1e18e88, Linux 1e190aef086106e76c0e01cf9d9bbc2f0f32db7f, Linux 493268f459bb6aeeecbc77f2204c11ad74d05213. Upgrade Linux to 493268f459bb6aeeecbc77f2204c11ad74d05213 or later.

### How do I check if I'm affected by CVE-2026-139804?

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

- other: <https://git.kernel.org/stable/c/7f61340b75b5a3ffb5fcb6676bee110327776f72>
- other: <https://git.kernel.org/stable/c/2b02fc4e5e4a3c6e58d8d9848c72f8773f15ebf8>
- other: <https://git.kernel.org/stable/c/d88711ae10676145268bb280d6ad07c8d714d2f9>
- other: <https://git.kernel.org/stable/c/215ea32439ad7a8ebee1515929af90d09fa6d47a>
- other: <https://git.kernel.org/stable/c/c40fc6d690a1dfcf7a53496b7d15110cbed242a9>
- other: <https://git.kernel.org/stable/c/08a4c26838f185f42cb80e5c50826e57c1e18e88>
- other: <https://git.kernel.org/stable/c/1e190aef086106e76c0e01cf9d9bbc2f0f32db7f>
- other: <https://git.kernel.org/stable/c/493268f459bb6aeeecbc77f2204c11ad74d05213>

## 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-2026-139804>

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