# CVE-2024-2357: IKEv2 misconfiguration can cause libreswan to abort and restart

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.26%, higher than 70% of CVEs (2026-11-30)
- Published: 2024-03-11T19:39:03.280Z
- Modified: 2026-06-17T07:24:22.920Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: libreswan

## Description

The Libreswan Project was notified of an issue causing libreswan to restart under some IKEv2 retransmit scenarios when a connection is configured to use PreSharedKeys (authby=secret) and the connection cannot find a matching configured secret. When such a connection is automatically added on startup using the auto= keyword, it can cause repeated crashes leading to a Denial of Service.

(As written by CVE List.)

## Affected

- The Libreswan Project (www.libreswan.org) libreswan: from 4.2 up to 4.12 (not affected: from 3.0 up to 4.1; 5.0)

## References

- <https://libreswan.org/security/CVE-2024-2357> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EJZJYFHKBIJ4ZK5GAWWFFR3AKJS6O5JX/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HEM46ALKF7NG6CAUKZ7KQERVOHWQIQKY/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TVQ7MZY6LFFGRWAJNTKKN2VSEFS2VPAR/>

## Sources

- CVE List: [CVE-2024-2357](https://www.cve.org/CVERecord?id=CVE-2024-2357), CVE Terms of Use, modified 2025-02-13
- NVD: [CVE-2024-2357](https://nvd.nist.gov/vuln/detail/CVE-2024-2357), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-2357 · Whole record: https://cve.day/CVE-2024-2357.json · Rebuilt by cve.day 2026-11-25T22:58:37.419Z
