CVE-2023-35838Wireguard
Medium 5.7 No auth needed
Follow: this CVE · Wireguard · Wireguard We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 5.7
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 42
- Auth required
- No
- Published
- Aug 9, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-610
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
The WireGuard client 0.5.3 on Windows insecurely configures the operating system and firewall such that traffic to a local network that uses non-RFC1918 IP addresses is blocked. This allows an adversary to trick the victim into blocking IP traffic to selected IP addresses and services even while the VPN is enabled. NOTE: the tunnelcrack.mathyvanhoef.com website uses this CVE ID to refer more generally to "LocalNet attack resulting in the blocking of traffic" rather than to only WireGuard.
What to do
- Apply the vendor's security update for Wireguard.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | wireguard |
≤ 0.5.3 |
no fixed version | — |
Per OSV / GitHub Advisories (PYSEC-2023-321). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| wireguard | wireguard | 0.5.3 |
Official sources
References
Links published by the sources. Open them with care.
- psirt.global.sonicwall.com
- tunnelcrack.mathyvanhoef.com Exploit Third Party Advisory
- wireguard.com Product