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.
EPSS: 0.002 (8.3th percentile) — read the EPSS interpretation.
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.
Affected products
- Linux — versions 6.16.2, 29e9158f91f99057dbd35db5e8674d93b38549fe, 6.6.103
- Linux 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?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.