golang-github-cilium-ebpf — security advisory
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.
- Products
- golang-github-cilium-ebpf
- Affected versions
- 0.11.0-1, 0.11.0-2, 0.17.3+ds1-4, 0.2.0-1, 0.21.0+ds1-1, 0.21.0+ds1-2, 0.22.0+ds1-1, 0.6.2-2, 0.7.0-1, 0.9.1-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-10722
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:54 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-10722
golang-github-cilium-ebpf
Fixed versions: Not specified
golang-github-cilium-ebpf
Fixed versions: Not specified
golang-github-cilium-ebpf
Fixed versions: Not specified
golang-github-cilium-ebpf
Fixed versions: Not specified
golang-github-cilium-ebpf
Fixed versions: Not specified
Complete source record
{
"id": "11e2a7c509178a1995037781c9bd881c8d4b48e594872fcb483809199762c9b2",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-10722",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-10722",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-10722",
"products": [
{
"name": {
"value": "golang-github-cilium-ebpf",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.2.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.6.2-2",
"evidence": "/affected/0/versions"
},
{
"value": "0.7.0-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "golang-github-cilium-ebpf",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.11.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.11.0-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "golang-github-cilium-ebpf",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.11.0-2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "golang-github-cilium-ebpf",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.17.3+ds1-4",
"evidence": "/affected/3/versions"
},
{
"value": "0.21.0+ds1-1",
"evidence": "/affected/3/versions"
},
{
"value": "0.21.0+ds1-2",
"evidence": "/affected/3/versions"
},
{
"value": "0.22.0+ds1-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "golang-github-cilium-ebpf",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.11.0-2",
"evidence": "/affected/4/versions"
},
{
"value": "0.17.3+ds1-4",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-10722",
"aliases": [
"UBUNTU-CVE-2026-10722"
],
"metrics": [
{
"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_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
},
{
"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"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-cilium-ebpf",
"purl": "pkg:deb/ubuntu/golang-github-cilium-ebpf?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.2.0-1",
"0.6.2-2",
"0.7.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-10722.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-cilium-ebpf-dev",
"binary_version": "0.7.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-cilium-ebpf",
"purl": "pkg:deb/ubuntu/golang-github-cilium-ebpf?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.9.1-1",
"0.11.0-1",
"0.11.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-10722.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-cilium-ebpf-dev",
"binary_version": "0.11.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-cilium-ebpf",
"purl": "pkg:deb/ubuntu/golang-github-cilium-ebpf?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.11.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-10722.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-cilium-ebpf-dev",
"binary_version": "0.11.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-cilium-ebpf",
"purl": "pkg:deb/ubuntu/golang-github-cilium-ebpf?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.17.3+ds1-4",
"0.21.0+ds1-1",
"0.21.0+ds1-2",
"0.22.0+ds1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-10722.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-cilium-ebpf-dev",
"binary_version": "0.22.0+ds1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-cilium-ebpf",
"purl": "pkg:deb/ubuntu/golang-github-cilium-ebpf?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.11.0-2",
"0.17.3+ds1-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-10722.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-cilium-ebpf-dev",
"binary_version": "0.17.3+ds1-4"
}
]
}
}
],
"modified": "2026-10-17T12:59:47.710457413Z",
"provider": "osv",
"upstream": [
"CVE-2026-10722"
],
"references": [
"https://ubuntu.com/security/CVE-2026-10722",
"https://www.cve.org/CVERecord?id=CVE-2026-10722"
]
},
"related_cves": [
{
"value": "CVE-2026-10722",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 359780,
"published_at": "2026-06-03T13:16:00+00:00"
}