CVE-2026-58085 PUBLISHED

Missing MAC validation in wg(4) packet decryption

Assigner: freebsd
Reserved: 29.06.2026 Published: 19.08.2026 Updated: 19.08.2026

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.

Product Status

Vendor FreeBSD
Product FreeBSD
Versions Default: unknown
  • affected from 15.1-RELEASE to p2 (excl.)
  • affected from 15.0-RELEASE to p12 (excl.)
  • affected from 14.4-RELEASE to p8 (excl.)

Credits

  • Reo Shiseki finder

References

Problem Types

  • CWE-347: Improper Verification of Cryptographic Signature CWE