Input validation error in libreswan - CVE-2026-50722

 

Input validation error in libreswan - CVE-2026-50722

Published: June 25, 2026


Vulnerability identifier: #VU135210
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-50722
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: libreswan.org
Affected software:
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.


How to mitigate CVE-2026-50722

Install security update from vendor's website.

Sources