Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/cilium/ebpf
  4. ›
  5. CVE-2026-10722

CVE-2026-10722: ebpf-go is vulnerable to integer overflow via LoadCollectionSpecFromReader

June 3, 2026 (updated August 17, 2026)

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.

References

  • gist.github.com/thesmartshadow/256bff0f8042c584f993ace89074a815
  • github.com/advisories/GHSA-xhgw-qwwf-pg32
  • github.com/cilium/ebpf
  • github.com/cilium/ebpf/commit/533dfc82fd228bfadf42ea7180c39de7d9af47fa
  • github.com/cilium/ebpf/issues/2019
  • github.com/cilium/ebpf/pull/2021
  • nvd.nist.gov/vuln/detail/CVE-2026-10722
  • vuldb.com/cve/CVE-2026-10722
  • vuldb.com/submit/818291
  • vuldb.com/vuln/368091
  • vuldb.com/vuln/368091/cti

Code Behaviors & Features

Detect and mitigate CVE-2026-10722 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.22.0

Fixed versions

  • 0.22.0

Solution

Upgrade to version 0.22.0 or above.

Impact 3.3 LOW

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-190: Integer Overflow or Wraparound

Source file

go/github.com/cilium/ebpf/CVE-2026-10722.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 08 Sep 2026 00:16:59 +0000.