Skip to main content
CVE-2025-40331VulnerabilityPublished Updated

CVE-2025-40331: Linux kernel · sctp: Prevent TOCTOU out-of-bounds write For the following path not holding the

Source GCVE Database

0

Not known to be exploited · CVSS 7.8 High.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

AI-suggested

A fix for this vulnerability is available in the Linux kernel. Users and administrators should apply the official Linux kernel updates that address CVE-2025-40331 to remediate this issue. Patch status is not explicitly confirmed in the provided data, so verify with the Linux kernel vendor advisory for the exact fixed versions and update accordingly.

Description

A high-severity vulnerability in the Linux kernel SCTP implementation involves a time-of-check to time-of-use (TOCTOU) out-of-bounds write. The issue occurs in the sctp_diag_dump() path when the address list grows between buffer allocation and write, potentially leading to memory corruption. This vulnerability has been resolved in the Linux kernel.

References

Community reviews

Loading reviews…