Skip to content
High 8.2

Zephyrのwireguardで認証されていない通信から通信相手の宛先が書き換えられる

CVE-2026-79977 First seen on SecPulse

Summary

Zephyrの WireGuard 実装では、認証されていないトランスポートデータメッセージの送信元アドレスで通信相手のエンドポイントが書き換えられ、オフパスから通信トンネルを乗っ取られるおそれがあります。影響を受けるのは zephyr 4.4.0 から 4.4.2 までです。修正版の有無については最新の情報を確認してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Zephyrの WireGuard 実装では、認証されていないトランスポートデータメッセージの送信元アドレスで通信相手のエンドポイントが書き換えられ、オフパスから通信トンネルを乗っ取られるおそれがあります。影響を受けるのは zephyr 4.4.0 から 4.4.2 までです。修正版の有無については最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
zephyrprojectzephyr
≥ 4.4.0, < 4.5.0→ 4.5.0

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

The WireGuard VPN service in subsys/net/lib/wireguard/wg.c updated the peer endpoint from a message it could not authenticate. In handle_transport_data(), when the 32-bit receiver index of an incoming transport-data message matched no session, the code both scheduled a new handshake and copied the datagram's source address into peer->endpoint with memcpy(&peer->endpoint, peer_addr, sizeof(peer->endpoint)). Because the receiver index is unknown, there is no key with which such a message could be verified, so the address written into peer->endpoint is entirely attacker-supplied. Every other endpoint update in the implementation happens only after authentication — after the Noise handshake in handle_handshake_init(), or after AEAD decryption plus the anti-replay check in wg_process_data_message().

The WireGuard listener is registered with net_udp_register() using no remote address or port filter and defaults to UDP port 51820 (CONFIG_WIREGUARD_PORT), and wg_ctrl_recv() resolves the peer by interface rather than by any cryptographic identity. Any host able to send a UDP datagram to that port can therefore reach the defect off-path, with no need to observe legitimate traffic: a 16-byte datagram carrying the transport-data type, zeroed reserved bytes and an arbitrary receiver index is sufficient. The vulnerable branch runs whenever the peer has neither a valid handshake nor a current keypair — the state at boot and after a session expires.

A single spoofed datagram redirects peer…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details