CVE-2026-44778: Inspektor Gadget: Unprivileged container can crash USDT note parser via crafted ELF (no shipped gadget affected)
A malicious container can crash or destabilize the privileged Inspektor Gadget process when a gadget using USDT probes is deployed. The vulnerability is in the USDT note parser (pkg/uprobetracer/usdt.go) which is invoked when a gadget with a SEC("usdt/...") section attaches to a target binary. An unprivileged process can place a crafted ELF binary at the expected library path, triggering one of two attack vectors:
- Panic (immediate crash): A stapsdt note with a small
DescSizecauses an out-of-bounds slice access, panicking the IG process. - Memory exhaustion (OOM kill): A stapsdt note with a very large
NameSizeorDescSizecauses IG to allocate up to ~4 GiB of memory, which can killnthe process if deployed with memory restrictions (e.g., cgroup limits).
Important: The vulnerability is only triggered when running a gadget that uses USDT probes (i.e., contains a SEC("usdt/...") eBPF section). No gadget shipped by the Inspektor Gadget project uses USDT today. Users who deploy their own custom USDT gadgets are affected.
References
- github.com/advisories/GHSA-7cfq-5mhv-jrp9
- github.com/inspektor-gadget/inspektor-gadget/commit/ec69da2e00c39bc43f389f943899e5ff9c7b011a
- github.com/inspektor-gadget/inspektor-gadget/pull/5547
- github.com/inspektor-gadget/inspektor-gadget/releases/tag/v0.53.1
- github.com/inspektor-gadget/inspektor-gadget/security/advisories/GHSA-7cfq-5mhv-jrp9
- nvd.nist.gov/vuln/detail/CVE-2026-44778
Code Behaviors & Features
Detect and mitigate CVE-2026-44778 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →