Distro advisory · AmazonLinux 2023
Medium priority package update for libreswan
AmazonLinux 2023
What it fixes
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-14957: In Libreswan before 5.3.2, when the operating system and Libreswan are running in FIPS mode and at least one CA certificate is loaded, a malformed X.509 certificate payload can cause the pluto daemon to abort on an assertion. In FIPS mode, add_decoded_cert() calls CERT_ExtractPublicKey() and asserts the result is non-NULL, but the function returns NULL when public key extraction fails (for example when the RSA exponent is 0), triggering the assertion failure. A remote, unauthenticated attacker can send such a corrupt CERT payload (over IKEv1 or IKEv2) before authentication completes, crashing and restarting the daemon; repeated sending causes a sustained denial of service. Remote code execution is not possible. Versions 3.0 through 5.3.1 are affected.
Manual fix · AmazonLinux 2023
sudo yum updateinfo info ALAS2023-2026-3377sudo yum upgrade --advisory=ALAS2023-2026-3377rpm -q libreswanSources