CVE-2025-40187

net/sctp: fix a null dereference in sctp_disposition sctp_sf_do_5_1D_ce()

7.5 high EPSS 0.64%

Published 12 Nov 2025 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2025-40187

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-40187 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

net/sctp: fix a null dereference in sctp_disposition sctp_sf_do_5_1D_ce()

If new_asoc->peer.adaptation_ind=0 and sctp_ulpevent_make_authkey=0 and sctp_ulpevent_make_authkey() returns 0, then the variable ai_ev remains zero and the zero will be dereferenced in the sctp_ulpevent_free() function.

Severity (CVSS)

7.5 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.64%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 52.1% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 15 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b, before 1014b83778c8677f1d7a57c26dc728baa801ac62
affected from 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b, before 7f702f85df0266ed7b5bab81ba50394c92f3c928
affected from 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b, before dbceedc0213e75bf3e9f9f9e2f66b10699d004fe
affected from 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b, before 025419f4e216a3ae0d0cec622262e98e8078c447
affected from 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b, before c21f45cfa4a9526b34d76b397c9ef080668b6e73
affected from 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b, before d0e8f1445c19b1786759ba72a38267e1449bab7e
affected from 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b, before badbd79313e6591616c1b78e29a9b71efed7f035
affected from 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b, before 2f3119686ef50319490ccaec81a575973da98815
Other versions: unaffected
Linux
affected 4.17
unaffected before 4.17
unaffected from 5.4.301 up to and including 5.4.*
unaffected from 5.10.246 up to and including 5.10.*
unaffected from 5.15.195 up to and including 5.15.*
unaffected from 6.1.157 up to and including 6.1.*
unaffected from 6.6.113 up to and including 6.6.*
unaffected from 6.12.54 up to and including 6.12.*
unaffected from 6.17.4 up to and including 6.17.*
unaffected 6.18 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-40187 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40187

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-40187
trivy image --scanners vuln IMAGE | grep CVE-2025-40187

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-40187 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.