Input validation error in libreswan - CVE-2026-50722
Published: June 25, 2026
libreswan
Detailed vulnerability description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to improper input validation in RSA_authenticate_hash_signature_pkcs1_1_5_rsa() when processing IKEv2 AUTH payloads encoded using RSASSA-PKCS1-v1_5. A remote attacker can send a specially crafted authentication payload to cause a denial of service.
The issue is triggered by a shorter than expected hash in the AUTH payload, which can lead to an assertion failure and process restart.