AI Security Summit: Join Figma, Perplexity & Wiz. [Register]

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

Exploitability

A proof-of-concept exploit has been publicly disclosed demonstrating the vulnerability. The exploit involves using a specially crafted malformed BPF file that triggers the heap buffer overflow when processed by the vulnerable libbpf version. The attack requires local access to the system (GitHub POC).

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

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

libbpf

Affected

sid

libbpf: 1.5.0-3

Fixed

trixie

libbpf: 1.5.0-3

Fixed

RHEL / CentOS

Affected

OpenShift

Not Affected

RHEL 8

Not Affected

RHEL 9

Not Affected

RHEL 10

Not Affected

SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-85706CRITICAL10
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
YesYesSep 12, 2026
CVE-2026-88009HIGH8.8
  • NixOS logoNixOS
  • traefik-3
NoYesSep 10, 2026
CVE-2026-88008HIGH7
  • NixOS logoNixOS
  • traefik
NoYesSep 10, 2026
CVE-2026-88012MEDIUM5.3
  • NixOS logoNixOS
  • cpe:2.3:a:traefik:traefik
NoYesSep 10, 2026
CVE-2026-88011MEDIUM5.3
  • NixOS logoNixOS
  • traefik-fips-3
NoYesSep 10, 2026

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