CVE-2025-40204

sctp: Fix MAC comparison to be constant-time

8.1 high EPSS 0.47%

Published 12 Nov 2025 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2025-40204

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-40204 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:

sctp: Fix MAC comparison to be constant-time

To prevent timing attacks, MACs need to be compared in constant time. Use the appropriate helper function for this.

Severity (CVSS)

8.1 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
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 high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.47%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 42.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
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before b93fa8dc521d00d2d44bf034fb90e0d79b036617
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 0e8b8c326c2a6de4d837b1bb034ea704f4690d77
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 1cd60e0d0fb8f0e62ec4499138afce6342dc9d4c
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 9c05d44ec24126fc283835b68f82dba3ae985209
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before ed3044b9c810c5c24eb2830053fbfe5fd134c5d4
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 8019b3699289fce3f10b63f98601db97b8d105b0
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 0b32ff285ff6f6f1ac1d9495787ccce8837d6405
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before dd91c79e4f58fbe2898dac84858033700e0e99fb
Other versions: unaffected
Linux
affected 2.6.12
unaffected before 2.6.12
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-40204 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40204

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-40204
trivy image --scanners vuln IMAGE | grep CVE-2025-40204

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