Buffer overflow in Libbpf_project Libbpf

CVE-2025-29481

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…

Vulnerability class: Buffer Overflow

EPSS: 0.002 (11.9th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-29481?
CVE-2025-29481 is a medium-severity vulnerability in Libbpf_project Libbpf, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 6.2/10. Published 2025-04-07.
How severe is CVE-2025-29481?
Medium severity. CVSS v3 base score is 6.2 out of 10.
Is CVE-2025-29481 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.