7.5high
Missing MAC validation in wg(4) packet decryption
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| FreeBSD FreeBSD | from 15.1-RELEASE before p2, from 15.0-RELEASE before p12, from 14.4-RELEASE before p8, 14.4, 15.0, 15.1 | CVE List, NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Después de enviar una operación de descifrado a OCF y recibir el resultado, el controlador wg(4) no verificó si el paso de verificación MAC tuvo éxito. El controlador, por lo tanto, aceptó silenciosamente paquetes con una etiqueta de autenticación Poly1305 inválida. Un atacante remoto que puede enviar paquetes UDP a un punto final de WireGuard, y que puede adivinar los límites de la ventana de reproducción del receptor, puede inyectar paquetes de datos de transporte falsificados o modificados en el túnel. Un atacante remoto que puede interceptar paquetes WireGuard destinados a un host FreeBSD puede modificar el texto cifrado y los datos autenticados sin ser detectado por el receptor.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-58085 changed 2026-08-27 | CVE Terms of Use |
| NVD | CVE-2026-58085 changed 2026-10-27 | Public domain |