Buffer overflow in Libbpf Project
CVE-2025-29481
- CVSS v3
- 6.2 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 15.1th percentile
- Published
- 2025-04-07
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.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 15.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Libbpf Project — versions 1.5.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (lmarch2/poc). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/lmarch2/poc/blob/main/libbpf/libbpf.md (Exploit, Third Party Advisory)