1. Home
  2. Vulnerabilities
  3. CVE-2025-29481

CVE-2025-29481

Buffer Overflow vulnerability in libbpf 1.5.0 allows a local attacker to execute arbitrary code via the…

Published 7 Apr 2025 · modified 17 Jun 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 34/100

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

Affected products and versions

Libbpf project (1 line(s))
Libbpf project
ProductVersionsFixed inSource
Libbpf 1.5.0 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

Exploit reported by sources

These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, CNA:134c704f-9b21-4f2e-91b3-4a467353bcc0)
Weakness
CWE-120 · Corruption mémoire

How this data is obtained and calculated