{"id":"CVE-2026-68376","aliases":["CVE-2026-68376"],"related":[],"kind":"vulnerability","state":"published","title":"sctp: fix auth_hmacs array size in struct sctp_cookie","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: fix auth_hmacs array size in struct sctp_cookie\n\nThe auth_hmacs array in struct sctp_cookie is supposed to store a complete\nSCTP_AUTH_HMAC_ALGO parameter, which consists of a struct sctp_paramhdr\nfollowed by N HMAC identifiers.\n\nHowever, the array size was calculated using an extra 2 bytes instead of\nsizeof(struct sctp_paramhdr), which is 4 bytes. When four HMAC identifiers\nare configured, the HMAC-ALGO parameter stored in the endpoint is larger\nthan the auth_hmacs buffer in the cookie.\n\nAs a result, sctp_association_init() copies beyond the end of auth_hmacs\nwhen initializing the association, corrupting the adjacent auth_chunks\nfield. This can lead to an invalid HMAC identifier being accepted and later\ncause an out-of-bounds read in sctp_auth_get_hmac().\n\nFix the array size calculation by including the full SCTP parameter header\nsize.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: fix auth_hmacs array size in struct sctp_cookie\n\nThe auth_hmacs array in struct sctp_cookie is supposed to store a complete\nSCTP_AUTH_HMAC_ALGO parameter, which consists of a struct sctp_paramhdr\nfollowed by N HMAC identifiers.\n\nHowever, the array size was calculated using an extra 2 bytes instead of\nsizeof(struct sctp_paramhdr), which is 4 bytes. When four HMAC identifiers\nare configured, the HMAC-ALGO parameter stored in the endpoint is larger\nthan the auth_hmacs buffer in the cookie.\n\nAs a result, sctp_association_init() copies beyond the end of auth_hmacs\nwhen initializing the association, corrupting the adjacent auth_chunks\nfield. This can lead to an invalid HMAC identifier being accepted and later\ncause an out-of-bounds read in sctp_auth_get_hmac().\n\nFix the array size calculation by including the full SCTP parameter header\nsize.","source":"cvelist"}],"published":"2026-08-10T12:03:54.666Z","modified":"2026-10-19T22:17:15.233Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"1f485649f52929d9937b346a920a522a7363e202","fixed":"317731d01b03c529809df36d3a7d149677a8729d","status":"affected"},{"type":"git","introduced":"1f485649f52929d9937b346a920a522a7363e202","fixed":"0528485f27016a42804abe01aa61b39d85fa803e","status":"affected"},{"type":"git","introduced":"1f485649f52929d9937b346a920a522a7363e202","fixed":"ee5e65964f456adfe14d526fba0bd055de98ecf3","status":"affected"},{"type":"git","introduced":"1f485649f52929d9937b346a920a522a7363e202","fixed":"0b4414e43e0861d67276031cc21401d7e87de3da","status":"affected"},{"type":"git","introduced":"1f485649f52929d9937b346a920a522a7363e202","fixed":"d0a59ba58578e2b330fff80a44fe519f3ba7d8c7","status":"affected"},{"type":"git","introduced":"1f485649f52929d9937b346a920a522a7363e202","fixed":"a8d20ba0ab518c9ccbcde258f25fc1ee6e51d5db","status":"affected"},{"type":"git","introduced":"1f485649f52929d9937b346a920a522a7363e202","fixed":"3aa40c3bccac2312ea7cf97f329190637f972b5d","status":"affected"},{"type":"git","introduced":"1f485649f52929d9937b346a920a522a7363e202","fixed":"e0b5252a59383b77d1b8dbeda00b7184dd95f4d3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.24","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.24","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.148","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.101","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/317731d01b03c529809df36d3a7d149677a8729d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0528485f27016a42804abe01aa61b39d85fa803e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee5e65964f456adfe14d526fba0bd055de98ecf3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0b4414e43e0861d67276031cc21401d7e87de3da","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d0a59ba58578e2b330fff80a44fe519f3ba7d8c7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a8d20ba0ab518c9ccbcde258f25fc1ee6e51d5db","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3aa40c3bccac2312ea7cf97f329190637f972b5d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e0b5252a59383b77d1b8dbeda00b7184dd95f4d3","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:47:35.941Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68376","url":"https://www.cve.org/CVERecord?id=CVE-2026-68376","licence":"CVE Terms of Use","modified":"2026-10-19T21:09:06.621Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68376","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68376","licence":"Public domain","modified":"2026-10-19T22:17:15.233Z"}],"updatedAt":"2026-11-25T22:59:32.105Z","epss":{"score":0.00639,"percentile":0.45225,"date":"2026-11-30T12:00:22.000Z"}}