Skip to content
RedCVE

CVE-2025-39964Linux kernel af_alg crypto socket race condition

ExploitedLinuxSiemensPublished:

CVSS score

5.5

Medium

CVSS 3.1 from NVD

Exploit probability (EPSS)

1.61%

1.61% chance of exploitation in the next 30 days, higher than 76.5% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 18 Sept 2026.

US federal deadline to fix: 21 Sept 2026.

In plain words

A local user with low privileges can trigger a race condition by sending two writes to the same af_alg crypto socket at once, which can corrupt the socket's internal state and crash the system. The flaw affects several Linux kernel branches and Siemens SIMATIC S7-1500 CPU 1518-4 and 1518F-4 PN/DP MFP firmware V3.1.6 and V3.1.7. CISA reports that it is being exploited in the wild, so apply the vendor fixes and the mitigations in Siemens and Linux kernel advisories now.

Official description

In the Linux kernel, the following vulnerability has been resolved: crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg Issuing two writes to the same af_alg socket is bogus as the data will be interleaved in an unpredictable fashion. Furthermore, concurrent writes may create inconsistencies in the internal socket state. Disallow this by adding a new ctx->write field that indiciates exclusive ownership for writing.

Source: NVD · CNA: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 18 Sept 2026.

    US federal agencies must fix it by 21 Sept 2026. It's a sensible deadline for everyone else too.

    CISA's full instruction
    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.
  2. Check whether you're affected

    Find every system running Linux Kernel, Siemens Simatic S7-1500 Cpu 1518-4 Pn/dp Mfp Firmware, Siemens Simatic S7-1500 Cpu 1518f-4 Pn/dp Mfp Firmware, Linux, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) and compare its version with the affected versions.

  3. Update to a fixed version

    • Update Linux Kernel to 5.10.245, 5.15.194, 6.1.154, 6.6.108 or later, on the branch you run.
  4. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

  5. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

Affected productsVersions
Linux Linux 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
Siemens Simatic S7-1500 Cpu 1518-4 Pn/dp Mfp Firmware≥ 3.1.6
Siemens Simatic S7-1500 Cpu 1518f-4 Pn/dp Mfp Firmware≥ 3.1.6
Linux Linux≥ 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 0f28c4adbc4a97437874c9b669fd7958a8c6d6ce · ≥ 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < e4c1ec11132ec466f7362a95f36a506ce4dc08c9 · ≥ 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8 · ≥ 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 7c4491b5644e3a3708f3dbd7591be0a570135b84 · ≥ 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 9aee87da5572b3a14075f501752e209801160d3d · ≥ 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 45bcf60fe49b37daab1acee57b27211ad1574042
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)V3.1.6 · V3.1.7
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)V3.1.6 · V3.1.7
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)V3.1.6 · V3.1.7
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)V3.1.6 · V3.1.7
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)V3.1.6 · V3.1.7

Weakness

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2025-39964 being exploited?

Yes. CISA added CVE-2025-39964 to its Known Exploited Vulnerabilities catalog on 18 Sept 2026, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 1.6% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2025-39964?

CVE-2025-39964 has a CVSS 3.1 base score of 5.5 (medium).

Which versions are affected?

Linux Linux 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), Siemens Simatic S7-1500 Cpu 1518-4 Pn/dp Mfp Firmware (≥ 3.1.6), Siemens Simatic S7-1500 Cpu 1518f-4 Pn/dp Mfp Firmware (≥ 3.1.6), Linux Linux (≥ 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 0f28c4adbc4a97437874c9b669fd7958a8c6d6ce; ≥ 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < e4c1ec11132ec466f7362a95f36a506ce4dc08c9; ≥ 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8; ≥ 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 7c4491b5644e3a3708f3dbd7591be0a570135b84; ≥ 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 9aee87da5572b3a14075f501752e209801160d3d; ≥ 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 45bcf60fe49b37daab1acee57b27211ad1574042), Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) (V3.1.6; V3.1.7), Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) (V3.1.6; V3.1.7)

Is there a patch for CVE-2025-39964?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.