Security mailing lists by PureSourceCode

CVE-2021-45940

MEDIUM 6.5CVSS 3.1

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).

Published
1 Jan 2022
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-787
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD libbpf_project libbpf
cpe:2.3:a:libbpf_project:libbpf:0.6.0:*:*:*:*:*:*:*
= 0.6.0
NVD libbpf_project libbpf
cpe:2.3:a:libbpf_project:libbpf:0.6.1:*:*:*:*:*:*:*
= 0.6.1

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 1 Jan 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.