Heap-based buffer overflow in libbpf - CVE-2025-29481
Published: May 27, 2025
Vulnerability details
The vulnerability allows a local user to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in the bpf_object__init_prog` function of libbpf. The vulnerability allows a local user to execute arbitrary code or cause a denial of service (crash) via a crafted ELF file that triggers a heap buffer overflow
Affected software
Anolis OS
IBM Observability with Instana
libbpf
libbpf-devel
libbpf-static
How to mitigate CVE-2025-29481
IBM Observability with Instana - update to 1.0.295
libbpf - update to 1.2.2-2
libbpf-devel - update to 1.2.2-2
libbpf-static - update to 1.2.2-2