CVE-2026-72400
seg6: validate SRH length before reading fixed fields
Reported by linux · Published August 15, 2026
In the Linux kernel, the following vulnerability has been resolved: seg6: validate SRH length before reading fixed fields seg6_validate_srh() reads fixed SRH fields such as srh->type and srh->hdrlen before checking that the supplied length covers the fixed struct ipv6_sr_hdr fields. The BPF SEG6 encap path reaches this with a BPF program-supplied pointer and length: bpf_lwt_push_encap() and the SEG6 local BPF END_B6 and END_B6_ENCAP actions call bpf_push_seg6_encap(), which forwards the length to seg6_validate_srh() with no minimum-size guard. A 2-byte SEG6 encap header can therefore make the validator read srh->type at offset 2 beyond the caller-supplied buffer. Reject lengths shorter than the fixed SRH at the top of seg6_validate_srh(), before any field is read. This fixes the BPF helper path and keeps the common validator robust.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| microvm-kernel6.18 | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| perf | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| Linux | Linux | 7247d05c987c3eec4bb7c2306dbd77ecdf3b7c73, 715eb12e453df752f1b4baaf972c3acff0ab9402, 4.18 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | fe94cc290f535709d3c5ebd1e472dfd0aec7ee79, fe94cc290f535709d3c5ebd1e472dfd0aec7ee79, fe94cc290f535709d3c5ebd1e472dfd0aec7ee79 |
| Linux | Linux | 4.18, 0, 5.10.261 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | perf | 0 |
| Linux | Linux | 6.12.97, 6.6.145, 6.1.178 |
| amazon:2023 | kernel-livepatch-6.12.100-125.179 | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.1.180-225.360 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.12 | 0 |
…and 18 more
Timeline
- Aug 15, 2026 Coalition ESS Score
- Aug 15, 2026 CVE Published
- Aug 19, 2026 Security Advisory
- Aug 24, 2026 EPSS Score (12 in total, the first dated here)
- Oct 16, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-72400
vulnetix vdb fixes CVE-2026-72400
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-72400/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart