Submit #818291: Cilium cilium/ebpf v0.19.0-v0.21.0 Denial of Serviceinfo

TitleCilium cilium/ebpf v0.19.0-v0.21.0 Denial of Service
Descriptiongithub.com/cilium/ebpf v0.19.0 through v0.21.0 contains an improper BTF string offset validation flaw in shared string-table lookup logic. A malformed .BTF or .BTF.ext record can set a non-zero string offset equal to BTF StringLen, which is incorrectly treated as valid and causes a parser panic instead of returning an error. The issue is reachable through public parser APIs such as LoadCollectionSpec and LoadCollectionSpecFromReader, was validated across multiple independent .BTF and .BTF.ext fields, and can terminate a process parsing less-trusted eBPF ELF/BTF artifacts, resulting in denial of service.
Source⚠️ https://gist.github.com/thesmartshadow/256bff0f8042c584f993ace89074a815
User alifiras (UID 94093)
Submission05/03/2026 01:11 (1 month ago)
Moderation06/03/2026 07:17 (1 month later)
StatusAccepted
VulDB entry368091 [cilium ebpf up to 0.21.0 LoadCollectionSpec/LoadCollectionSpecFromReader btf/btf.go loadRawSpec offset integer overflow]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!