Vulnerability · Published Apr 7, 2025 · Assigned by mitre

CVE-2025-29481

Medium 6.2

In plain English

A medium-severity buffer overflow in the libbpf package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.2%top 84.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libbpfno fix listedDEBIAN-CVE-2025-29481
Debian:13libbpf1.5.0-3DEBIAN-CVE-2025-29481
Debian:14libbpf1.5.0-3DEBIAN-CVE-2025-29481
Ubuntu:22.04:LTSlibbpfno fix listedUBUNTU-CVE-2025-29481
Ubuntu:24.04:LTSlibbpfno fix listedUBUNTU-CVE-2025-29481

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-120 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References