CVE-2025-40320

CRITICALPre-NVD 9.89.8
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to the CVSS score beside it.

Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2025-12-08. A secondary CVSS source baseline 9.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, a secondary CVSS source

Also known asEUVD-2025-201625 (ENISA EUVD) · GHSA-2vg8-pj5q-762f (GitHub Security Advisories)Source: ENISA EUVD

9.8EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines at low or medium mission impact and sooner than that at high (the SSVC decision on this page).
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0.9%CVSS: 9.8Exploit: None knownExposed services: Not assessed

A fix is available — apply it.

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

smb: client: fix potential cfid UAF in smb2_query_info_compound

When smb2_query_info_compound() retries, a previously allocated cfid may have been freed in the first attempt. Because cfid wasn't reset on replay, later cleanup could act on a stale pointer, leading to a potential use-after-free.

Reinitialize cfid to NULL under the replay label.

Example trace (trimmed):

refcount_t: underflow; use-after-free. WARNING: CPU: 1 PID: 11224 at ../lib/refcount.c:28 refcount_warn_saturate+0x9c/0x110 [...] RIP: 0010:refcount_warn_saturate+0x9c/0x110 [...] Call Trace: smb2_query_info_compound+0x29c/0x5c0 [cifs f90b72658819bd21c94769b6a652029a07a7172f] ? step_into+0x10d/0x690 ? __legitimize_path+0x28/0x60 smb2_queryfs+0x6a/0xf0 [cifs f90b72658819bd21c94769b6a652029a07a7172f] smb311_queryfs+0x12d/0x140 [cifs f90b72658819bd21c94769b6a652029a07a7172f] ? kmem_cache_alloc+0x18a/0x340 ? getname_flags+0x46/0x1e0 cifs_statfs+0x9f/0x2b0 [cifs f90b72658819bd21c94769b6a652029a07a7172f] statfs_by_dentry+0x67/0x90 vfs_statfs+0x16/0xd0 user_statfs+0x54/0xa0 __do_sys_statfs+0x20/0x50 do_syscall_64+0x58/0x80

CVSS v3
9.8
EG Score
9.8CRITICALmedium confidence
EG Risk
59
EG Risk 59/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity98% × 45%
Impact severity (EG Severity): CVSS 9.8 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation0.9% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability100% × 15%
CISA's SSVC Automatable value: yes (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Attend at high (mission-essential systems).
Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
EPSS PROB
0.9%
EPSS %ILE
56th
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (9.8): severity, escalated by confirmed exploitation. This CVE's 9.8 is its impact severity (EG Severity), not escalated.

EG Severity
9.8 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
0.9% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-28). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track at medium mission impactTrack at low or medium mission impact; Attend at high (mission-essential systems).CISA BOD 26-04: 3 days if the affected system is publicly exposed; 60 days if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Attend at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.

Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)3 days if the affected system is publicly exposed; 60 days if it is not.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Source timeline

