Input validation error in libreswan - CVE-2026-50722
Published: June 25, 2026
Vulnerability details
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.
Affected software
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
openEuler
Red Hat Enterprise Linux Fast Datapath
libreswan (Red Hat package)
libreswan
libreswan-debuginfo
libreswan-help
libreswan-debugsource
libreswan-doc
How to mitigate CVE-2026-50722
libreswan (Red Hat package) - addressed in versions 4.12-2.el8_10.6, 4.15-10.el9_8, 5.3.2-1.el9fdp, 5.3.2-1.el10_2
libreswan - addressed in versions 4.12-2.0.2, 5.1-2
libreswan-debuginfo - update to 4.15-3
libreswan-help - update to 4.15-3
libreswan-debugsource - update to 4.15-3
libreswan - update to 4.15-3
libreswan-doc - update to 5.1-2
External References
Related Security Bulletins
- Multiple vulnerabilities in libreswan
- openEuler 20.03 LTS SP4 update for libreswan
- openEuler 24.03 LTS SP3 update for libreswan
- openEuler 24.03 LTS SP1 update for libreswan
- openEuler 22.03 LTS SP4 update for libreswan
- Anolis OS update for libreswan
- openEuler 24.03 LTS SP4 update for libreswan
- Red Hat Enterprise Linux 8 update for libreswan
- Red Hat Enterprise Linux 9 update for libreswan
- Red Hat Enterprise Linux 10 update for libreswan
- Fast Datapath for Red Hat Enterprise Linux 9 update for libreswan
- Anolis OS update for libreswan