ebpf-go is vulnerable to integer overflow via LoadCollectionSpecFromReader
Low severity
GitHub Reviewed
Published
Jun 3, 2026
to the GitHub Advisory Database
•
Updated Aug 17, 2026
Description
Published by the National Vulnerability Database
Jun 3, 2026
Published to the GitHub Advisory Database
Jun 3, 2026
Reviewed
Aug 17, 2026
Last updated
Aug 17, 2026
A vulnerability has been found in cilium ebpf up to 0.21.0. This affects the function loadRawSpec of the file btf/btf.go of the component LoadCollectionSpec/LoadCollectionSpecFromReader. Such manipulation of the argument offset leads to integer overflow. The attack can only be performed from a local environment. The exploit has been disclosed to the public and may be used. The name of the patch is 533dfc82fd228bfadf42ea7180c39de7d9af47fa. A patch should be applied to remediate this issue.
References