CVE Catalog

CVE-2025-29481

MediumCVSS 6.2
Published: Updated: Translated: NVD NIST

Summary

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

Risk Assessment

If an application running with elevated privileges processes untrusted ELF files through libbpf, an attacker may exploit the overflow to execute code. However, typical scenarios require an unsafe configuration.

Recommendation

Avoid processing untrusted ELF files through libbpf, especially with root privileges. Monitor the vendor's position on the vulnerability's validity and consider upgrading libbpf.

Other vulnerabilities in libbpf

See all
Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS