CVE-2025-40331: linux
Vulnerability summary
CVE-2025-40331 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 7.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 49 · Related 45Timeline
- 09-12-2025PublishedVulnerability first disclosed.
- 05-08-2026Last 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
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
8%
Versus all other CVEs
30-day change
0.00 pp
From 0.19% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Ubuntu152 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 · 154 products