CVE-2025-40099

CRITICALCVSS 9.4/10EPSS 0.19%

Last modified

CVE-2025-40099 is a critical-severity vulnerability rated 9.4/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: cifs: parse_dfs_referrals: prevent oob on malformed input Malicious SMB server can send invalid reply to FSCTL_DFS_GET_REFERRALS - reply smaller than sizeof(struct get_dfs_referral_rsp) - reply with number of referrals smaller than NumberOfReferrals in the header Processing of such replies will cause oob. Return -EINVAL error on such replies to prevent oob-s.. EPSS estimates a 0.19% chance of exploitation in the next 30 days.

Description

In the Linux kernel, the following vulnerability has been resolved: cifs: parse_dfs_referrals: prevent oob on malformed input Malicious SMB server can send invalid reply to FSCTL_DFS_GET_REFERRALS - reply smaller than sizeof(struct get_dfs_referral_rsp) - reply with number of referrals smaller than NumberOfReferrals in the header Processing of such replies will cause oob. Return -EINVAL error on such replies to prevent oob-s.

Metrics

CVSS 3.1
9.4/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H

EPSS Probability
0.19%

8.6th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 4ecce920e13ace16a5ba45efe8909946c28fb2ad, < cfacc7441f760e4a73cc71b6ff1635261d534657; >= 4ecce920e13ace16a5ba45efe8909946c28fb2ad, < 15c73964da9df994302f579ed14ee5fdbce7a332; >= 4ecce920e13ace16a5ba45efe8909946c28fb2ad, < 8bc4a8d39bac23d8b044fd3e2dbfd965f1d9b058; >= 4ecce920e13ace16a5ba45efe8909946c28fb2ad, < bb0f2e66e1ac043a5b238f5bcab4f26f3c317039; >= 4ecce920e13ace16a5ba45efe8909946c28fb2ad, < 6447b0e355562a1ff748c4a2ffb89aae7e84d2c9
LinuxLinux4.11

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2025-40099?
In the Linux kernel, the following vulnerability has been resolved: cifs: parse_dfs_referrals: prevent oob on malformed input Malicious SMB server can send invalid reply to FSCTL_DFS_GET_REFERRALS - reply smaller than sizeof(struct get_dfs_referral_rsp) - reply with number of referrals smaller than NumberOfReferrals in the header Processing of such replies will cause oob. Return -EINVAL error on such replies to prevent oob-s.
How severe is CVE-2025-40099?
CVE-2025-40099 has a CVSS score of 9.4/10 (CRITICAL severity). The EPSS model estimates a 0.19% probability of exploitation in the next 30 days.
How do I fix CVE-2025-40099?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2025

Are you affected by CVE-2025-40099?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST