GitHub Advisoryadvisory · Go

GHSA-xhgw-qwwf-pg32 ebpf-go is vulnerable to integer overflow via LoadCollectionSpecFromReader

LOW Published 2026-06-03 Modified 2026-08-17 Official page ↗
Aliases
CVE-2026-10722
Ecosystem
Go
Packages
github.com/cilium/ebpf
Severity
Low
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-190
Reviewed
2026-08-17

Affected packages

• Go github.com/cilium/ebpf: < 0.22.0 → fixed in 0.22.0

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.

Related

Alias · CVE (1)

  • CVE-2026-10722 A vulnerability has been found in cilium ebpf up to 0.21.0. vulnerability

Weakness · CWE (1)

  • CWE-190 Integer Overflow or Wraparound weakness

References