CVE-2025-29481: libbpf · n/a
Affects libbpfSource CVE Database V5
Not known to be exploited · CVSS 6.2 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 7 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHublmarch2/libbpfpkg:github/lmarch2/libbpfOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-29481, organizations should: 1) Restrict local user access to trusted personnel only, minimizing the risk of untrusted ELF files being processed by libbpf. 2) Avoid running libbpf-related processes with root privileges unless absolutely necessary, and never pass untrusted ELF files to libbpf under elevated privileges. 3) Monitor vendor and open-source project updates for patches addressing this vulnerability and apply them promptly once available. 4) Implement strict file integrity monitoring and validation for ELF files used in eBPF program loading to detect and block malicious inputs. 5) Employ Linux security modules (e.g., SELinux, AppArmor) to constrain the capabilities of processes interacting with libbpf, limiting potential damage from exploitation. 6) Conduct regular security audits and penetration testing focusing on local privilege escalation vectors involving eBPF and libbpf. 7) Educate system administrators and developers about the risks of handling untrusted ELF files and enforce secure coding and operational practices around eBPF usage.
Description
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."