๐ŸŸข CVE-2025-39964

CVE-2025-39964 is a race condition vulnerability in the Linux kernel's AF_ALG (crypto socket) subsystem that arises when two concurrent write operations are issued against the same socket, causing unpredictable data interleaving and internal state corruption. Exploitation requires local access to the system and the ability to invoke AF_ALG socket syscalls, placing this firmly in the local privilege escalation category. The vulnerability is not directly exploitable over the internet as the CVSS Attack Vector is LOCAL, and there is no remote or network-adjacent path to the vulnerable code path.

โ† Back to Overview
LOW_RISK
Risk Level
7.8
CVSS Score
LOCAL
Attack Vector
Privilege Escalation
ATT&CK Tactic
T1068 โ€” Exploitation for Privilege Escalation
ATT&CK Technique
UNKNOWN
Deployment Risk
No
Ransomware

๐Ÿ“‹ Vulnerability Details

Data Source: CIRCL

Confidence: HIGH

Exploitation Method: OTHER

CVE Published: 2025-10-13

Added to CISA KEV: 2026-09-18 340 DAYS BETWEEN CVE AND KEV

๐ŸŽฏ Recommendations:

๐Ÿ” Web Intelligence (Kagi ยท 2026-09-18)

Summary

CVE-2025-39964 is a race condition vulnerability within the Linux kernelโ€™s cryptographic user interface (AF_ALG) that occurs when concurrent write operations are performed on the same AF_ALG socket. This flaw allows data to be interleaved in an unpredictable manner and can lead to inconsistencies in the internal socket state, potentially compromising the integrity of cryptographic operations or system stability.

Exploitation

  • Active Exploitation: There are no widespread reports of active exploitation in the wild at this time.
  • Threat Actors/Campaigns: No specific threat actors or ransomware campaigns have been publicly linked to this vulnerability.
  • Proof-of-Concept: A GitHub repository (n1k0oowang/CVE-2025-39964_EXP) exists, suggesting the availability of proof-of-concept or exploit tooling.
  • Attack Prerequisites: The attack is local in nature, requiring the ability to interact with the kernelโ€™s AF_ALG interface; it is not typically exploitable remotely over a network without an existing local access vector.

Affected Products & Patches

  • Affected Versions: The vulnerability affects various Linux kernel versions across major distributions (including Ubuntu, Debian, SUSE, and Red Hat) that have not yet incorporated the upstream patch.
  • Patches: The vulnerability was addressed in the Linux kernel upstream by disallowing concurrent writes in `af_alg_sendmsg` through the introduction of a `ctx->write` state field. Users should update to the latest kernel versions provided by their respective distribution maintainers.
  • Mitigations: Apply security updates and kernel patches issued by your Linux distribution provider as soon as they become available.

Impact

  • Access/Capability: Successful exploitation can result in data corruption, unpredictable system behavior, or the creation of inconsistent internal socket states within the cryptographic API.
  • Business Risk: While primarily a local attack, the vulnerability poses a risk to systems where untrusted local users have access to kernel interfaces. In multi-tenant environments or systems providing shell access to external users, this could be leveraged to disrupt cryptographic services or potentially lead to local privilege escalation or denial-of-service (DoS) conditions.