Paper 2025/1758

Revisiting PQ WireGuard: A Comprehensive Security Analysis With a New Design Using Reinforced KEMs

Keitaro Hashimoto, National Institute of Advanced Industrial Science and Technology
Shuichi Katsumata, PQShield, National Institute of Advanced Industrial Science and Technology
Guilhem Niot, PQShield
Thom Wiggers, PQShield
Abstract

WireGuard is a VPN based on the Noise protocol, known for its high performance, small code base, and unique security features. Recently, Hülsing et al. (IEEE S&P'21) presented post-quantum (PQ) WireGuard, replacing the Diffie-Hellman (DH) key exchange underlying the Noise protocol with key-encapsulation mechanisms (KEMs). Since WireGuard requires the handshake message to fit in one UDP packet of size roughly 1200 B, they combined Classic McEliece and a modified variant of Saber. However, as Classic McEliece public keys are notoriously large, this comes at the cost of severely increasing the server's memory requirement. This hinders deployment, especially in environments with constraints on memory (allocation), such as a kernel-level implementations. In this work, we revisit PQ WireGuard and improve it on three fronts: design, (computational) security, and efficiency. As KEMs are semantically, but not syntactically, the same as DH key exchange, there are many (in hindsight) ad-hoc design choices being made, further amplified by the recent finding on the binding issues with PQ KEMs (Cremers et al., CCS'24). We redesign PQ WireGuard addressing these issues, and prove it secure in a new computational model by fixing and capturing new security features that were not modeled by Hülsing et al. We further propose 'reinforced KEM' (RKEM) as a natural building block for key exchange protocols, enabling a PQ WireGuard construction where the server no longer needs to store Classical McEliece keys, reducing public key memory by 190 to 390×. In essence, we construct a RKEM named 'Rebar' to compress two ML-KEM-like ciphertexts which may be of an independent interest.

Metadata
Available format(s)
PDF
Category
Public-key cryptography
Publication info
Published elsewhere. Major revision. IEEE S&P 2026
Keywords
wireguardpost-quantumreinforced kem
Contact author(s)
keitaro hashimoto @ aist go jp
shuichi katsumata @ pqshield com
guilhem niot @ pqshield com
thom @ thomwiggers nl
History
2026-01-17: last of 4 revisions
2025-09-25: received
See all versions
Short URL
https://ia.cr/2025/1758
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/1758,
      author = {Keitaro Hashimoto and Shuichi Katsumata and Guilhem Niot and Thom Wiggers},
      title = {Revisiting {PQ} {WireGuard}: A Comprehensive Security Analysis With a New Design Using Reinforced {KEMs}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1758},
      year = {2025},
      url = {https://eprint.iacr.org/2025/1758}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.