Back to CVE records
High 7.8Published Dec 8, 2025

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

Updated under an hour ago ()

Does this affect you?

It affects Linux. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Deferred
Record last updated
Aug 5, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from 8f840e47f190cbe61a96945c13e9551048d42cef before b106a68df0650b694b254427cd9250c04500edd3; from 8f840e47f190cbe61a96945c13e9551048d42cef before 3006959371007fc2eae4a078f823c680fa52de1a; from 8f840e47f190cbe61a96945c13e9551048d42cef before 72e3fea68eac8d088e44c3dd954e843478e9240e; from 8f840e47f190cbe61a96945c13e9551048d42cef before 584307275b2048991b2e8984962189b6cc0a9b85; from 8f840e47f190cbe61a96945c13e9551048d42cef before c9119f243d9c0da3c3b5f577a328de3e7ffd1b42; 8f840e47f190cbe61a96945c13e9551048d42cef builds before 2fe08fcaacb7eb019fa9c81db39b2214de216677; from 8f840e47f190cbe61a96945c13e9551048d42cef before 89eac1e150dbd42963e13d23828cb8c4e0763196; from 8f840e47f190cbe61a96945c13e9551048d42cef before 95aef86ab231f047bb8085c70666059b58f53c09
CNA record

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.