Medium
Security advisory
Buffer Overflow vulnerability in libbpf 1.5.0 allows a local attacker to execute arbitrary code via the bpf_object__init_prog` function of libbpf. This has been disputed by third parties who assert that "no one in their sane mind should be passing untrusted ELF files into libbpf while running under root."
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-29481
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 08:04 UTC · Revision 1
Source evidence
Buffer Overflow vulnerability in libbpf 1.5.0 allows a local attacker to execute arbitrary code via the bpf_object__init_prog` function of libbpf. This has been disputed by third parties who assert that "no one in their sane mind should be passing untrusted ELF files into libbpf while running under root."
osv:CVE-2025-29481
Complete source record
{
"id": "1fb0a61605f29d7d554d98e72f69f414d710502c5413967934eb867c23ae3f91",
"url": "https://osv.dev/vulnerability/CVE-2025-29481",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-29481",
"summary": "Buffer Overflow vulnerability in libbpf 1.5.0 allows a local attacker to execute arbitrary code via the bpf_object__init_prog` function of libbpf. This has been disputed by third parties who assert that \"no one in their sane mind should be passing untrusted ELF files into libbpf while running under root.\"",
"evidence": "osv:CVE-2025-29481",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-29481",
"aliases": [
"BIT-bpftool-2025-29481",
"CVE-2025-29481"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/libbpf/libbpf",
"type": "GIT",
"events": [
{
"introduced": "09b9e83102eb8ab9e540d36b4559c55f3bcdb95d"
},
{
"last_affected": "09b9e83102eb8ab9e540d36b4559c55f3bcdb95d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:libbpf_project:libbpf:1.5.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.0"
},
{
"last_affected": "1.5.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.5.0",
"v1.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-29481.json"
}
}
],
"modified": "2026-10-28T02:30:26.972155396Z",
"provider": "osv",
"references": [
"https://github.com/lmarch2/poc/blob/main/libbpf/libbpf.md",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/29xxx/CVE-2025-29481.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-29481"
],
"provider_metadata": {
"isDisputed": true,
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/29xxx/CVE-2025-29481.json"
}
},
"related_cves": [
{
"value": "CVE-2025-29481",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 493580,
"published_at": "2025-04-07T00:00:00+00:00"
}