CVSS 3.1
6.2 mediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HMedium (6.2) in libbpf project libbpf. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExplain CVE-2025-29481 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-29481?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-29481?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-29481 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| libbpf_project:libbpf | 1.5.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | libbpf | no fix listed | DEBIAN-CVE-2025-29481 |
| Debian | 13, 14 | libbpf | 1.5.0-3 | DEBIAN-CVE-2025-29481 |
| Ubuntu | 16.04:LTS, 20.04:LTS, Pro:18.04:LTS | dwarves-dfsg | no fix listed | UBUNTU-CVE-2025-29481 |
| Ubuntu | 22.04:LTS, 24.04:LTS, Pro:20.04:LTS | libbpf | no fix listed | UBUNTU-CVE-2025-29481 |
| Azure Linux | 2 | libbpf | 1.0.1-2 | AZL-59719 |
| Azure Linux | 3 | bcc | 0.29.1-3 | AZL-59745 |
| Azure Linux | 3 | dwarves | 1.25-2 | AZL-59737 |
| Azure Linux | 3 | libbpf | 1.2.2-2 | AZL-59727 |
| Azure Linux | 3 | pcp | no fix listed | AZL-61765 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Moderate.
This vulnerability is rated as a moderate severity because here heap buffer overflow vulnerability exists in the bpf_object__init_prog function of libbpf where this issue occurs due to missing boundary checks when copying BPF instructions from a malformed ELF file leading to memory corruption during memcpy and the impact of the issue is a crash of the application using libbpf when it loads a malicious BPF object file, the overflow could allow limited memory corruption.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | libbpf | Not affected | |
| Red Hat Enterprise Linux 8 | libbpf | Not affected | |
| Red Hat Enterprise Linux 9 | libbpf | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-29481.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).