7.8

CVE-2025-40331: sctp: Prevent TOCTOU out-of-bounds write

Deferred
AliasesUBUNTU-CVE-2025-40331DEBIAN-CVE-2025-40331
Published 09-12-2025Last modified 05-08-2026

Vulnerability summary

CVE-2025-40331 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 10.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.20%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 49 · Related 45

Timeline

  1. 09-12-2025
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: sctp: Prevent TOCTOU out-of-bounds write For the following path not holding the sock lock, sctp_diag_dump() -> sctp_for_each_endpoint() -> sctp_ep_dump() make sure not to exceed bounds in case the address list has grown between buffer allocation (time-of-check) and write (time-of-use).

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.20%

Chance of exploitation in the next 30 days

Percentile

11%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.19% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu153 products
  • linuxAll versions (No fix recorded) | < 5.15.0-173.183 | < 6.8.0-106.106 | < 6.17.0-14.14
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1103.110 | < 6.8.0-1050.53 | < 6.17.0-1007.7
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian1 product
  • linux< 6.1.159-1 | < 6.12.63-1 | < 6.17.8-1
Linux1 product
  • linux≥ 8f840e47f190cbe61a96945c13e9551048d42cef, < b106a68df0650b694b254427cd9250c04500edd3 | ≥ 8f840e47f190cbe61a96945c13e9551048d42cef, < 3006959371007fc2eae4a078f823c680fa52de1a | ≥ 8f840e47f190cbe61a96945c13e9551048d42cef, < 72e3fea68eac8d088e44c3dd954e843478e9240e | ≥ 8f840e47f190cbe61a96945c13e9551048d42cef, < 584307275b2048991b2e8984962189b6cc0a9b85 | ≥ 8f840e47f190cbe61a96945c13e9551048d42cef, < c9119f243d9c0da3c3b5f577a328de3e7ffd1b42 | ≥ 8f840e47f190cbe61a96945c13e9551048d42cef, < 2fe08fcaacb7eb019fa9c81db39b2214de216677 | ≥ 8f840e47f190cbe61a96945c13e9551048d42cef, < 89eac1e150dbd42963e13d23828cb8c4e0763196 | ≥ 8f840e47f190cbe61a96945c13e9551048d42cef, < 95aef86ab231f047bb8085c70666059b58f53c09 | 4.7

3 vendors · 155 products

References

38 links
Show all 38 references