Skip to main content
VulnerabilityPublished Updated

CVE-2025-22087: Linux kernel · bpf: Fix array bounds error with may_goto

Source GCVE Database

0
Compare

Not known to be exploited · CVSS 7.1 High.

Data as of 29 Oct 2026, 23:35 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Apr 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

AI-suggested

Users should monitor official Linux kernel advisories for updates addressing CVE-2025-22087. Until a fix is applied, avoid loading or rewriting BPF programs in vulnerable kernel versions, especially in non-JIT contexts. Follow vendor guidance once available.

Description

CVE-2025-22087 is a high-severity vulnerability in the Linux kernel's BPF subsystem involving an array bounds error caused by the use of an additional 8 bytes on the stack in the may_goto function. This leads to out-of-bounds access in the interpreters[] array during stack size calculations. The flaw affects BPF program rewriting and execution, particularly in non-JIT and JIT cases, potentially causing memory safety issues.

References

Community reviews

Loading reviews…