CVE-2018-25020
CWE-120Published: December 8, 2021· Updated: Jun 17, 2026
Official Description
The BPF subsystem in the Linux kernel before 4.17 mishandles situations with a long jump over an instruction sequence where inner instructions require substantial expansions into multiple BPF instructions, leading to an overflow. This affects kernel/bpf/core.c and net/core/filter.c.
Technical Analysis
CVE-2018-25020 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 7.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (6)
Quick Facts
Related CVEs (CWE-120)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2018-25020 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts