CVE-2021-45941: Buffer Overflow

Published Dec 31, 2021
·
Updated

libbpf 0.6.0 and 0.6.1 has a heap-based buffer overflow (8 bytes) in bpfobjectopen (called from bpfobjectopenmem and bpf-object-fuzzer.c).

Affected Software

2 affected components
Libbpf Project Libbpf=0.6.0
Libbpf Project Libbpf=0.6.1

Event History

Dec 31, 2021
CVE Published
via MITRE·11:57 PM
Data Sourced
via MITRE·11:57 PM
Description
Jan 1, 2022
Data Sourced
via NVD·01:15 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-45941?

The severity of CVE-2021-45941 is considered critical due to the potential for a heap-based buffer overflow.

2

How do I fix CVE-2021-45941?

To fix CVE-2021-45941, upgrade libbpf to version 0.6.2 or later.

3

What versions of libbpf are affected by CVE-2021-45941?

CVE-2021-45941 affects libbpf versions 0.6.0 and 0.6.1.

4

What kind of vulnerability is CVE-2021-45941?

CVE-2021-45941 is a heap-based buffer overflow vulnerability.

5

Can CVE-2021-45941 be exploited remotely?

Yes, CVE-2021-45941 can potentially be exploited remotely if the vulnerable application is exposed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203