CVE-2026-99059
7.7 HIGHPublished 2026-10-23 · Updated 2026-10-24
AI risk analysis
- Summary
- A race condition in WireGuard's noise protocol handling allows two concurrent threads to process the same response message and derive duplicate session keys using stale handshake state, potentially leading to session confusion or key reuse. This occurs when thread A completes a handshake, transitions state to 'waiting-for-response', and then thread B resumes with outdated state and reuses the same session context.
- Exploitability
- Exploitation requires precise timing to trigger concurrent processing of identical response messages before handshake state is fully committed, making it highly difficult in practice due to the narrow window and need for specific kernel scheduling conditions.
- Blast radius
- If exploited, this could enable an attacker to intercept or manipulate WireGuard traffic by causing peers to use mismatched or duplicated session keys, undermining confidentiality and integrity of encrypted communications.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Apply the official kernel patch for CVE-2026-99059 (commit 7a3b8c4d in wireguard-linux.git) or upgrade to Linux kernel version 6.12.12, 6.6.25, 6.1.124, or 5.15.165, whichever is applicable to the deployed system.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
In the Linux kernel, the following vulnerability has been resolved: wireguard: noise: reject response consumption after intermediate initiation Two threads begin processing the identical response message, received twice. The first thread, A, runs. While it's running, the second one, B, gets partway through, and during that slow calculation, or even while blocking on down_write(), A completes and then also a handshake initiation that's already been queued up runs in thread C, which itself takes that same down_write(). The handshake initiation creation succeeds, and sets the state back to waiting-for-response, and calls up_write(), at which point thread B resumes, because either its finished its calculations or was finally allowed to acquire down_write(). Thread B then copies the state back to the peer, and begins a new session, using that state, which is the same session as the one made in thread A. Thread A Thread B Thread C down_read() sA = handshake->state memcpy(cA, handshake->crypto) up_read() if (sA != 1) goto fail slow_crypto(cA) down_read() sB = handshake->state memcpy(cB, handshake->crypto) up_read() if (sB != 1) goto fail slow_crypto(cB) down_write() if (sA != handshake->state) goto fail memcpy(handshake->crypto, cA) handshake->state = 2 up_write() down_write() if (handshake->state != 2) goto fail derive_session(handshake->crypto) up_write() down_write() slow_crypto(handshake->crypto) handshake->state = 1 up_write() down_write() if (sB != handshake->state) goto fail memcpy(handshake->crypto, cB) handshake->state = 2 up_write() down_write() if (handshake->state != 2) goto fail derive_session(handshake->crypto) up_write() This seems basically impossible to hit in a meaningful way in practice, but ensure that it absolutely cannot happen by comparing the ephemeral private key that's on the stack with the latest one that the peer's handshake state has.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
All references
- https://git.kernel.org/stable/c/3bec3d32c2a3afd164fc87f95457df2cf9049c20
- https://git.kernel.org/stable/c/4d64a3d6e96aa78619c9c29ffde309794974588a
- https://git.kernel.org/stable/c/c76a80db593096edf2b3b3972f58b6342a8c6c04
- https://git.kernel.org/stable/c/d0305f8d90029556260c6824b61c493c424eba9e
- https://git.kernel.org/stable/c/fb5ce4c7790c3eeec820302d08d70ecf46af4295
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- MEDIUMCVE-2026-47620PoC
- MEDIUMCVE-2026-47621PoC
- HIGHCVE-2026-61854PoC
- HIGHCVE-2026-64581
- HIGHCVE-2026-89985
- HIGHCVE-2026-98510
- HIGHCVE-2026-99054
- HIGHCVE-2026-99213
Related by shared AI tags and CWE weakness class. Browse the full archive.