CVE-2026-10722

cilium ebpf LoadCollectionSpec/LoadCollectionSpecFromReader btf.go loadRawSpec integer overflow

Published Jun 3, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability has been found in cilium ebpf up to 0.21.0. This affects the function loadRawSpec of the file btf/btf.go of the component LoadCollectionSpec/LoadCollectionSpecFromReader. Such manipulation of the argument offset leads to integer overflow. The attack can only be performed from a local environment. The exploit has been disclosed to the public and may be used. The name of the patch is 533dfc82fd228bfadf42ea7180c39de7d9af47fa. A patch should be applied to remediate this issue.

Analysis

AI-generated

Technical impact

This vulnerability is an integer overflow in the loadRawSpec function of the cilium/ebpf library (up to version 0.21.0). The overflow occurs when parsing BTF specifications and can only be triggered from a local environment. The overflow may lead to undefined behavior, including memory corruption or application crashes, but there is no documented remote code execution or privilege escalation.

Affected Systems

The cilium:ebpf component of Cilium is affected, specifically all releases up to and including version 0.21.0. The vulnerability resides in the file btf/btf.go of the LoadCollectionSpec/LoadCollectionSpecFromReader functions.

Risk and Exploitability

The CVSS score is 4.8, indicating a low severity. EPSS is not available and the vulnerability is not listed in CISA KEV, suggesting low likelihood of exploitation in the wild. Because the attack can only be performed locally, the risk is confined to systems that process untrusted BTF specifications on the local machine. However, local attackers could induce application crashes or potentially corrupt memory, which may be a stepping stone to more serious issues in some contexts.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the patch corresponding to commit 533dfc82fd228bfadf42ea7180c39de7d9af47fa to the cilium/ebpf repository.
  • Upgrade cilium/ebpf to a release newer than 0.21.0 that contains the fix.
  • Restrict or carefully validate any local code that loads BTF specifications to prevent malformed inputs from triggering the overflow.

Generated by OpenCVE AI on June 3, 2026 at 15:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-xhgw-qwwf-pg32 ebpf-go is vulnerable to integer overflow via LoadCollectionSpecFromReader
History
Type Values Removed Values Added
CPEs cpe:2.3:a:cilium:ebpf:*:*:*:*:*:go:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A vulnerability has been found in cilium ebpf up to 0.21.0. This affects the function loadRawSpec of the file btf/btf.go of the component LoadCollectionSpec/LoadCollectionSpecFromReader. Such manipulation leads to integer overflow. The attack can only be performed from a local environment. The exploit has been disclosed to the public and may be used. The name of the patch is 533dfc82fd228bfadf42ea7180c39de7d9af47fa. A patch should be applied to remediate this issue. A vulnerability has been found in cilium ebpf up to 0.21.0. This affects the function loadRawSpec of the file btf/btf.go of the component LoadCollectionSpec/LoadCollectionSpecFromReader. Such manipulation of the argument offset leads to integer overflow. The attack can only be performed from a local environment. The exploit has been disclosed to the public and may be used. The name of the patch is 533dfc82fd228bfadf42ea7180c39de7d9af47fa. A patch should be applied to remediate this issue.
Type Values Removed Values Added
Description A vulnerability has been found in cilium ebpf up to 0.21.0. This affects the function loadRawSpec of the file btf/btf.go of the component LoadCollectionSpec/LoadCollectionSpecFromReader. Such manipulation leads to integer overflow. The attack can only be performed from a local environment. The exploit has been disclosed to the public and may be used. The name of the patch is 533dfc82fd228bfadf42ea7180c39de7d9af47fa. A patch should be applied to remediate this issue.
Title cilium ebpf LoadCollectionSpec/LoadCollectionSpecFromReader btf.go loadRawSpec integer overflow
First Time appeared Cilium
Cilium ebpf
Weaknesses CWE-189
CWE-190
CPEs cpe:2.3:a:cilium:ebpf:*:*:*:*:*:*:*:*
Vendors & Products Cilium
Cilium ebpf
References
Metrics cvssV2_0

{'score': 1.7, 'vector': 'AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 3.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jun 3, 2026, 2:07 PM
Reserved
Jun 3, 2026, 5:17 AM
Status
Analyzed
Published
Jun 3, 2026, 1:16 PM
Modified
Jul 22, 2026, 7:10 PM
Severity
Moderate
Public date
Jun 3, 2026, 10:45 AM