CVE-2025-29481
Last modified
CVE-2025-29481 is a medium-severity vulnerability rated 6.2/10 on the CVSS scale. 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.". EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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."
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libbpf Project | Libbpf | 1.5.0 |
References
- https://github.com/lmarch2/poc/blob/main/libbpf/libbpf.mdExploit, Third Party Advisory
- https://github.com/lmarch2/poc/blob/main/libbpf/libbpf.mdExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-29481?
How severe is CVE-2025-29481?
How do I fix CVE-2025-29481?
Are you affected by CVE-2025-29481?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
