CVE-2025-29481

CVE-2025-29481 is a medium-severity vulnerability in Libbpf Project Libbpf with a CVSS 3.x base score of 6.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-120.

Key facts

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

Frequently asked questions

What is 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 passing untrusted ELF files into libbpf while running under root."
How severe is CVE-2025-29481?
CVE-2025-29481 has a CVSS 3.x base score of 6.2, rated medium severity. It is exploitable over local access with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
Is CVE-2025-29481 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (12th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-29481?
CVE-2025-29481 affects Libbpf Project Libbpf. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-29481?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-29481 have an EU (EUVD) identifier?
Yes. CVE-2025-29481 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-10438.
When was CVE-2025-29481 published?
CVE-2025-29481 was published on 2025-04-07 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Libbpf Project Libbpf

All CVEs affecting Libbpf Project Libbpf →

Other CWE-120 (Classic Buffer Overflow) vulnerabilities

Browse all CWE-120 (Classic Buffer Overflow) vulnerabilities →