CVE-2025-29481
Medium · 6.2CVSS
6.2
EPSS
0.2%
Published
Apr 7, 2025
CISA due date
—
Cloudanix analysis
A programming error could let someone with root access run harmful code by feeding a specially made file into a system tool, but experts say this situation is unlikely to happen in normal use.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Buffer overflow in bpf_object__init_prog of libbpf allows local arbitrary code execution when processing untrusted ELF files under root.
Why it matters to the business
Limited risk of local code execution on affected systems; low exploitability due to root requirement and disputed real-world use reduces operational urgency despite widespread package presence.
How an attack unfolds
An attacker supplies a malicious ELF file to the vulnerable initialization function running with root privileges, triggering the overflow to execute arbitrary code; third-party analysis indicates this scenario is unrealistic in practice.
How to fix it
Upgrade affected ethereal packages on Red Hat Enterprise Linux 3 to version 0:0.10.5-0.30E.2 or later for all listed variants including ethereal, ethereal-gnome, and ethereal-debuginfo across as, desktop, es, and ws variants.
How to confirm the fix worked
Verify package versions match or exceed the fixed releases; test that untrusted ELF processing no longer occurs under root or confirm the disputed usage pattern is avoided.
Typical attack path
- Locate a process or tool invoking bpf_object__init_prog on the target system
- Craft a malicious ELF file designed to overflow the buffer
- Invoke the affected function with the crafted file while running as root
- Achieve local code execution
How to detect it
Review system logs for unexpected process crashes or privilege escalations involving ELF file handling; examine audit trails for root-executed programs processing external ELF inputs.
What your security team should do
- Apply the specified package updates immediately on all Red Hat Enterprise Linux 3 systems
- Audit for any custom code or tools passing untrusted ELF files to libbpf as root and refactor to avoid this pattern
- Monitor for future updates as the vulnerability status remains disputed
The record
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."
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Bitnami | bpftool | 1.5.0 | 7.4.0 |
| Debian:11 | libbpf | 0 | No fix |
| Debian:12 | libbpf | 0 | No fix |
| Debian:13 | libbpf | 0 | No fix |
Related vulnerabilities
- CVE-2022-3606 A vulnerability was found in Linux Kernel. Also affects libbpf
- CVE-2022-3534 A vulnerability classified as critical has been found in Linux Kernel. Also affects libbpf
- CVE-2022-3533 A vulnerability was found in Linux Kernel. Also affects libbpf
- CVE-2026-119146 ProFTPD before 1.3.9e and 1.3.10rc5 contains a buffer overflow vulnerability in the… CWE-120
- CVE-2026-57191 Asterisk is an open source private branch exchange and telephony toolkit. CWE-120
- CVE-2026-93857 A stack-based buffer overflow vulnerability in Fireware OS's SIP proxy allows a remote… CWE-120
- CVE-2026-79883 A buffer overflow vulnerability in the PAPI protocol of HPE Networking AOS-10 could allow… CWE-120
- CVE-2026-79863 Buffer overflow vulnerabilities in the affected interface of AOS-10 or AOS-8 could allow… CWE-120