---
id: CVE-2026-10722
aliases:
  - GHSA-xhgw-qwwf-pg32
title: ebpf-go is vulnerable to integer overflow via LoadCollectionSpecFromReader
summary: ebpf-go is vulnerable to integer overflow via LoadCollectionSpecFromReader
severity: low
cvss: 3.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L'
vendor: cilium
product: github.com/cilium/ebpf
ecosystem: go
affected:
  - github.com/cilium/ebpf < 0.22.0
patched:
  - github.com/cilium/ebpf 0.22.0
published: '2026-06-03'
updated: '2026-08-17'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-xhgw-qwwf-pg32'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-10722'
  - url: 'https://github.com/cilium/ebpf/issues/2019'
  - url: 'https://github.com/cilium/ebpf/pull/2021'
  - url: >-
      https://github.com/cilium/ebpf/commit/533dfc82fd228bfadf42ea7180c39de7d9af47fa
  - url: 'https://gist.github.com/thesmartshadow/256bff0f8042c584f993ace89074a815'
  - url: 'https://github.com/cilium/ebpf'
  - url: 'https://vuldb.com/cve/CVE-2026-10722'
  - url: 'https://vuldb.com/submit/818291'
  - url: 'https://vuldb.com/vuln/368091'
  - url: 'https://vuldb.com/vuln/368091/cti'
tags:
  - osv
  - go
epss: 0.00179
epssPercentile: 0.0657
ingestedAt: '2026-08-17T19:20:56.198Z'
---

## Overview

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.

## Affected packages

- `github.com/cilium/ebpf < 0.22.0`

## Remediation

Upgrade to a patched release:

- `github.com/cilium/ebpf 0.22.0`
