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."
References (1)
Core 1
Core References
Exploit, Third Party Advisory
https://github.com/lmarch2/poc/blob/main/libbpf/libbpf.md
Scores
CVSS v3
6.2
EPSS
0.0008
EPSS Percentile
24.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-120
Status
published
Products (1)
libbpf_project/libbpf
1.5.0
Published
Apr 07, 2025
Tracked Since
Feb 18, 2026