Skip to content
OpenAdvisories
Medium · 6.2 CVE-2025-29481 EUVD-2025-10438GHSA-3ch3-mpx2-hj74

Buffer Overflow vulnerability in libbpf 1.5.0 allows a local attacker to execute arbitrary code via the bpf_object__init_prog` function of …

Published Apr 7, 2025 · Updated Feb 25, 2026 · Assigned by mitre

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libbpf 1.5.0-3 —
Debian 13 libbpf 1.5.0-3 —
Debian 12 libbpf No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS libbpf No fix yet —
Ubuntu 22.04 LTS libbpf No fix yet —
Ubuntu 20.04 LTS dwarves-dfsg No fix yet —
Ubuntu 16.04 LTS dwarves-dfsg No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS libbpf No fix yet —
Ubuntu Pro 18.04 LTS dwarves-dfsg No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 bcc 0.29.1-3 —
Azure Linux 3 dwarves 1.25-2 —
Azure Linux 3 libbpf 1.2.2-2 —
Azure Linux 3 pcp No fix yet —
Azure Linux 2 (CBL-Mariner) libbpf 1.0.1-2 —

References