Each source's own date for this CVE, as that source states it, in UTC. For vendor and authority advisories, each publisher's earliest advisory is shown, for at most 12 publishers, and only for publishers whose advisory dates we hold as the publisher's own publication time. The EchelonGraph column shows when our collectors recorded the event, only where that was within 72 hours of the source's date (for a row without one, of the CVE's publication).

SourceEventSource's dateRecorded by EchelonGraphLink
CVE.orgMITRE · CVE ProgramCVE Record published8 Dec 2025, 00:46 UTCrecorded later, in a bulk import or a late collectionCVE.org record
GitHub Advisory DatabaseGitHub Advisory Database (CC BY 4.0)LicenceGitHub advisory publishedGHSA-2vg8-pj5q-762f8 Dec 2025, 03:31 UTCrecorded later, in a bulk import or a late collectionGitHub advisory
Red Hat Product Security© Red Hat, Inc. (CC BY 4.0)LicenceVendor advisory publishedRHSA-2026:1813419 May 2026, 09:04 UTCrecorded later, in a bulk import or a late collectionRed Hat Product Security advisory
CVE.orgMITRE · CVE ProgramCVE Record last updated15 Oct 2026, 22:02 UTC—CVE.org record

Advisory Details (4)

Auto-updated Nov 29, 2026
Patch available.
Web page

smb: client: fix potential cfid UAF in smb2_query_info_compound - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/b556c278d43f4707a9073ca74d55581b4f279806
Web page

smb: client: fix potential cfid UAF in smb2_query_info_compound - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/939c4e33005e2a56ea8fcedddf0da92df864bd3b
Web page

smb: client: fix potential cfid UAF in smb2_query_info_compound - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/5c76f9961c170552c1d07c830b5e145475151600
Web page

smb: client: fix potential cfid UAF in smb2_query_info_compound - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/327f89c21601ebb7889f8c97754b76f08ce95a0c

Vendor Advisories for CVE-2025-40320(2)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Patch Availability(17)

These rows come from Ubuntu, Red Hat and OSV. Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(2 across 2 ecosystems)
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
linux6.12.38-1 ... 6.12.63-1~bpo12+1 (8 versions)
  • every version up to 6.12.63-1: fixed in 6.12.63-1
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
linux6.12.100-1 ... 6.17.8-1~bpo13+1 (80 versions)
  • every version up to 6.17.8-1: fixed in 6.17.8-1
—

Additional Vendor Advisories

(15)

Data Freshness Timeline

(refreshed 21× in last 7d / 89× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed its CVE.org record (CNA or CISA ADP). An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). "EchelonGraph re-scored" is our own recompute of this CVE's score, not an update from a source, and is not counted in the refreshes above. Most recent first.

Showing the most recent 100 of 406 rows on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. None are among the latest 100 rows. The 306 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-11-29 16:33 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  2. 2026-11-29 02:39 UTCEchelonGraph re-scored
  3. 2026-11-29 02:39 UTCVendor advisory
  4. 2026-11-29 02:39 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  5. 2026-11-28 16:35 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  6. 2026-11-28 03:11 UTCEchelonGraph re-scored
  7. 2026-11-28 03:11 UTCVendor advisory
  8. 2026-11-28 03:11 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  9. 2026-11-27 16:32 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  10. 2026-11-27 03:49 UTCEchelonGraph re-scored
  11. 2026-11-27 03:49 UTCVendor advisory
  12. 2026-11-27 03:49 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  13. 2026-11-26 16:34 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  14. 2026-11-26 04:27 UTCEchelonGraph re-scored
  15. 2026-11-26 04:27 UTCVendor advisory
  16. 2026-11-26 04:27 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  17. 2026-11-25 16:35 UTCEPSS rescoreEPSS 0.9% · 56th percentile
  18. 2026-11-25 05:05 UTCEchelonGraph re-scored
  19. 2026-11-25 05:05 UTCVendor advisory
  20. 2026-11-25 05:05 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  21. 2026-11-24 16:40 UTCEPSS rescoreEPSS 0.4% · 39th percentile
  22. 2026-11-24 05:43 UTCEchelonGraph re-scored
  23. 2026-11-24 05:43 UTCVendor advisory
  24. 2026-11-24 05:43 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  25. 2026-11-23 16:41 UTCEPSS rescoreEPSS 0.4% · 39th percentile
Show 75 more
  1. 2026-11-23 06:21 UTCVendor advisory
  2. 2026-11-23 06:21 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  3. 2026-11-22 06:58 UTCEchelonGraph re-scored
  4. 2026-11-22 06:58 UTCVendor advisory
  5. 2026-11-22 06:58 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  6. 2026-11-21 16:36 UTCEPSS rescoreEPSS 0.4% · 39th percentile
  7. 2026-11-21 07:30 UTCEchelonGraph re-scored
  8. 2026-11-21 07:30 UTCVendor advisory
  9. 2026-11-21 07:30 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  10. 2026-11-20 16:35 UTCEPSS rescoreEPSS 0.4% · 39th percentile
  11. 2026-11-20 08:08 UTCEchelonGraph re-scored
  12. 2026-11-20 08:08 UTCVendor advisory
  13. 2026-11-20 08:08 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  14. 2026-11-19 16:31 UTCEPSS rescoreEPSS 0.4% · 39th percentile
  15. 2026-11-19 08:43 UTCEchelonGraph re-scored
  16. 2026-11-19 08:43 UTCVendor advisory
  17. 2026-11-19 08:43 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  18. 2026-11-18 16:32 UTCEPSS rescoreEPSS 0.4% · 39th percentile
  19. 2026-11-18 09:20 UTCEchelonGraph re-scored
  20. 2026-11-18 09:20 UTCVendor advisory
  21. 2026-11-18 09:20 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  22. 2026-11-17 16:33 UTCEPSS rescoreEPSS 0.4% · 39th percentile
  23. 2026-11-17 09:58 UTCEchelonGraph re-scored
  24. 2026-11-17 09:58 UTCVendor advisory
  25. 2026-11-17 09:58 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  26. 2026-11-16 10:35 UTCEchelonGraph re-scored
  27. 2026-11-16 10:35 UTCVendor advisory
  28. 2026-11-16 10:35 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  29. 2026-11-15 16:51 UTCEPSS rescoreEPSS 0.4% · 39th percentile
  30. 2026-11-15 10:53 UTCEchelonGraph re-scored
  31. 2026-11-15 10:53 UTCVendor advisory
  32. 2026-11-15 10:53 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  33. 2026-11-14 16:37 UTCEPSS rescoreEPSS 0.4% · 39th percentile
  34. 2026-11-14 11:29 UTCEchelonGraph re-scored
  35. 2026-11-14 11:29 UTCVendor advisory
  36. 2026-11-14 11:29 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  37. 2026-11-13 16:49 UTCEPSS rescoreEPSS 0.4% · 39th percentile
  38. 2026-11-13 12:06 UTCEchelonGraph re-scored
  39. 2026-11-13 12:06 UTCVendor advisory
  40. 2026-11-13 12:06 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  41. 2026-11-12 16:32 UTCEPSS rescoreEPSS 0.4% · 39th percentile
  42. 2026-11-12 12:41 UTCEchelonGraph re-scored
  43. 2026-11-12 12:41 UTCVendor advisory
  44. 2026-11-12 12:41 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  45. 2026-11-11 16:36 UTCEPSS rescoreEPSS 0.4% · 39th percentile
  46. 2026-11-11 13:19 UTCEchelonGraph re-scored
  47. 2026-11-11 13:19 UTCVendor advisory
  48. 2026-11-11 13:19 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  49. 2026-11-10 16:40 UTCEPSS rescoreEPSS 0.4% · 39th percentile
  50. 2026-11-10 13:54 UTCEchelonGraph re-scored
  51. 2026-11-10 13:54 UTCVendor advisory
  52. 2026-11-10 13:54 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  53. 2026-11-09 16:32 UTCEPSS rescoreEPSS 0.4% · 39th percentile
  54. 2026-11-09 14:31 UTCEchelonGraph re-scored
  55. 2026-11-09 14:31 UTCVendor advisory
  56. 2026-11-09 14:31 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  57. 2026-11-08 16:37 UTCEPSS rescoreEPSS 0.4% · 39th percentile
  58. 2026-11-08 15:09 UTCEchelonGraph re-scored
  59. 2026-11-08 15:09 UTCVendor advisory
  60. 2026-11-08 15:09 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  61. 2026-11-07 16:36 UTCEPSS rescoreEPSS 0.4% · 36th percentile
  62. 2026-11-07 15:45 UTCEchelonGraph re-scored
  63. 2026-11-07 15:45 UTCVendor advisory
  64. 2026-11-07 15:45 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  65. 2026-11-06 16:34 UTCEPSS rescoreEPSS 0.4% · 36th percentile
  66. 2026-11-06 16:23 UTCVendor advisory
  67. 2026-11-06 16:23 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  68. 2026-11-05 16:59 UTCEchelonGraph re-scored
  69. 2026-11-05 16:59 UTCVendor advisory
  70. 2026-11-05 16:59 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8
  71. 2026-11-05 16:35 UTCEPSS rescoreEPSS 0.4% · 36th percentile
  72. 2026-11-05 12:55 UTCOSV refresh
  73. 2026-11-04 17:37 UTCEchelonGraph re-scored
  74. 2026-11-04 17:37 UTCVendor advisory
  75. 2026-11-04 17:37 UTCGHSA enrichmentGHSA-2vg8-pj5q-762f · GitHub severity CRITICAL · GitHub CVSS 9.8

Frequently asked(5)

What is CVE-2025-40320?
CVE-2025-40320 is a critical-severity vulnerability; its CVE record was published on December 8, 2025. In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential cfid UAF in smb2_query_info_compound When smb2_query_info_compound() retries, a previously allocated cfid may have been freed in the first attempt. Because cfid wasn't reset on replay, later cleanup could…
When was the CVE record for CVE-2025-40320 published?
The CVE record for CVE-2025-40320 was published on December 8, 2025. That is the record's publication date; the vulnerability itself may have been made public earlier. CVE.org's record carries a last-updated date of October 15, 2026; it may have been updated since EchelonGraph last read it.
Is CVE-2025-40320 actively exploited?
CVE-2025-40320 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0.9% probability of exploitation in the next 30 days (56th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2025-40320?
CVE-2025-40320 has a CVSS base score of 9.8 (a secondary CVSS source that NVD displays; NVD's own analysis pending).
How do I remediate CVE-2025-40320?
A fix for CVE-2025-40320 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2025-40320 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-40320

Explore →

Is Your Infrastructure Affected by CVE-2025-40320?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.