CVE-2026-58085
Analyzed Analyzed - Analysis Complete

WireGuard Poly1305 Authentication Bypass in FreeBSD wg(4) Driver

Vulnerability report for CVE-2026-58085, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-19

Last updated on: 2026-08-31

Assigner: FreeBSD

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-19
Last Modified
2026-08-31
Generated
2026-09-08
AI Q&A
2026-08-19
EPSS Evaluated
2026-09-07
NVD
EUVD

Affected Vendors & Products

Showing 25 associated CPEs
Vendor Product Version / Range
freebsd freebsd 15.0
freebsd freebsd 15.0
freebsd freebsd 15.0
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 14.4
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 15.0
freebsd freebsd 14.4
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 15.0
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 15.1
freebsd freebsd 14.4
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 15.0
freebsd freebsd 15.1
freebsd freebsd 15.1
freebsd freebsd 15.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-347 The product does not verify, or incorrectly verifies, the cryptographic signature for data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves the wg(4) driver in FreeBSD's WireGuard implementation failing to verify the Poly1305 MAC after decrypting packets. WireGuard uses ChaCha20-Poly1305 for authenticated encryption, where Poly1305 ensures packet integrity. The driver delegated decryption to the OpenCrypto framework but did not check if the MAC validation succeeded, allowing it to accept packets with invalid authentication tags.

Detection Guidance

Detecting this vulnerability requires checking if your FreeBSD system uses the affected wg(4) driver. Inspect kernel logs for WireGuard-related errors or failed MAC verifications. Use commands like 'dmesg | grep wg' or 'pciconf -l' to verify WireGuard driver presence. Monitor network traffic for unexpected packet modifications or replay attacks.

Impact Analysis

A remote attacker who can send UDP packets to a WireGuard endpoint and guess the receiver's replay window bounds can inject forged or modified transport data packets into the tunnel. Attackers who intercept WireGuard packets can modify ciphertext and authenticated data without detection by the receiver.

Compliance Impact

This vulnerability could impact compliance with GDPR and HIPAA by allowing unauthorized data modification or injection into encrypted VPN tunnels. If attackers exploit this flaw, they may alter transmitted data without detection, potentially violating integrity requirements in these regulations.

Mitigation Strategies

Immediately upgrade your FreeBSD system to a supported stable or release branch dated after July 29, 2026. Reboot the system after updating. Use pkg(8) or freebsd-update(8) for updates. If using source code, apply the provided patches. Ensure WireGuard endpoints are not exposed to untrusted networks during the update process.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-58085. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart