CVE-2025-39964

HIGH(7.8)KEV

Linux Kernel Race Condition Vulnerability

Description

CVE-2025-39964 is a high-severity race condition in the Linux kernel's af_alg crypto socket interface, where concurrent writes to the same socket in af_alg_sendmsg were not prevented. Two simultaneous writes interleave their data unpredictably and can leave the socket's internal state inconsistent, which a local, low-privileged user can exploit with high impact on confidentiality, integrity and availability. Linux kernels from 2.6.38 up to the fixed stable releases are affected, as well as Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP firmware that embeds the kernel. CISA has added CVE-2025-39964 to the Known Exploited Vulnerabilities catalog.

KEV Information

Vendor
Linux
Product
Kernel
Date Added
September 18, 2026
Due Date
September 21, 2026
Required Action
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

CVSS Score

Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in Calculator
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
1.8
Impact Score
5.9

CWEs

Affected Products

VendorProductVersion
linuxlinux kernel>= 2.6.38, < 5.10.245; >= 5.11, < 5.15.194; >= 5.16, < 6.1.154; >= 6.2, < 6.6.108; >= 6.7, < 6.12.49; >= 6.13, < 6.16.9; 6.17
siemenssimatic s7-1500 cpu 1518-4 pn\/dp mfp firmware>= 3.1.6
siemenssimatic s7-1500 cpu 1518f-4 pn\/dp mfp firmware>= 3.1.6

Multiple CVSS Assessments

Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67(Secondary)
7.8
HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Source: [email protected](Primary)
5.5
MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References

Weakness Type

CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

A race condition occurs when code relies on exclusive access to a shared resource but does not enforce it, so concurrent operations can interfere with each other. In the Linux kernel's af_alg interface, two writers could operate on the same socket at once, corrupting its internal state.

Learn more: CWE-362 — Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Impact Analysis

CVE-2025-39964 is exploitable only locally, requires low privileges but no user action, is easy to exploit with no special conditions, and has high impact on confidentiality, integrity and availability, resulting in a CVSS 3.1 base score of 7.8 (High). The af_alg interface is reachable for ordinary user processes, so any local account, container workload or compromised service can try to trigger the inconsistent state. A kernel-level flaw with this rating typically matters as a privilege escalation step after initial access. The EPSS score of about 1.3% (69.0th percentile) is moderate, but the KEV listing confirms real-world exploitation.

Exploit Maturity

CISA has confirmed active exploitation of CVE-2025-39964 in the wild by adding it to the Known Exploited Vulnerabilities catalog with a remediation deadline of September 21, 2026. No public exploit code is referenced in the available sources; the kernel stable patches and Siemens advisory SSA-019113 are the technical references. The EPSS score of 1.3% (69.0th percentile) suggests exploitation that is targeted rather than broad, typically as a post-compromise privilege escalation step.

Remediation

  1. Implement the action required by CISA. Apply mitigations per the Linux kernel maintainers' instructions, follow CISA's BOD 26-04 guidance ("Prioritizing Security Updates Based on Risk") and the "Forensics Triage Requirements", and discontinue use of the product if mitigations are unavailable. The KEV remediation deadline of September 21, 2026 has already passed.
  2. Update the Linux kernel to a fixed stable release: 5.10.245, 5.15.194, 6.1.154, 6.6.108, 6.12.49 or 6.16.9 or later; the fixes are available as stable patches, for example commit 0f28c4ad. Install your distribution's kernel update and reboot.
  3. Update affected Siemens devices following Siemens advisory SSA-019113 for SIMATIC S7-1500 CPU 1518-4 PN/DP MFP and 1518F-4 PN/DP MFP firmware 3.1.6 and later.
  4. Reduce local attack surface until patched by restricting interactive and container access on shared systems, and consider blocking AF_ALG socket creation with seccomp profiles for workloads that do not need kernel crypto sockets.
  5. Monitor for privilege escalation such as unexpected root processes, kernel warnings and crashes, and treat any local foothold on unpatched systems as a potential full compromise.

Technical Details

CVE-2025-39964 is a race condition (CWE-362) in af_alg_sendmsg in the Linux kernel crypto API's user-space socket interface. Issuing two writes to the same af_alg socket at the same time interleaves the data unpredictably, and concurrent writes can create inconsistencies in the internal socket state. The fix adds a new ctx->write field that marks exclusive ownership for writing and disallows a second concurrent writer. The CVSS vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H describes a local attacker with low privileges who needs no user interaction, and the high impact ratings reflect that corrupting kernel socket state can compromise the whole system.

Frequently Asked Questions

Is CVE-2025-39964 being actively exploited?

Yes. CISA lists CVE-2025-39964 in its Known Exploited Vulnerabilities catalog, which confirms exploitation in the wild. Ransomware usage is currently not known, and the EPSS score is about 1.3%.

What products are affected by CVE-2025-39964?

The Linux kernel from 2.6.38 up to the fixed stable releases 5.10.245, 5.15.194, 6.1.154, 6.6.108, 6.12.49 and 6.16.9 is affected, as well as Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP and 1518F-4 PN/DP MFP firmware 3.1.6 and later.

How do I fix CVE-2025-39964?

Install a kernel update that contains the fix and reboot, and update affected Siemens devices according to SSA-019113. Until then, limit local and container access on shared systems.

How severe is CVE-2025-39964?

CVE-2025-39964 has a CVSS 3.1 base score of 7.8 (High) because a local user with low privileges can compromise the system. It sits in the 69th EPSS percentile, and its KEV listing confirms exploitation.

CVSS Score

7.8
HIGH(7.8)

EPSS Score

EPSS Score1.61%
EPSS Percentile76.3%

Dates

PublishedOctober 13, 2025
Last ModifiedNovember 10, 2026
StatusAnalyzed
CVSS Versionv3.1

Need Help With Vulnerability Management?

Our security experts can help you prioritize and remediate vulnerabilities effectively.