Vulnerability in Linux

CVE-2025-40331

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).

EPSS: 0.002 (11.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Linux — versions 8f840e47f190cbe61a96945c13e9551048d42cef, 4.7, 0

References

Frequently asked questions

What is CVE-2025-40331?
CVE-2025-40331 is a high-severity vulnerability in Linux. CVSS score: 7.8/10. Published 2025-12-09.
How severe is CVE-2025-40331?
High severity. CVSS v3 base score is 7.8 out of 10.