CVE-2025-39797

HIGHNVD 7.87.8
EchelonGraph scoreMEDIUM confidence

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

Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2025-09-12. NVD baseline CVSS 7.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3
Trending — Patch released this week

Also known asEUVD-2025-29057 (ENISA EUVD) · GHSA-p94f-8hph-rvrp (GitHub Security Advisories)Source: ENISA EUVD

7.8EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines (the SSVC decision on this page).
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0.2%CVSS: 7.8Exploit: None knownExposed services: Not assessed

A fix is available — apply it.

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

xfrm: Duplicate SPI Handling

The issue originates when Strongswan initiates an XFRM_MSG_ALLOCSPI Netlink message, which triggers the kernel function xfrm_alloc_spi(). This function is expected to ensure uniqueness of the Security Parameter Index (SPI) for inbound Security Associations (SAs). However, it can return success even when the requested SPI is already in use, leading to duplicate SPIs assigned to multiple inbound SAs, differentiated only by their destination addresses.

This behavior causes inconsistencies during SPI lookups for inbound packets. Since the lookup may return an arbitrary SA among those with the same SPI, packet processing can fail, resulting in packet drops.

According to RFC 4301 section 4.4.2 , for inbound processing a unicast SA is uniquely identified by the SPI and optionally protocol.

Reproducing the Issue Reliably: To consistently reproduce the problem, restrict the available SPI range in charon.conf : spi_min = 0x10000000 spi_max = 0x10000002 This limits the system to only 2 usable SPI values. Next, create more than 2 Child SA. each using unique pair of src/dst address. As soon as the 3rd Child SA is initiated, it will be assigned a duplicate SPI, since the SPI pool is already exhausted. With a narrow SPI range, the issue is consistently reproducible. With a broader/default range, it becomes rare and unpredictable.

Current implementation: xfrm_spi_hash() lookup function computes hash using daddr, proto, and family. So if two SAs have the same SPI but different destination addresses, then they will: a. Hash into different buckets b. Be stored in different linked lists (byspi + h) c. Not be seen in the same hlist_for_each_entry_rcu() iteration. As a result, the lookup will result in NULL and kernel allows that Duplicate SPI

Proposed Change: xfrm_state_lookup_spi_proto() does a truly global search - across all states, regardless of hash bucket and matches SPI and proto.

CVSS v3
7.8
EG Score
7.8HIGHmedium confidence
EG Risk
35
EG Risk 35/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)
Severity78% × 45%
Impact severity (EG Severity): CVSS 7.8 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation0.2% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability0% × 15%
CISA's BOD 26-04 default: no one has published Automatable for this CVE, and CISA treats it as “no” for a CVE not in KEV.
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Track* at high (mission-essential systems).
Exploitation none (no CISA value, KEV listing or exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from 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.
EPSS PROB
0.2%
EPSS %ILE
5th
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 (7.8): severity, escalated by confirmed exploitation. This CVE's 7.8 is its impact severity (EG Severity), not escalated.

EG Severity
7.8 HIGHCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
0.2% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-10-29). 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; Track* at high (mission-essential systems).CISA BOD 26-04: 14 days if the affected system is publicly exposed; Fix on system upgrade 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; Track* at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines.

Exploitation none (no CISA value, KEV listing or exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from 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)14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). Where an input reads “CISA's BOD 26-04 default”, no one has published it for this CVE, and CISA's implementation guidance says: “If “Automatable” and “Technical Impact” information items about a CVE ID are not available and the CVE ID is not in the KEV Catalog, CISA will treat its values as “no” and “total,” respectively, until CISA or a third party provides metadata about the CVE ID. CISA will always provide the Vulnrichment data for a CVE ID listed in the KEV Catalog.” 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

Published

September 12, 2025

Last Modified

October 30, 2026

Advisory Details (5)

Auto-updated Oct 11, 2026
Patch available.
Web page

xfrm: Duplicate SPI Handling - kernel/git/stable/linux.git - Linux kernel stable tree

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

xfrm: Duplicate SPI Handling - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/94f39804d891cffe4ce17737d295f3b195bc7299
Web page

xfrm: Duplicate SPI Handling - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/3d8090bb53424432fa788fe9a49e8ceca74f0544
Web page

xfrm: Duplicate SPI Handling - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/2fc5b54368a1bf1d2d74b4d3b8eea5309a653e38
Web page

xfrm: Duplicate SPI Handling - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/29e9158f91f99057dbd35db5e8674d93b38549fe

Patch Availability(21)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
redhatkernel-0:5.14.0-427.158.1.el9_42026-10-28redhat
redhatkernel-0:5.14.0-570.152.1.el9_62026-10-28redhat
ubuntulinux-tools-nvidia-lowlatency-64k-6.8 (6.8.0-1046.49.1) @ noble2026-10-27ubuntu
ubuntulinux-xilinx-zynqmp (6.8.0.1023.24) @ noble2026-10-27ubuntu
ubuntulinux-tools-realtime-hwe-22.04 (6.8.1-1041.42~22.04.1) @ jammy2026-10-27ubuntu
ubuntulinux-tools-realtime-6.8.1 (6.8.1-1041.42) @ noble2026-10-27ubuntu
ubuntulinux-virtual-6.8 (6.8.0-100.100) @ noble2026-10-27ubuntu
ubuntulinux-tools-azure-edge (6.8.0-1051.57~22.04.1) @ jammy2026-10-27ubuntu
ubuntulinux-tools-gcp-fips-6.8 (6.8.0-1047.50+fips1) @ noble2026-10-27ubuntu
ubuntulinux-virtual-hwe-22.04-edge (6.8.0-100.100~22.04.1) @ jammy2026-10-27ubuntu
ubuntulinux-tools-oracle-lts-24.04 (6.8.0-1043.44) @ noble2026-10-27ubuntu
ubuntulinux-tools-azure-fips-6.8 (6.8.0-1046.52+fips1) @ noble2026-10-27ubuntu
ubuntulinux-tools-ibm-edge (6.8.0-1044.44~22.04.1) @ jammy2026-10-27ubuntu
ubuntulinux-tools-azure-lts-24.04 (6.8.0-1046.52) @ noble2026-10-27ubuntu
ubuntulinux-tools-gcp-edge (6.8.0-1047.50~22.04.2) @ jammy2026-10-27ubuntu
ubuntulinux-tools-fips-6.8 (6.8.0-100.100+fips1) @ noble2026-10-27ubuntu
ubuntulinux-tools-lowlatency-hwe-20.04-edge (6.8.0-100.100.1) @ noble2026-10-27ubuntu
ubuntulinux-tools-gke-64k-6.8 (6.8.0-1043.48) @ noble2026-10-27ubuntu
redhatkernel-0:5.14.0-687.31.1.el9_82026-07-28redhat
redhatkernel-0:6.12.0-211.7.1.el10_22026-05-19redhat
linuxKernel @ 6.6.103 (fixes >=2.6.12)—osv

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(4 across 4 ecosystems)
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
linux5.10.103-1 ... 7.2~rc5-1~exp1 (496 versions)
  • every version on: no fix on record
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
linux6.1.106-1 ... 7.2~rc7-1~exp1 (350 versions)
  • every version on: no fix on record
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
linux6.12.38-1, 6.12.41-1, 6.12.43-1~bpo12+1
  • every version up to 6.12.43-1: fixed in 6.12.43-1
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
linux6.12.100-1 ... 6.16~rc7-1~exp1 (62 versions)
  • every version up to 6.16.3-1: fixed in 6.16.3-1
—

Additional Vendor Advisories

(16)

Data Freshness Timeline

(refreshed 15× in last 7d / 48× 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 it from the CNA feed. 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). Most recent first.

Showing the most recent 98 of 197 refreshes 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. 2 repeat rows among the latest 100 are merged into the row they repeat. The 99 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

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

Frequently asked(5)

What is CVE-2025-39797?
CVE-2025-39797 is a high-severity vulnerability; its CVE record was published on September 12, 2025. In the Linux kernel, the following vulnerability has been resolved: xfrm: Duplicate SPI Handling The issue originates when Strongswan initiates an XFRM_MSG_ALLOCSPI Netlink message, which triggers the kernel function xfrm_alloc_spi(). This function is expected to ensure uniqueness of the Security…
When was the CVE record for CVE-2025-39797 published?
The CVE record for CVE-2025-39797 was published on September 12, 2025. That is the record's publication date; the vulnerability itself may have been made public earlier. EchelonGraph's copy of the record carries a last-modified date of October 30, 2026; the record at its source may have been updated since.
Is CVE-2025-39797 actively exploited?
CVE-2025-39797 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0.2% probability of exploitation in the next 30 days (5th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2025-39797?
CVE-2025-39797 has a CVSS v3 base score of 7.8 (NVD).
How do I remediate CVE-2025-39797?
A fix for CVE-2025-39797 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2025-39797 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-39797

Explore →

Is Your Infrastructure Affected by CVE-2025-39797?

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