VDB
CVE-2018-25020
CVE-2018-25020
PUBLISHED
Reported by mitre · Published December 8, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python-perf | Amazon Linux | 4.14.268-205.500.amzn2 |
| kernel-headers | Amazon Linux | 4.14.268-205.500.amzn2 |
| kernel-tools | Amazon Linux | 4.14.268-205.500.amzn2 |
| kernel-livepatch-4.14.268-205.500 | Amazon Linux | 1.0-0.amzn2 |
| linux-snapdragon | Ubuntu:18.04:LTS | 4.15.0-1118.127 |
| linux-aws-hwe | Ubuntu:Pro:16.04:LTS | 4.15.0-1118.125~16.04.1 |
| linux-oracle | Ubuntu:Pro:16.04:LTS | 4.15.0-1085.93~16.04.1 |
| linux-gcp-fips | Ubuntu:Pro:FIPS-updates:18.04:LTS | 4.15.0-2024.26 |
| linux-hwe | Ubuntu:Pro:16.04:LTS | 4.15.0-166.174~16.04.1 |
| linux-aws | Ubuntu:18.04:LTS | 4.15.0-1118.125 |
| linux | Ubuntu:18.04:LTS | 4.15.0-166.174 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | python-perf | 0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2 | kernel-tools | 0 |
| amazon:2 | kernel-livepatch-4.14.268-205.500 | 0 |
| n/a | n/a | * |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2 | kernel-devel | 0 |
| amazon:2 | kernel | 0 |
| amazon:2 | perf | 0 |
Timeline
- Dec 8, 2021 EPSS Score (30 in total, the first dated here)
- Dec 8, 2021 CVE Published
- Jan 14, 2026 CVE Updated
- Jun 1, 2026 Security Advisory (3 in total, the first dated here)
- Aug 6, 2026 Distribution Patch
- Sep 21, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-25020
vulnetix vdb fixes CVE-2018-25020
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-25020/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart