CVE
CVE-2021-45940
publishedlibbpf: heap-based buffer overflow (4 bytes) in __bpf_object__open
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbpf-develaarch64 | Advisory build | 1.0.1-2.1 | OPENSUSE-SU-2024:12491-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbpf-develppc64le | Advisory build | 1.0.1-2.1 | OPENSUSE-SU-2024:12491-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbpf-devels390x | Advisory build | 1.0.1-2.1 | OPENSUSE-SU-2024:12491-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbpf-develx86_64 | Advisory build | 1.0.1-2.1 | OPENSUSE-SU-2024:12491-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbpf-devel-staticaarch64 | Advisory build | 1.0.1-2.1 | OPENSUSE-SU-2024:12491-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbpf-devel-staticppc64le | Advisory build | 1.0.1-2.1 | OPENSUSE-SU-2024:12491-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbpf-devel-statics390x | Advisory build | 1.0.1-2.1 | OPENSUSE-SU-2024:12491-1 |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | libbpf-devel-staticx86_64 | Advisory build | 1.0.1-2.1 | OPENSUSE-SU-2024:12491-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbpf1aarch64 | Advisory build | 1.0.1-2.1 | OPENSUSE-SU-2024:12491-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbpf1ppc64le | Advisory build | 1.0.1-2.1 | OPENSUSE-SU-2024:12491-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbpf1s390x | Advisory build | 1.0.1-2.1 | OPENSUSE-SU-2024:12491-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbpf1x86_64 | Advisory build | 1.0.1-2.1 | OPENSUSE-SU-2024:12491-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbpf1-32bitaarch64 | Advisory build | 1.0.1-2.1 | OPENSUSE-SU-2024:12491-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbpf1-32bitppc64le | Advisory build | 1.0.1-2.1 | OPENSUSE-SU-2024:12491-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbpf1-32bits390x | Advisory build | 1.0.1-2.1 | OPENSUSE-SU-2024:12491-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbpf1-32bitx86_64 | Advisory build | 1.0.1-2.1 | OPENSUSE-SU-2024:12491-1 |
Description
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
2Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5535ac7110d70087870bad6f56ff0aa9ad994b2020eede73b69258944fc05b0e
- Ingested
- 23 Sep 2026, 07:56:57 UTC
- Source record
- Official CVE record