CVE-2025-29481

NameCVE-2025-29481
DescriptionBuffer 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."
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1102672

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libbpf (PTS)bullseye0.3-2vulnerable
bullseye (security)0.3-2+deb11u1vulnerable
bookworm1.1.2-0+deb12u1vulnerable
trixie1.5.0-3fixed
forky, sid1.6.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libbpfsource(unstable)1.5.0-3unimportant1102672

Notes

https://github.com/lmarch2/poc/blob/main/libbpf/libbpf.md
https://github.com/libbpf/libbpf/issues/898
https://lore.kernel.org/bpf/20250410095517.141271-1-vmalik@redhat.com/
Disputed libbpf issue (was also filed as #1102672):
https://lore.kernel.org/bpf/67b2be76-e1db-4163-995c-57073f127d7a@redhat.com/
https://lore.kernel.org/bpf/CAEf4Bzb2S+1TonOp9UH86r0e6aGG2LEA4kwbQhJWr=9Xju=NEw@mail.gmail.com/

Search for package or bug name: Reporting problems