Buffer overflow in Libbpf Project
CVE-2025-29481
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."
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.2 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.002 (13.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 14th percentile — 13.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
- Libbpf Project — versions 1.5.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/lmarch2/poc/blob/main/libbpf/libbpf.md (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2025-29481?
- CVE-2025-29481 is a medium-severity vulnerability in Libbpf Project, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 6.2/10. Published 2025-04-07.
- How severe is CVE-2025-29481?
- Medium severity. CVSS v3 base score is 6.2 out of 10.
- Is CVE-2025-29481 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.