# CVE-2026-64551: sctp: validate STALE_COOKIE cause length before reading staleness

- Severity: Critical 9.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-07-27T20:10:40.012Z
- Modified: 2026-11-13T18:23:27.807Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6022da37786701df1fc5dd946a6dcba59d5473b1; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 861f884f5471632c731cbbd612a1c072e391a624; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 588706ebaf8cdb4a4161602949eba365514b1db1; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a257b41ddfe9e327b26581ad2777f04b23ac73f5; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 08a8f2d13f703924316e9aeac863a88ef50990c7; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ebe0a55d954fa8da383b6192edb8f763dcb002d5; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bbd6b2ea966cf57b6ae095cf5a8dbc993cd197a0; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1cd23ca80784223fa2204e16203f754da4e821f8; 2.6.12 (not affected: before 2.6.12; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 2.6.12.1 before 5.10.261; from 5.11 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.97; from 6.13 before 6.18.40; from 6.19 before 7.1.5; 2.6.12; 7.2

## References

- <https://git.kernel.org/stable/c/6022da37786701df1fc5dd946a6dcba59d5473b1> (patch)
- <https://git.kernel.org/stable/c/861f884f5471632c731cbbd612a1c072e391a624> (patch)
- <https://git.kernel.org/stable/c/588706ebaf8cdb4a4161602949eba365514b1db1> (patch)
- <https://git.kernel.org/stable/c/a257b41ddfe9e327b26581ad2777f04b23ac73f5> (patch)
- <https://git.kernel.org/stable/c/08a8f2d13f703924316e9aeac863a88ef50990c7> (patch)
- <https://git.kernel.org/stable/c/ebe0a55d954fa8da383b6192edb8f763dcb002d5> (patch)
- <https://git.kernel.org/stable/c/bbd6b2ea966cf57b6ae095cf5a8dbc993cd197a0> (patch)
- <https://git.kernel.org/stable/c/1cd23ca80784223fa2204e16203f754da4e821f8> (patch)

## Sources

- CVE List: [CVE-2026-64551](https://www.cve.org/CVERecord?id=CVE-2026-64551), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-64551](https://nvd.nist.gov/vuln/detail/CVE-2026-64551), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-64551 · Whole record: https://cve.day/CVE-2026-64551.json · Rebuilt by cve.day 2026-11-25T22:59:30.274Z
