CVE-2025-40099cifs: parse_dfs_referrals: prevent oob on malformed input
- 9.4CriticalCVSS base score
- 0.41%Exploitation in 30 daysEPSS · top 65% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 7 months later
· 7 months later
Published
- 12 months later
· 12 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | Critical9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H |
| NVDNVD · Deferred | 3.1 | Critical9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H |
- EPSS (exploitation in 30 days)
- 0.41% · top 65% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.4.
Affected products
- affected 4ecce920e13ace16a5ba45efe8909946c28fb2ad – < cfacc7441f760e4a73cc71b6ff1635261d534657
- affected 4ecce920e13ace16a5ba45efe8909946c28fb2ad – < 15c73964da9df994302f579ed14ee5fdbce7a332
- affected 4ecce920e13ace16a5ba45efe8909946c28fb2ad – < 8bc4a8d39bac23d8b044fd3e2dbfd965f1d9b058
- affected 4ecce920e13ace16a5ba45efe8909946c28fb2ad – < bb0f2e66e1ac043a5b238f5bcab4f26f3c317039
- affected 4ecce920e13ace16a5ba45efe8909946c28fb2ad – < 6447b0e355562a1ff748c4a2ffb89aae7e84d2c9
- affected 4.11
- unaffected < 4.11
- unaffected 6.1.158 – ≤ 6.1.*
- unaffected 6.6.114 – ≤ 6.6.*
- unaffected 6.12.55 – ≤ 6.12.*
- unaffected 6.17.5 – ≤ 6.17.*
- unaffected 6.18 – ≤ *
References
References5
- https://git.kernel.org/stable/c/cfacc7441f760e4a73cc71b6ff1635261d534657 (opens in a new tab)
- https://git.kernel.org/stable/c/15c73964da9df994302f579ed14ee5fdbce7a332 (opens in a new tab)
- https://git.kernel.org/stable/c/8bc4a8d39bac23d8b044fd3e2dbfd965f1d9b058 (opens in a new tab)
- https://git.kernel.org/stable/c/bb0f2e66e1ac043a5b238f5bcab4f26f3c317039 (opens in a new tab)
- https://git.kernel.org/stable/c/6447b0e355562a1ff748c4a2ffb89aae7e84d2c9 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-36979 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-40099)Record last updated .