# CVE-2025-29481: Buffer Overflow vulnerability in libbpf 1.5.0 allows a local attacker to execute arbitrary code via the bpfobjectinitprog` function of libb…

- Severity: Medium 6.2 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-04-07T00:00:00.000Z
- Modified: 2026-09-08T08:45:38.969Z
- Also known as: BIT-BPFTOOL-2025-29481
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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."

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- libbpf_project libbpf: 1.5.0
- bpftool (Bitnami): from 1.5.0 before 7.4.0

## Every score

- CISA-ADP: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/lmarch2/poc/blob/main/libbpf/libbpf.md> (exploit, advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-29481> (web)

## Sources

- CVE List: [CVE-2025-29481](https://www.cve.org/CVERecord?id=CVE-2025-29481), CVE Terms of Use, modified 2026-02-25
- NVD: [CVE-2025-29481](https://nvd.nist.gov/vuln/detail/CVE-2025-29481), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-BPFTOOL-2025-29481](https://osv.dev/vulnerability/BIT-BPFTOOL-2025-29481), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-29481 · Whole record: https://cve.day/CVE-2025-29481.json · Rebuilt by cve.day 2026-11-25T22:58:56.166Z
