CVE Catalog

CVE-2025-40331

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

6th percentile - higher than 6% of all known CVEs

Summary

In the Linux kernel, the SCTP protocol has a TOCTOU vulnerability in sctp_diag_dump. The address list may change between buffer allocation and write, leading to an out-of-bounds write.

Risk Assessment

The organization is at risk of memory corruption or system crashes during SCTP diagnostics, potentially leading to denial of service.

Recommendation

It is recommended to update the Linux kernel to a version containing the fix that prevents out-of-bounds write in sctp_diag_dump.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS