CVEfocus › CVE database › CVE-2025-29481

CVE-2025-29481

CVSS 6.2 MediumEPSS 0.2% (higher than 15% of CVEs)Published 2025-04-07Updated 2026-02-25Assigner: mitre

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

CWE-120

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
6Fix pending
1Will not fix
11Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libbpfNot affected
vulnerable_code_not_present
Ubuntu 25.10libbpfNot affected
vulnerable_code_not_present
Ubuntu 24.04libbpfFix pendingUBUNTU-CVE-2025-29481
Ubuntu 22.04libbpfFix pendingUBUNTU-CVE-2025-29481
Ubuntu 20.04dwarves-dfsgFix pendingUBUNTU-CVE-2025-29481
Ubuntu 20.04libbpfFix pendingUBUNTU-CVE-2025-29481
Ubuntu 18.04dwarves-dfsgFix pendingUBUNTU-CVE-2025-29481
Ubuntu 16.04dwarves-dfsgFix pendingUBUNTU-CVE-2025-29481
Debian 14libbpfFixed1.5.0-3DEBIAN-CVE-2025-29481
Debian 13libbpfFixed1.5.0-3DEBIAN-CVE-2025-29481
Debian 12libbpfWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-29481
Red Hat Enterprise Linux 10libbpfNot affected
Red Hat Enterprise Linux 10libbpf-develNot affected
Red Hat Enterprise Linux 10libbpf-staticNot affected
Red Hat Enterprise Linux 9libbpfNot affected
Red Hat Enterprise Linux 9libbpf-develNot affected
Red Hat Enterprise Linux 9libbpf-staticNot affected
Red Hat Enterprise Linux 8libbpfNot affected
Red Hat Enterprise Linux 8libbpf-develNot affected
Red Hat Enterprise Linux 8libbpf-staticNot affected

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.