CVE-2025-29481
NixOS vulnerability analysis and mitigation

Overview

Buffer Overflow vulnerability in libbpf 1.5.0 was discovered and disclosed on April 7, 2025. The vulnerability affects the bpfobject_init_prog function of libbpf, allowing local attackers to execute arbitrary code. This security flaw has been assigned CVE-2025-29481 and received a CVSS 3.1 base score of 6.2 (Medium) from CISA-ADP (NVD, RedHat).

Technical details

The vulnerability is classified as a heap buffer overflow (CWE-120) that occurs in the bpfobject_init_prog function within src/libbpf.c at line 850. The flaw stems from missing boundary checks when copying BPF program instructions from a malformed ELF file, which leads to memory corruption during memcpy operations. The vulnerability has been assigned a CVSS vector of CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating local access requirements with no privileges needed (GitHub POC).

Impact

The vulnerability can be exploited by a local attacker to execute arbitrary code or cause a denial of service (crash) through a crafted ELF file that triggers a heap buffer overflow. The impact primarily affects system availability, with potential for code execution that could compromise system security (RedHat).

Mitigation and workarounds

Red Hat Enterprise Linux 9 is confirmed to be affected, while Red Hat Enterprise Linux 8 and Red Hat OpenShift Container Platform 4 are not affected. Users are advised to update to a patched version when available. Currently, the vulnerability remains unfixed in Debian's trixie and sid distributions running libbpf version 1.5.0-2 (Debian Tracker, RedHat).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-11721CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesOct 14, 2025
CVE-2025-11719CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:thunderbird
NoYesOct 14, 2025
CVE-2025-11717CRITICAL9.1
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesOct 14, 2025
CVE-2025-11720HIGH8.1
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesOct 14, 2025
CVE-2025-11718MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesOct 14, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management