Affected versions
Ubuntu18.04:LTS/libreswan
- Affected versions
- * || =3.20-7build1 || =3.21-2 || =3.22-1 || =3.22-2 || =3.22-3 || =3.22-4 || =3.23-1 || =3.23-4
- Fixed version
- Not reported
Ubuntu20.04:LTS/libreswan
- Affected versions
- * || =3.29-2 || =3.29-2build1
- Fixed version
- Not reported
Ubuntu22.04:LTS/libreswan
- Affected versions
- * || =3.32-3ubuntu3
- Fixed version
- Not reported
Ubuntu24.04:LTS/libreswan
- Affected versions
- * || =4.11-1ubuntu1 || =4.12-1ubuntu1 || =4.14-1ubuntu1 || =4.14-1ubuntu2
- Fixed version
- Not reported
Ubuntu26.04:LTS/libreswan
- Affected versions
- * || =5.2-2.2ubuntu1 || =5.2-2.2ubuntu2
- Fixed version
- Not reported
Ubuntu26.10/libreswan
- Affected versions
- * || =5.2-2.2ubuntu2
- Fixed version
- Not reported
Description
Libreswan in FIPS mode has a vulnerability where badly formed received certificates are rejected, but not deleted from the NSS cache. As a result, any real certificates with the same serial number are rejected as well. This can be abused to lock out legitimate peers from connecting. The add_decoded_cert() function missed a call to CERT_DestroyCertificate() due to an incorrect fix for CVE-2026-14957. Sending bogus certificates with new serial numbers could prevent the real certificates with those serial numbers from connecting until the service has restarted.

