libbpf 0.6.0 and 0.6.1 has a heap-based buffer overflow (8 bytes) in __bpf_object__open…
Priority LOW 31CWE-787Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Will not fix Red Hat: no fix planned
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
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).
Why it matters now
EPSS 0.01211 68th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Will not fix Red Hat: no fix planned
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libbpf_project:libbpf:0.6.0:*:*:*:*:*:*:* | 0.6.0 | Vulnerable | Libbpf Project |
| cpe:2.3:a:libbpf_project:libbpf:0.6.1:*:*:*:*:*:*:* | 0.6.1 | Vulnerable | Libbpf Project |
- cpe:2.3:a:libbpf_project:libbpf:0.6.0:*:*:*:*:*:*:* Versions 0.6.0 Vulnerable ·Libbpf Project
- cpe:2.3:a:libbpf_project:libbpf:0.6.1:*:*:*:*:*:*:* Versions 0.6.1 Vulnerable ·Libbpf Project
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
Not affected: 1 product
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2021-45941
- 2026-10-03 Alias added: GHSA-mjhv-hh5f-w838
References
More Libbpf Project Libbpf vulnerabilities
- TI-2025-21100 Buffer Overflow vulnerability in libbpf 1.5.0 allows a local attacker to execute… CVSS 3.1MEDIUM 6.2
- TI-2021-20944 libbpf 0.6.0 and 0.6.1 has a heap-based buffer overflow (4 bytes) in __bpf_object__open… CVSS 3.1MEDIUM 6.5
Sources
- CVE-2021-45941 · CVE Program
- CVE-2021-45941 · NVD
- FIRST EPSS
- GHSA-mjhv-hh5f-w838 · GitHub Advisory Database · CC BY 4.0
- CVE-2021-45941 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences