{"id":"CVE-2026-64551","published":"2026-07-27T20:10:40Z","modified":"2026-10-19T20:48:40Z","title":"sctp: validate STALE_COOKIE cause length before reading staleness","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: validate STALE_COOKIE cause length before reading staleness\n\nWhen an ERROR chunk with a STALE_COOKIE cause is received in the\nCOOKIE_ECHOED state, sctp_sf_do_5_2_6_stale() reads the 4-byte Measure\nof Staleness that follows the cause header:\n\n\terr   = (struct sctp_errhdr *)(chunk->skb->data);\n\tstale = ntohl(*(__be32 *)((u8 *)err + sizeof(*err)));\n\nerr is the first cause in the chunk, not the STALE_COOKIE cause that\ncaused the dispatch, and nothing guarantees the staleness field is\npresent. sctp_walk_errors() only requires a cause to be as long as the\n4-byte header, so for a STALE_COOKIE cause of length 4 the read runs\npast the cause, and for a minimal ERROR chunk past skb->tail. The value\nis echoed to the peer in the Cookie Preservative of the reply INIT,\nleaking uninitialized memory.\n\nsctp_sf_cookie_echoed_err() already walks to the STALE_COOKIE cause, so\ncheck its length there and pass it to sctp_sf_do_5_2_6_stale(), which\nreads that cause instead of the first one. A STALE_COOKIE cause too\nshort to hold the staleness field is discarded.\n\nThe read is reachable by any peer that can drive an association into\nCOOKIE_ECHOED, including an unprivileged process using a raw SCTP socket\nin a user and network namespace.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00735,"percentile":0.50433,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://git.kernel.org/stable/c/6022da37786701df1fc5dd946a6dcba59d5473b1","tags":[]},{"url":"https://git.kernel.org/stable/c/861f884f5471632c731cbbd612a1c072e391a624","tags":[]},{"url":"https://git.kernel.org/stable/c/588706ebaf8cdb4a4161602949eba365514b1db1","tags":[]},{"url":"https://git.kernel.org/stable/c/a257b41ddfe9e327b26581ad2777f04b23ac73f5","tags":[]},{"url":"https://git.kernel.org/stable/c/08a8f2d13f703924316e9aeac863a88ef50990c7","tags":[]},{"url":"https://git.kernel.org/stable/c/ebe0a55d954fa8da383b6192edb8f763dcb002d5","tags":[]},{"url":"https://git.kernel.org/stable/c/bbd6b2ea966cf57b6ae095cf5a8dbc993cd197a0","tags":[]},{"url":"https://git.kernel.org/stable/c/1cd23ca80784223fa2204e16203f754da4e821f8","tags":[]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":10.09},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6022da37786701df1fc5dd946a6dcba59d5473b1",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 861f884f5471632c731cbbd612a1c072e391a624",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 588706ebaf8cdb4a4161602949eba365514b1db1",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a257b41ddfe9e327b26581ad2777f04b23ac73f5",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 08a8f2d13f703924316e9aeac863a88ef50990c7",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ebe0a55d954fa8da383b6192edb8f763dcb002d5",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bbd6b2ea966cf57b6ae095cf5a8dbc993cd197a0",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1cd23ca80784223fa2204e16203f754da4e821f8"]},{"vendor":"Linux","product":"Linux","versions":["2.6.12"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-16T15:42:25.961430Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-49602","exploited":false,"provenance":"source"}}