CVE-2025-29481 Details
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."
A heap buffer overflow vulnerability has been identified in libbpf version 1.5.0. This vulnerability allows local attackers to execute arbitrary code by exploiting the bpf_object__init_prog function. The issue arises from inadequate boundary checks when copying BPF program instructions from a malformed ELF file, leading to memory corruption during memcpy operations.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 9, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/lmarch2/poc/blob/main/libbpf/libbpf.md | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/lmarch2/poc/blob/main/libbpf/libbpf.md | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| libbpf project libbpf | 1.5.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 25, 2026 | CVE Modified | [email protected] |
| Apr 15, 2025 | Initial Analysis | [email protected] |
| Apr 9, 2025 | CVE Modified | CISA-ADP |
| Apr 7, 2025 | New CVE Received | [email protected] |