Linux: Out-of-bounds Read
CVE-2025-22087 is a high-severity out-of-bounds read vulnerability in Linux, with a CVSS 3.1 base score of 7.1 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. The record lists versions 19e6817f84000d0b06f09fd69ebd56217842c122, 4524b7febdd55fb99ae2e1f48db64019fa69e643, 1a86ae57b2600e5749f5f674e9d4296ac00c69a8 as the first without the flaw, so updating Linux to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.24% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Linux to 19e6817f84000d0b06f09fd69ebd56217842c122 or 4524b7febdd55fb99ae2e1f48db64019fa69e643 or 1a86ae57b2600e5749f5f674e9d4296ac00c69a8 or 6ebc5030e0c5a698f1dd9a6684cddf6ccaed64a0, whichever matches your release line, or a later version.
- Update Linux Kernel to 6.12.23 or 6.13.11 or 6.14.2, whichever matches your release line, or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | 011832b97b311bb9e3c27945bc0d1089a14209c9 up to, but not including, 19e6817f84000d0b06f09fd69ebd56217842c122; 011832b97b311bb9e3c27945bc0d1089a14209c9 up to, but not including, 4524b7febdd55fb99ae2e1f48db64019fa69e643; 011832b97b311bb9e3c27945bc0d1089a14209c9 up to, but not including, 1a86ae57b2600e5749f5f674e9d4296ac00c69a8; 011832b97b311bb9e3c27945bc0d1089a14209c9 up to, but not including, 6ebc5030e0c5a698f1dd9a6684cddf6ccaed64a0; 6.9 | 19e6817f84000d0b06f09fd69ebd56217842c122, 4524b7febdd55fb99ae2e1f48db64019fa69e643, 1a86ae57b2600e5749f5f674e9d4296ac00c69a8, 6ebc5030e0c5a698f1dd9a6684cddf6ccaed64a0 |
| Linux | Linux Kernel | 6.9 up to, but not including, 6.12.23; 6.13 up to, but not including, 6.13.11; 6.14 up to, but not including, 6.14.2 | 6.12.23, 6.13.11, 6.14.2 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- NoneNothing can be modified.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.8 | High | CNA |
| CVSS 3.1 | 7.1 | High | NVD |
Official description
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix array bounds error with may_goto may_goto uses an additional 8 bytes on the stack, which causes the interpreters[] array to go out of bounds when calculating index by stack_size. 1. If a BPF program is rewritten, re-evaluate the stack size. For non-JIT cases, reject loading directly. 2. For non-JIT cases, calculating interpreters[idx] may still cause out-of-bounds array access, and just warn about it. 3. For jit_requested cases, the execution of bpf_func also needs to be warned. So move the definition of function __bpf_prog_ret0_warn out of the macro definition CONFIG_BPF_JIT_ALWAYS_ON.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Out-of-bounds Read
The product reads data past the end, or before the beginning, of the intended buffer.
How developers prevent this class of flaw
- Use a language that provides appropriate memory abstractions.
Timeline
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
Recent Out-of-bounds Read vulnerabilities
- 8.8 High severity
- 7.1 High severity
- 7.1 High severity
- 7.1 High severity
- 7.1 High severity
- 7.1 High severity
Spotted an error? Tell us.