
CVE catalog
CVE-2021-45940
libbpf: CVE-2021-45940
- Severity
- Medium · CVSS 5.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.25% · Oct 25, 2026
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).
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libbpf | sid | 1.7.0-1 | fixed |
| Debian | libbpf | forky | 1.7.0-1 | fixed |
| Debian | libbpf | trixie | 1.5.0-3 | fixed |
| Debian | libbpf | bookworm | 1.1.2-0+deb12u1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libbpf | source | sid | 0.7.0-2 | not yet assigned | Not reported | Not reported |
| Debian | libbpf | source | forky | 0.7.0-2 | not yet assigned | Not reported | Not reported |
| Debian | libbpf | source | trixie | 0.7.0-2 | not yet assigned | Not reported | Not reported |
| Debian | libbpf | source | bookworm | 0.7.0-2 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libbpf1]Fixed
Source package: [libbpf]
Details (4)
1:1.1.2-0+deb12u1· amd64 · bookwormFixed · Fixed:
0.7.0-2dsa · libbpf · debian · bookworm; dsa · libbpf · debian · 12
1:1.1.2-0+deb12u1· arm64 · bookwormFixed · Fixed:
0.7.0-2dsa · libbpf · debian · bookworm; dsa · libbpf · debian · 12
1:1.4.6-1~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
0.7.0-2dsa · libbpf · debian · bookworm; dsa · libbpf · debian · 12
1:1.4.6-1~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
0.7.0-2dsa · libbpf · debian · bookworm; dsa · libbpf · debian · 12
- [libbpf-dev]Fixed
Source package: [libbpf]
Details (4)
1:1.1.2-0+deb12u1· amd64 · bookwormFixed · Fixed:
0.7.0-2dsa · libbpf · debian · bookworm; dsa · libbpf · debian · 12
1:1.1.2-0+deb12u1· arm64 · bookwormFixed · Fixed:
0.7.0-2dsa · libbpf · debian · bookworm; dsa · libbpf · debian · 12
1:1.4.6-1~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
0.7.0-2dsa · libbpf · debian · bookworm; dsa · libbpf · debian · 12
1:1.4.6-1~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
0.7.0-2dsa · libbpf · debian · bookworm; dsa · libbpf · debian · 12
[Debian 13 (Trixie)]
- [libbpf1]Fixed
Source package: [libbpf]
Details (2)
1:1.5.0-3· amd64 · trixieFixed · Fixed:
0.7.0-2dsa · libbpf · debian · 13
1:1.5.0-3· arm64 · trixieFixed · Fixed:
0.7.0-2dsa · libbpf · debian · 13
- [libbpf-dev]Fixed
Source package: [libbpf]
Details (2)
1:1.5.0-3· amd64 · trixieFixed · Fixed:
0.7.0-2dsa · libbpf · debian · 13
1:1.5.0-3· arm64 · trixieFixed · Fixed:
0.7.0-2dsa · libbpf · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_12491-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-45940]
- [https://security-tracker.debian.org/tracker/CVE-2021-45940]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-45940.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]