Description
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.
Published: 2026-08-19
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The wg(4) driver for FreeBSD omits a critical MAC verification step after decrypting packets, accepting any Poly1305 tag without checking it. This flaw enables an attacker to craft and send packets that appear to be authenticated, enabling tampering or injection of arbitrary data into the tunnel. The vulnerability directly impacts the integrity of communications over WireGuard and can potentially expose sensitive data or allow remote modification of traffic destined for the host.

Affected Systems

The issue affects the WireGuard driver in FreeBSD operating systems. Any device running a FreeBSD release that uses the wg(4) interface for VPN connectivity is vulnerable unless updated to a patched kernel version provided by the vendor.

Risk and Exploitability

The EPSS score is reported as less than 1%, indicating an overall low probability of exploitation at the current time, and the vulnerability is not listed in CISA's KEV catalog. Nevertheless, the flaw is remote and does not require privilege escalation; an attacker who can send or intercept UDP traffic to the WireGuard endpoint can exploit the flaw. The attacker can guess the replay window bounds to successfully inject forged or modified transport packets. The CVSS score is 7.5, but the potential impact on confidentiality, integrity, and availability of VPN traffic should be considered significant given that authentication is bypassed.

Generated by OpenCVE AI on August 27, 2026 at 19:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the security update for the wg(4) driver as issued in the FreeBSD advisory to enforce MAC verification.
  • If a patch is not yet available, block or disable the WireGuard interface and its associated UDP port (typically 51820) to prevent unauthenticated traffic until the fix is applied.
  • Monitor network traffic for abnormal WireGuard packets and enforce stricter replay window settings if supported, to reduce the window for potential replay attacks.

Generated by OpenCVE AI on August 27, 2026 at 19:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:o:freebsd:freebsd:14.4:-:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p1:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p2:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p3:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p4:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p5:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p6:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p7:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:rc1:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:-:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p10:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p11:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p1:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p2:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p3:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p4:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p5:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p6:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p7:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p8:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p9:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:-:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:p1:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:rc2:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:rc3-p1:*:*:*:*:*:*

Thu, 27 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 19 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
First Time appeared Freebsd
Freebsd freebsd
Vendors & Products Freebsd
Freebsd freebsd

Wed, 19 Aug 2026 07:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Missing MAC validation in wg(4) packet decryption
Weaknesses CWE-347
References

cve-icon MITRE

Status: PUBLISHED

Assigner: freebsd

Published:

Updated: 2026-08-27T16:03:35.550Z

Reserved: 2026-06-29T01:40:17.498Z

Link: CVE-2026-58085

cve-icon Vulnrichment

Updated: 2026-08-27T16:02:38.591Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-19T08:17:12.673

Modified: 2026-08-31T18:44:44.557

Link: CVE-2026-58085

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-27T19:15:03Z

Weaknesses
  • CWE-347

    Improper Verification of Cryptographic Signature