CVE-2021-46873 in Wireguard and 1 more product
WireGuard, such as WireGuard 0.5.3 on Windows, does not fully account for the possibility that an adversary might be able to set a victim's system time to a future value, e.g., because unauthenticated NTP is used. This can lead to an outcome in which one static private key becomes permanently useless.
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Wireguard | Wireguard | 0.5.3 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Microsoft Windows
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
WireGuard, such as WireGuard 0.5.3 on Windows, does not fully account for the possibility that an adversary might be able to set a victim's system time to a future value, e.g., because unauthenticated NTP is used. This can lead to an outcome in which one static private key becomes permanently useless.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-46873 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-302698-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| Published | 2023-01-29 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-362: Race Condition
Software behavior depends on event timing that is not enforced, allowing attackers to exploit the timing window.
Related attack patterns (CAPEC)
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-362
CAPEC-26 Leveraging Race Conditions via CWE-362
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
WireGuard 0.5.3 on Windows is vulnerable to an attack where an adversary can set the system time to a future value, rendering a static private key permanently useless due to improper handling of unauthenticated NTP.
The vulnerability arises from the use of unauthenticated NTP, which allows an attacker to manipulate the system time. This manipulation can cause cryptographic keys to become invalid, specifically static private keys used by WireGuard.
Questions
What is CVE-2021-46873?
WireGuard 0.5.3 on Windows is vulnerable to an attack where an adversary can set the system time to a future value, rendering a static private key permanently useless due to improper handling of unauthenticated NTP.
What is the CVSS score for CVE-2021-46873?
CVE-2021-46873 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L. EPSS: 0.5%.
Is CVE-2021-46873 actively exploited?
No confirmed active exploitation of CVE-2021-46873 as of 2026-09-25.
How do I remediate CVE-2021-46873?
Priority: MEDIUM.
What systems are affected by CVE-2021-46873?
CVE-2021-46873 affects Wireguard Wireguard.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Wireguard","product":"Wireguard","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.