Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain on-path network position between WireGuard peers
-
DeliveryIntercept WireGuard UDP transport packet in transit
-
ExploitModify packet ciphertext or authenticated data fields
-
InstallForward tampered packet to FreeBSD wg(4) endpoint UDP port
-
C2OCF returns MAC failure result, driver discards check
-
ExecuteDriver accepts and decrypts forged packet as legitimate
-
ImpactApplication receives attacker-controlled plaintext
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
|
| Exploitation Conditions | The target must be a FreeBSD host running the wg(4) WireGuard driver at an unpatched version (14.4-RELEASE before p8, 15.0-RELEASE before p12, or 15.1-RELEASE before p2) with at least one active WireGuard interface. Two distinct exploitation prerequisites exist depending on attack path: for packet injection, the attacker must be able to send UDP packets to the WireGuard endpoint's listening port AND possess knowledge of (or ability to guess) the receiver's current replay window counter bounds - replay window awareness is a non-default, time-sensitive knowledge requirement. For the MITM modification attack, the attacker must hold a privileged on-path network position enabling interception of WireGuard UDP packets in transit between legitimate peers, such as routing-level access, ARP cache poisoning on a shared segment, or a compromised intermediate hop. What limits exploitation: the injection attack is constrained by replay window guessing difficulty; the MITM attack requires an on-path network position that is not available to a generic internet adversary; both attacks are integrity-only - confidentiality of the tunnel (encryption via ChaCha20) is not broken by this flaw. |
| Impact | The official CVSS 7.5 High score (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N) reflects a network-accessible, unauthenticated integrity compromise, but AC:L overstates the ease of exploitation in practice. The injection attack path explicitly requires the attacker to guess the bounds of the receiver's replay window - a non-trivial, knowledge-dependent condition - while the MITM modification path requires a privileged on-path network position to intercept WireGuard UDP traffic in transit. Neither condition is met by a generic internet adversary, making this less exploitable than a raw CVSS 7.5 implies. EPSS at 0.18% (8th percentile) is consistent with these barriers and shows no evidence of tooling or mass exploitation. There is no CISA KEV listing, confirming no observed active exploitation. The severity of a successful exploitation is significant: the attacker can forge or modify tunnel traffic without the FreeBSD host detecting tampering, undermining any security relying on WireGuard tunnel integrity. However, confidentiality is not compromised - ChaCha20 encryption remains intact, so traffic contents cannot be read by a passive observer. The real priority is highest for FreeBSD WireGuard deployments on adversarial networks (public internet endpoints, multi-tenant environments) and lower for internally-connected peers. |
| Exploit ScenarioDerived | An attacker with on-path access to a network segment carrying WireGuard UDP traffic - achieved, for example, via ARP spoofing on a local segment, a rogue BGP advertisement, or a compromised transit router - intercepts a legitimate WireGuard transport packet destined for an unpatched FreeBSD host, modifies the encrypted payload or associated data, and forwards the packet. The FreeBSD wg(4) driver decrypts the packet via OCF, ignores the failed Poly1305 MAC result, and delivers the forged plaintext to the application layer without raising any error. No public proof-of-concept code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 27, 2026
FreeBSD's wg(4) WireGuard kernel driver silently accepts packets bearing invalid Poly1305 authentication tags, completely defeating WireGuard's cryptographic integrity guarantee on affected FreeBSD versions. The driver dispatches decrypt operations to the OpenCrypto Framework (OCF) but never checks the returned MAC verification result, meaning tampered or forged ciphertext passes through as legitimate plaintext. Two distinct attack paths exist: an on-path attacker who can intercept WireGuard UDP traffic can modify ciphertext and authenticated data without detection, while a remote attacker with knowledge of the receiver's replay window bounds can inject forged transport data packets directly. No public exploit has been identified and EPSS sits at 0.18% (8th percentile), indicating no widespread automated exploitation at time of analysis.
RemediationAI
Apply FreeBSD patches from the official security advisory FreeBSD-SA-26:52.if_wg at https://security.freebsd.org/advisories/FreeBSD-SA-26:52.if_wg.asc: upgrade to FreeBSD 14.4-RELEASE-p8, FreeBSD 15.0-RELEASE-p12, or FreeBSD 15.1-RELEASE-p2 respectively. As a compensating control pending patch application, disabling the wg(4) interface entirely eliminates all exposure but sacrifices WireGuard VPN connectivity for affected tunnels - weigh this trade-off against operational requirements. Restricting inbound WireGuard UDP port access via pf firewall rules to only known peer IP addresses reduces the injection attack surface (an attacker who cannot send packets to the endpoint cannot inject), but does not protect against a MITM attacker already positioned on the path between legitimate peers. There is no known configuration option to disable OCF offload selectively while keeping wg(4) functional. Prioritize patching on any FreeBSD WireGuard endpoint exposed to untrusted networks or transit paths.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WireGuard employs ChaCha20-Poly1305 AEAD (Authenticated Encryption with Associated Data), in which the 128-bit Poly1305 MAC cryptographically binds both the ciphertext and the associated data, ensuring any modification is detectable by the receiver. FreeBSD's wg(4) driver offloads these cryptographic operations to the OpenCrypto Framework (OCF), a kernel-level subsystem that abstracts hardware crypto accelerators and software implementations. The root cause is CWE-347 (Improper Verification of Cryptographic Signature): after the OCF callback returns a decrypted result, the driver discards the MAC verification outcome rather than gating packet acceptance on a successful authentication check. The net effect is that the AEAD property of WireGuard is entirely disabled at the driver level - decryption proceeds but authentication does not. Affected products per CPE cpe:2.3:a:freebsd:freebsd:*:*:*:*:*:*:*:* span FreeBSD 14.4-RELEASE, 15.0-RELEASE, and 15.1-RELEASE lines prior to their respective patch levels.
Know when Freebsd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Both attack paths require either on-path MITM positioning or replay-window guessing, justifying AC:H; integrity-only impact as ChaCha20 confidentiality is unbroken.
Primary rating from Vendor (freebsd).
CVSS VectorVendor: freebsd
Lifecycle Timeline
3DescriptionCVE.org
After dispatching a decrypt operation to OCF and receiving the result, the wg(4) driver failed to check whether the MAC verification step succeeded. The driver thus silently accepted packets with an invalid Poly1305 authentication tag.
A remote attacker who can send UDP packets to a WireGuard endpoint, and who can guess the bounds of the receiver's replay window, can inject forged or modified transport data packets into the tunnel.
A remote attacker who can intercept WireGuard packets bound for a FreeBSD host can modify the ciphertext and authenticated data without detection by the receiver.
Executive ViewAI
FreeBSD systems running WireGuard VPN are vulnerable to undetected packet modification attacks that bypass encryption integrity controls. This affects any organization using FreeBSD for site-to-site VPN or remote access; attackers on the network could alter encrypted traffic without triggering security detection. Although no public exploit identified at time of analysis, immediate mitigation is required given the absence of an available vendor patch.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict WireGuard traffic to explicitly trusted network segments only; (2) disable WireGuard on non-critical systems; (3) implement network segmentation isolating WireGuard gateways from general infrastructure; (4) establish weekly monitoring of FreeBSD security advisories; (5) evaluate and initiate planning for migration to alternative VPN solutions with independently verified cryptographic implementations.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and
The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess
Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due
The RFC 5011 implementation in rdata.c in ISC BIND 9.7.x and 9.8.x before 9.8.5-P2, 9.8.6b1, 9.9.x before 9.9.3-P2, and
Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to
An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEAS
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med
Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used
The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w
In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1
EUVD-2026-62339
GHSA-ph3x-qgrx-fv78
NVD
CVE.org
EPSS
VulDB
Exploit-DB