Libbpf Project Libbpf vulnerabilities

6 known vulnerabilities affecting libbpf_project/libbpf.

Total CVEs
6
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
HIGH1MEDIUM5

Vulnerabilities

Page 1 of 1
CVE-2025-29481MEDIUMCVSS 6.2v1.5.02025-04-07
CVE-2025-29481 [MEDIUM] CWE-120 CVE-2025-29481: Buffer Overflow vulnerability in libbpf 1.5.0 allows a local attacker to execute arbitrary code via 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."
nvdosv
CVE-2022-3606MEDIUMCVSS 5.5≥ 0, < 0.3-2+deb11u1≥ 0, < 1.1.0-12022-10-19
CVE-2022-3606 [MEDIUM] CVE-2022-3606: A vulnerability was found in Linux Kernel A vulnerability was found in Linux Kernel. It has been classified as problematic. This affects the function find_prog_by_sec_insn of the file tools/lib/bpf/libbpf.c of the component BPF. The manipulation leads to null pointer dereference. It is recommended to apply a patch to fix this issue. The identifier VDB-211749 was assigned to this vulnerability.
osv
CVE-2022-3534HIGHCVSS 8.0≥ 0, < 0.3-2+deb11u1≥ 0, < 1.1.0-12022-10-17
CVE-2022-3534 [HIGH] CVE-2022-3534: A vulnerability classified as critical has been found in Linux Kernel A vulnerability classified as critical has been found in Linux Kernel. Affected is the function btf_dump_name_dups of the file tools/lib/bpf/btf_dump.c of the component libbpf. The manipulation leads to use after free. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-211032.
osv
CVE-2022-3533MEDIUMCVSS 5.7≥ 0, < 1.1.0-12022-10-17
CVE-2022-3533 [MEDIUM] CVE-2022-3533: A vulnerability was found in Linux Kernel A vulnerability was found in Linux Kernel. It has been rated as problematic. This issue affects the function parse_usdt_arg of the file tools/lib/bpf/usdt.c of the component BPF. The manipulation of the argument reg_name leads to memory leak. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-211031.
osv
CVE-2021-45940MEDIUMCVSS 6.5v0.6.0v0.6.12022-01-01
CVE-2021-45940 [MEDIUM] CWE-787 CVE-2021-45940: libbpf 0.6.0 and 0.6.1 has a heap-based buffer overflow (4 bytes) in __bpf_object__open (called from libbpf 0.6.0 and 0.6.1 has a heap-based buffer overflow (4 bytes) in __bpf_object__open (called from bpf_object__open_mem and bpf-object-fuzzer.c).
nvdosv
CVE-2021-45941MEDIUMCVSS 6.5v0.6.0v0.6.12022-01-01
CVE-2021-45941 [MEDIUM] CWE-787 CVE-2021-45941: libbpf 0.6.0 and 0.6.1 has a heap-based buffer overflow (8 bytes) in __bpf_object__open (called from libbpf 0.6.0 and 0.6.1 has a heap-based buffer overflow (8 bytes) in __bpf_object__open (called from bpf_object__open_mem and bpf-object-fuzzer.c).
nvdosv