CVE-2021-45941: libbpf_project libbpf Out-of-bounds Write
Vulnerability summary
CVE-2021-45941 is a medium (CVSS 6.5) Out-of-bounds Write vulnerability in libbpf_project libbpf. EPSS estimates a 1.21% chance of exploitation in the next 30 days, higher than 68.4% of scored vulnerabilities. 2 public exploits are recorded.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 31-12-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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).
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.21%
Chance of exploitation in the next 30 days
Percentile
68%
Versus all other CVEs
30-day change
Increase +0.12 pp
From 1.09% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundOss Fuzz Vulns
Maturity: poc
Exploit Reference (bugs.chromium.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- libbpf< 0.7.0-2
Libbpf_project1 product
- libbpf0.6.0 | 0.6.1
2 vendors · 2 products
References
3 links- github.com/google/oss-fuzz-vulns/blob/main/vulns/libbpf/OSV-2021-1576.yamlX Refsource MISCExploitThird Party Advisory
- bugs.chromium.org/p/oss-fuzz/issues/detail?id=40957X Refsource MISCExploitIssue TrackingThird Party Advisory