Description
Buffer Overflow vulnerability in libbpf 1.5.0 allows a local attacker to execute arbitrary code via the bpf_object__init_prog` function of libbpf. This has been disputed by third parties who assert that "no one in their sane mind should be passing untrusted ELF files into libbpf while running under root."
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libbpf | 1.5.0-3 | — |
| Debian 13 | libbpf | 1.5.0-3 | — |
| Debian 12 | libbpf | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | libbpf | No fix yet | — |
| Ubuntu 22.04 LTS | libbpf | No fix yet | — |
| Ubuntu 20.04 LTS | dwarves-dfsg | No fix yet | — |
| Ubuntu 16.04 LTS | dwarves-dfsg | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | libbpf | No fix yet | — |
| Ubuntu Pro 18.04 LTS | dwarves-dfsg | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | bcc | 0.29.1-3 | — |
| Azure Linux 3 | dwarves | 1.25-2 | — |
| Azure Linux 3 | libbpf | 1.2.2-2 | — |
| Azure Linux 3 | pcp | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | libbpf | 1.0.1-2 | — |