Vulnerabilities in pkg:golang/github.com/cilium/ebpf
PACKAGECVE-2026-10722 is a LOW (CVSS 3.3) ebpf-go is vulnerable to integer vulnerability (CWE-190: Integer Overflow or Wraparound) affecting Github.com/cilium/ebpf libraries in the Go ecosystem. The issue involves ebpf-go is vulnerable to integer overflow via loadcollectionspecfromreader. Remediation is available by upgrading affected packages to version 0.22.0.
pkg:golang/github.com/cilium/ebpf
Vulnerability advisories affecting package pkg:golang/github.com/cilium/ebpf. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-xhgw-qwwf-pg32 | CVE-2026-10722 | LOW | ebpf-go is vulnerable to integer overflow via LoadCollectionSpecFromReader |
CVE-2026-10722 at a Glance
Security Impact
CVSS: 3.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L).
How to Fix CVE-2026-10722
To remediate this vulnerability, upgrade all affected Github.com/cilium/ebpf dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/cilium/ebpf to 0.22.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/cilium/ebpf
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-10722, inspect your project dependencies for Github.com/cilium/ebpf:
inspect dependencies for github.com/cilium/ebpf
Analyze the terminal output to locate any version of Github.com/cilium/ebpf in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.22.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-190: Integer Overflow or Wraparound, where the product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. this occurs when an integer value is incremented to a value that is too large to store in the associated representation. when this occurs, the value may become a very small or negative number. In Github.com/cilium/ebpf, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-10722 Affected Github.com/cilium/ebpf Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/cilium/ebpf
|
Go |
< 0.22.0
|
0.22.0
|
References
Frequently Asked Questions
What is CVE-2026-10722?
Which Github.com/cilium/ebpf versions are affected?
What version fixes CVE-2026-10722?
Is github.com/cilium/ebpf affected?
What is the CVSS score of CVE-2026-10722?
What CWE is associated with CVE-2026-10722?
How can I check Go dependencies for CVE-2026-10722?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xhgw-qwwf-pg32",
"modified" : "2026-08-17T13:36:32Z",
"published" : "2026-06-03T15:30:40Z",
"aliases" : [ "CVE-2026-10722" ],
"summary" : "ebpf-go is vulnerable to integer overflow via LoadCollectionSpecFromReader",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cilium/ebpf"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.22.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-10722"
}, {
"type" : "WEB",
"url" : "https://github.com/cilium/ebpf/issues/2019"
}, {
"type" : "WEB",
"url" : "https://github.com/cilium/ebpf/pull/2021"
}, {
"type" : "WEB",
"url" : "https://github.com/cilium/ebpf/commit/533dfc82fd228bfadf42ea7180c39de7d9af47fa"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/thesmartshadow/256bff0f8042c584f993ace89074a815"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cilium/ebpf"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/cve/CVE-2026-10722"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/submit/818291"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/368091"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/368091/cti"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-190" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-17T13:36:32Z",
"nvd_published_at" : "2026-06-03T13:16:19Z"
}
}