LiveActive security incident?Get immediate response
CVE Record

CVE-2021-45940: libbpf 0.6.0 and 0.6.1 has a heap-based buffer overflow (4 bytes) in __bpf_object__open (called from bpf_ob...

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

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2021-45940 is a reported 4-byte heap buffer overflow in libbpf versions 0.6.0 and 0.6.1. It occurs while opening BPF object data. The provided sources do not include a CVSS score, confirmed affected CPEs, active exploitation evidence, or a named fix.

Executive priority

Handle as a dependency hygiene and exposure scoping task, not an emergency based on the provided evidence. Escalate priority if affected versions parse untrusted input or a vendor advisory confirms higher impact.

Technical view

The issue is described in __bpf_object__open, reachable through bpf_object__open_mem and an OSS-Fuzz target. The source bundle identifies libbpf 0.6.0 and 0.6.1, but lists vendor/product as n/a and provides no CWE, patch details, or exploitability assessment.

Likely exposure

Exposure is most plausible where software uses libbpf 0.6.0 or 0.6.1 to open BPF object data, especially data not fully controlled by the application owner. The bundle does not prove broader platform exposure.

Exploitation context

The CVE is tied to an OSS-Fuzz finding. The bundle marks KEV as false and provides no source confirming real-world exploitation. Treat exploit status as unknown, not active.

Researcher notes

Evidence is sparse: no CVSS, CWE, CPE, patch statement, or exploit confirmation is included. The strongest facts are the affected libbpf versions, heap overflow description, function path, and OSS-Fuzz origin.

Mitigation direction

  • Inventory applications and containers for libbpf 0.6.0 or 0.6.1.
  • Check upstream libbpf and vendor advisories for fixed versions or backports.
  • Avoid processing untrusted BPF object data until exposure is resolved.
  • Prioritize remediation where libbpf parsing is reachable from external input.

Validation and detection

  • Confirm deployed libbpf versions through software bills of materials or package inventories.
  • Identify code paths calling bpf_object__open_mem or related object-opening APIs.
  • Review whether BPF object inputs can come from users, files, downloads, or integrations.
  • Track remediation evidence against vendor guidance, not assumptions.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-45940 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.