# CVE-2026-68376: sctp: fix auth_hmacs array size in struct sctp_cookie

- Severity: High 8.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/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.64%, higher than 45% of CVEs (2026-11-30)
- Published: 2026-08-10T12:03:54.666Z
- Modified: 2026-10-19T22:17:15.233Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

sctp: fix auth_hmacs array size in struct sctp_cookie

The auth_hmacs array in struct sctp_cookie is supposed to store a complete
SCTP_AUTH_HMAC_ALGO parameter, which consists of a struct sctp_paramhdr
followed by N HMAC identifiers.

However, the array size was calculated using an extra 2 bytes instead of
sizeof(struct sctp_paramhdr), which is 4 bytes. When four HMAC identifiers
are configured, the HMAC-ALGO parameter stored in the endpoint is larger
than the auth_hmacs buffer in the cookie.

As a result, sctp_association_init() copies beyond the end of auth_hmacs
when initializing the association, corrupting the adjacent auth_chunks
field. This can lead to an invalid HMAC identifier being accepted and later
cause an out-of-bounds read in sctp_auth_get_hmac().

Fix the array size calculation by including the full SCTP parameter header
size.

(As written by CVE List.)

## Affected

- Linux Linux: from 1f485649f52929d9937b346a920a522a7363e202 before 317731d01b03c529809df36d3a7d149677a8729d; from 1f485649f52929d9937b346a920a522a7363e202 before 0528485f27016a42804abe01aa61b39d85fa803e; from 1f485649f52929d9937b346a920a522a7363e202 before ee5e65964f456adfe14d526fba0bd055de98ecf3; from 1f485649f52929d9937b346a920a522a7363e202 before 0b4414e43e0861d67276031cc21401d7e87de3da; from 1f485649f52929d9937b346a920a522a7363e202 before d0a59ba58578e2b330fff80a44fe519f3ba7d8c7; from 1f485649f52929d9937b346a920a522a7363e202 before a8d20ba0ab518c9ccbcde258f25fc1ee6e51d5db; from 1f485649f52929d9937b346a920a522a7363e202 before 3aa40c3bccac2312ea7cf97f329190637f972b5d; from 1f485649f52929d9937b346a920a522a7363e202 before e0b5252a59383b77d1b8dbeda00b7184dd95f4d3; 2.6.24 (not affected: before 2.6.24; from 5.10.265 up to 5.10.*; from 5.15.216 up to 5.15.*; from 6.1.183 up to 6.1.*; from 6.6.148 up to 6.6.*; from 6.12.101 up to 6.12.*; from 6.18.42 up to 6.18.*; from 7.1.6 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/317731d01b03c529809df36d3a7d149677a8729d>
- <https://git.kernel.org/stable/c/0528485f27016a42804abe01aa61b39d85fa803e>
- <https://git.kernel.org/stable/c/ee5e65964f456adfe14d526fba0bd055de98ecf3>
- <https://git.kernel.org/stable/c/0b4414e43e0861d67276031cc21401d7e87de3da>
- <https://git.kernel.org/stable/c/d0a59ba58578e2b330fff80a44fe519f3ba7d8c7>
- <https://git.kernel.org/stable/c/a8d20ba0ab518c9ccbcde258f25fc1ee6e51d5db>
- <https://git.kernel.org/stable/c/3aa40c3bccac2312ea7cf97f329190637f972b5d>
- <https://git.kernel.org/stable/c/e0b5252a59383b77d1b8dbeda00b7184dd95f4d3>

## Sources

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

---

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