CVE-2025-29481

libbpf: Heap Buffer Overflow in libbpf

Published Apr 7, 2025 CVSS 3.1 · 6.2 Medium EPSS < 1% KEV · Not listed
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."

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-10438 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.
History
Type Values Removed Values Added
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. 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."
Type Values Removed Values Added
First Time appeared Libbpf Project
Libbpf Project libbpf
CPEs cpe:2.3:a:libbpf_project:libbpf:1.5.0:*:*:*:*:*:*:*
Vendors & Products Libbpf Project
Libbpf Project libbpf
Type Values Removed Values Added
Metrics threat_severity

Important

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-120
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

cvssV3_1

{'score': 6.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Title libbpf: Heap Buffer Overflow in libbpf
Weaknesses CWE-122
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L'}

threat_severity

Important

Type Values Removed Values Added
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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Feb 25, 2026, 7:51 AM
Reserved
Mar 11, 2025, 12:00 AM
Status
Modified
Published
Apr 7, 2025, 8:15 PM
Modified
Jun 17, 2026, 9:05 AM
Severity
Moderate
Public date
Apr 7, 2025, 12:00 AM