CVE-2025-29481 json
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 2025-04-07 19 mo ago modified 2026-09-08 2 mo ago also BIT-bpftool-2025-29481 , EUVD-2025-10438
- cvss
- 6.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
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."
Patch / fix
- bitnami bpftool 7.4.0
- libbpf Debian 14, Debian 13 1.5.0-3
debian advisories DEBIAN-CVE-2025-29481
- libbpf CBL-Mariner 2.0 1.0.1-2
- libbpf Azure Linux 3.0 1.2.2-2
- dwarves Azure Linux 3.0 1.25-2
- bcc Azure Linux 3.0 0.29.1-3
azure linux advisories AZL-59719AZL-59727AZL-59737AZL-59745
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-29481 updated cvss 7.3
libbpf: Heap Buffer Overflow in libbpf
-
Red Hat Enterprise Linux 8 libbpf Red Hat Enterprise Linux 9 libbpf Red Hat Enterprise Linux 10 libbpf Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/lmarch2/poc/blob/main/libbpf/libbpf.md referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | bpftool | >=1.5.0, <7.4.0 |
7.4.0 |
Classification
- Weakness
-
- CWE-120 Buffer Copy without Checking Size of Input
References
-
github.com
/lmarch2/poc/blob/main/libbpf/libbpf.md
exploit, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-29481
web
Sources
- CVE List CVE-2025-29481
- NVD CVE-2025-29481
- OSV BIT-bpftool-2025-29481
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.