Home / Linux / Linux / CVE-2025-37814
CVE-2025-37814: is it exploited, and which versions of Linux are affected and fixed?
CVE-2025-37814 is a vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: Linux from 6.12.14 before 6.12.26, Linux from 6.13.3 before 6.14 and Linux from 6.14 until the fixed versions (CVE record by Linux). Fixed in 6.12.26, 6.14, 6.14.5 and 6.15 (CVE record by Linux). Severity: High (7.8, CVSS 3.1, from Linux).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 28, 2026, 17:46 UTC and NVD November 19, 2026, 07:20 UTC.
What is CVE-2025-37814?
In the Linux kernel, the following vulnerability has been resolved: tty: Require CAP_SYS_ADMIN for all usages of TIOCL_SELMOUSEREPORT This requirement was overeagerly loosened in commit 2f83e38a095f ("tty: Permit some TIOCL_SETSEL modes without CAP_SYS_ADMIN"), but as it turns out, (1) the logic I implemented there was inconsistent (apologies!), (2) TIOCL_SELMOUSEREPORT might actually be a small security risk after all, and (3) TIOCL_SELMOUSEREPORT is only meant to be used by the mouse daemon (GPM or Consolation), which runs as CAP_SYS_ADMIN already. In more detail: 1. The previous patch has inconsistent logic: In commit 2f83e38a095f ("tty: Permit some TIOCL_SETSEL modes without CAP_SYS_ADMIN"), we checked for sel_mode == TIOCL_SELMOUSEREPORT, but overlooked that the lower four bits of this "mode" parameter were actually used as an additional way to pass an argument. So the patch did actually still require CAP_SYS_ADMIN, if any of the mouse button bits are set, but did not require it if none of the mouse buttons bits are set. This logic is inconsistent and was not intentional. We should have the same policies for using TIOCL_SELMOUSEREPORT independent of the value of the "hidden" mouse button argument. I sent a separate documentation patch to the man page list with more details on TIOCL_SELMOUSEREPORT: https://lore.kernel.org/all/[email protected]/ 2. TIOCL_SELMOUSEREPORT is indeed a potential security risk which can let an attacker simulate "keyboard" input to command line applications on the same terminal, like TIOCSTI and some other TIOCLINUX "selection mode" IOCTLs. By enabling mouse reporting on a terminal and then injecting mouse reports through TIOCL_SELMOUSEREPORT, an attacker can simulate mouse movements on the same terminal, similar to the TIOCSTI keystroke injection attacks that were previously possible with TIOCSTI and other TIOCL_SETSEL selection modes. Many programs (including libreadline/bash) are then prone to misinterpret these mouse reports as normal keyboard input because they do not expect input in the X11 mouse protocol form. The attacker does not have complete control over the escape sequence, but they can at least control the values of two consecutive bytes in the binary mouse reporting escape sequence. I went into more detail on that in the discussion at https://lore.kernel.org/all/[email protected]/ It is not equally trivial to simulate arbitrary keystrokes as it was with TIOCSTI (commit 83efeeeb3d04 ("tty: Allow TIOCSTI to be disabled")), but the general mechanism is there, and together with the small number of existing legit use cases (see below), it would be better to revert back to requiring CAP_SYS_ADMIN for TIOCL_SELMOUSEREPORT, as it was already the case before commit 2f83e38a095f ("tty: Permit some TIOCL_SETSEL modes without CAP_SYS_ADMIN"). 3. TIOCL_SELMOUSEREPORT is only used by the mouse daemons (GPM or Consolation), and they are the only legit use case: To quote console_codes(4): The mouse tracking facility is intended to return xterm(1)-compatible mouse status reports. Because the console driver has no way to know the device or type of the mouse, these reports are returned in the console input stream only when the virtual terminal driver receives a mouse update ioctl. These ioctls must be generated by a mouse-aware user-mode application such as the gpm(8) daemon. Jared Finder has also confirmed in https://lore.kernel.org/all/[email protected]/ that Emacs does not call TIOCL_SELMOUSEREPORT directly, and it would be difficult to find good reasons for doing that, given that it would interfere with the reports that GPM is sending. More information on the interaction between GPM, terminals and th ---truncated---
From the CVE record by Linux, last updated August 5, 2026, 11:57 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | from 6.12.14 before 6.12.26 from 6.13.3 before 6.14 | 6.12.26, 6.14 |
| Linux | Linux | from 6.14 until the fixed versions | 6.12.26, 6.14.5, 6.15 |
As the CVE record by Linux states it, last updated August 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | from 6.12.14 before 6.12.26 | operating system |
| linux | linux kernel | from 6.13.3 before 6.14.5 | operating system |
| linux | linux kernel | 6.15 | operating system |
NVD analysis (status Modified), last modified July 30, 2026, 06:22 UTC.
How severe is CVE-2025-37814?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-37814 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.23% probability of exploitation activity in the next 30 days, percentile 14.4 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/6f021bc0083b96125fdbed6a60d7b4396c4d6dac
- https://git.kernel.org/stable/c/9b50c9c97db953de756a39af83d4be4d7f618aa6
- https://git.kernel.org/stable/c/ee6a44da3c87cf64d67dd02be8c0127a5bf56175
When was it published, and where is the official record?
- Reserved
- April 16, 2025
- Published
- May 8, 2025, 06:26 UTC
- CVE record updated
- August 5, 2026, 11:57 UTC by Linux
- NVD
- Modified, last modified July 30, 2026, 06:22 UTC
- Last checked
- CVE list November 28, 2026, 17:46 UTC; NVD November 19, 2026, 07:20 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2025-37814
Is CVE-2025-37814 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 0.23% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Linux are affected by CVE-2025-37814?
Linux from 6.12.14 before 6.12.26, Linux from 6.13.3 before 6.14 and Linux from 6.14 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2025-37814?
6.12.26, 6.14, 6.14.5 and 6.15, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-37814?
High (7.8, CVSS 3.1, from Linux). The severity table above shows each score with its source.
Where is the official record of CVE-2025-37814?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.