Low, CVSS 1.9GoAmendedPublished
ebpf-go is vulnerable to integer overflow via LoadCollectionSpecFromReader
CVE-2026-10722 · GHSA-xhgw-qwwf-pg32
- Affected
- Go github.com/cilium/ebpf < 0.22.0
- Fixed in
- 0.22.0· Vendor fix available
- 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.
Recommended action: Upgrade to 0.22.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.