CVE-2026-64551
sctp: validate STALE_COOKIE cause length before reading staleness
Reported by linux · Published July 27, 2026
In the Linux kernel, the following vulnerability has been resolved: sctp: validate STALE_COOKIE cause length before reading staleness When an ERROR chunk with a STALE_COOKIE cause is received in the COOKIE_ECHOED state, sctp_sf_do_5_2_6_stale() reads the 4-byte Measure of Staleness that follows the cause header: err = (struct sctp_errhdr *)(chunk->skb->data); stale = ntohl(*(__be32 *)((u8 *)err + sizeof(*err))); err is the first cause in the chunk, not the STALE_COOKIE cause that caused the dispatch, and nothing guarantees the staleness field is present. sctp_walk_errors() only requires a cause to be as long as the 4-byte header, so for a STALE_COOKIE cause of length 4 the read runs past the cause, and for a minimal ERROR chunk past skb->tail. The value is echoed to the peer in the Cookie Preservative of the reply INIT, leaking uninitialized memory. sctp_sf_cookie_echoed_err() already walks to the STALE_COOKIE cause, so check its length there and pass it to sctp_sf_do_5_2_6_stale(), which reads that cause instead of the first one. A STALE_COOKIE cause too short to hold the staleness field is discarded. The read is reachable by any peer that can drive an association into COOKIE_ECHOED, including an unprivileged process using a raw SCTP socket in a user and network namespace.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-devel | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| kernel-livepatch-6.12.100-125.179 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| kernel | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| perf | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| bpftool | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| python3-perf | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
2 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 |
| Linux | Linux | 2.6.12, 0, 5.10.261 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.100-125.179 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel-devel | 0 |
| linux | linux_kernel | 2.6.12, 2.6.12, 2.6.12 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.12 | 0 |
…and 18 more
Timeline
- Jul 27, 2026 CVE Published
- Jul 28, 2026 Coalition ESS Score
- Jul 28, 2026 Security Advisory
- Aug 7, 2026 EPSS Score (30 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64551
vulnetix vdb fixes CVE-2026-64551
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-64551/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart