What’s Vulnerable › Vulnerabilities
CVE-2021-45941
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-01-01 · updated 2026-06-17
- Weakness: CWE-787
Description
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).
Affected products
- Libbpf Project Libbpf: 0.6.0, 0.6.1
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40957
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/libbpf/OSV-2021-1576.yaml
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40957
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/libbpf/OSV-2021-1576.yaml
Get alerted when CVE-2021-45941 or the next vulnerability affects your stack