CVE-2025-29481 Memory corruption in n/a
A local attacker can execute arbitrary code via a buffer overflow in libbpf when processing untrusted ELF files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-29481?
CVE-2025-29481 is a medium-severity memory corruption vulnerability in n/a, published on 7 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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."
Weakness: CWE-120
Which versions are affected by CVE-2025-29481?
1 open source package ship an affected version, including bpftool. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
bpftool Bitnami | From 1.5.0 | 7.4.0 |
Products include Libbpf Project Libbpf.
How do I fix CVE-2025-29481?
Upgrade bpftool to 7.4.0 or later.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-29481 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-29481 exists.
Other vulnerabilities in n/a
Sources
Also known as AZL-59719, AZL-59727, AZL-59737, AZL-59745, AZL-61765, BIT-bpftool-2025-29481 and 4 more.