Vulnerability in Linux
CVE-2025-39965
In the Linux kernel, the following vulnerability has been resolved: xfrm: xfrm_alloc_spi shouldn't use 0 as SPI x->id.spi == 0 means "no SPI assigned", but since commit 94f39804d891 ("xfrm: Duplicate SPI Handling"), we now create states and add them to the byspi list with this value. __xfrm_state_delete doesn't remove those states from the byspi list, since they shouldn't be there, and this shows up as a UAF the next time we go through the byspi list.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.002 (8.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 8th percentile — 8.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
- Linux — versions 6.16.2, 29e9158f91f99057dbd35db5e8674d93b38549fe, 6.6.103
- Linux Kernel — versions 6.17
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2025-39965?
- CVE-2025-39965 is a high-severity vulnerability in Linux. CVSS score: 7.8/10. Published 2025-10-13.
- How severe is CVE-2025-39965?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2025-39965 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.