# CVE-2023-2295: A vulnerability was found in the libreswan library.

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/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.58%, higher than 76% of CVEs (2026-12-02)
- Published: 2023-05-17T00:00:00.000Z
- Modified: 2026-06-17T05:52:13.047Z
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: redhat

## Description

A vulnerability was found in the libreswan library. This security issue occurs when an IKEv1 Aggressive Mode packet is received with only unacceptable crypto algorithms, and the response packet is not sent with a zero responder SPI. When a subsequent packet is received where the sender reuses the libreswan responder SPI as its own initiator SPI, the pluto daemon state machine crashes. No remote code execution is possible. This CVE exists because of a CVE-2023-30570 security regression for libreswan package in Red Hat Enterprise Linux 8.8 and Red Hat Enterprise Linux 9.2.

(As written by CVE List.)

## Affected

- libreswan: Affects libreswan v4.9-1.el8 and libreswan v4.9-1.el9, Fixed in libreswan v4.9-3.el8_8 and libreswan v4.9-4.el9_2
- libreswan libreswan: 4.9-1.el8; 4.9-1.el9
- redhat enterprise_linux: 8.0; 9.0
- redhat enterprise_linux_eus: 8.8; 9.2
- redhat enterprise_linux_server_aus: 8.8; 9.2
- redhat enterprise_linux_server_tus: 8.8

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2189777> (issue-tracking)
- <https://access.redhat.com/security/cve/CVE-2023-2295> (third-party-advisory)
- <https://access.redhat.com/errata/RHSA-2023:3107> (third-party-advisory)
- <https://access.redhat.com/errata/RHSA-2023:3148> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2023-2295 · Whole record: https://cve.day/CVE-2023-2295.json · Rebuilt by cve.day 2026-11-25T22:58:24.232Z
