Live threats

All CVEs / Libbpf Project

CVE-2021-45941Libbpf Project Libbpf

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
No
Published
Jan 1, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Libbpf.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libbpf_projectlibbpf0.6.0
libbpf_projectlibbpf0.6.1

Official sources

References

Links published by the sources. Open them with care.