CVE-2023-2295
A vulnerability was found in the libreswan library. This security issue occurs when an IKEv1...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2023-2295- 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 - Weakness
- CWE-400
- Updated
- 2026-11-02
CVE List
7.5
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.
- Record
CVE-2023-2295- 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 - Weakness
- CWE-400
- Updated
- 2026-11-02
EUVDEUVD-2023-33801
7.5
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.
- Record
EUVD-2023-33801- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-gcrh-c42h-m2vw
7.5
A vulnerability was found in the libreswan library. This security issue occurs when an IKEv1...
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.
- Record
GHSA-gcrh-c42h-m2vw- 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 - Weakness
- CWE-400
- Updated
- 2026-11-02
OSVRHBA-2024:11505
7.5
Red Hat Bug Fix Advisory: OpenShift Container Platform 4.16.28 packages and security update
- Record
RHBA-2024:11505- 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 - Updated
- 2026-11-02
OSVRHBA-2024:11525
7.5
Red Hat Bug Fix Advisory: OpenShift Container Platform 4.17.10 packages and security update
- Record
RHBA-2024:11525- 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 - Updated
- 2026-11-02
Show 8 moreShow less
OSVRHBA-2024:11565
7.5
Red Hat Bug Fix Advisory: OpenShift Container Platform 4.15.42 packages update
- Record
RHBA-2024:11565- 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 - Updated
- 2026-11-02
OSVRHSA-2023:3107
7.5
Red Hat Security Advisory: libreswan security update
- Record
RHSA-2023:3107- 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 - Updated
- 2026-11-02
OSVRHSA-2023:3148
7.5
Red Hat Security Advisory: libreswan security update
- Record
RHSA-2023:3148- 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 - Updated
- 2026-11-02
OSVRHSA-2024:10594
7.5
Red Hat Security Advisory: libreswan security update
- Record
RHSA-2024:10594- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-2295
7.5
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.
- Record
UBUNTU-CVE-2023-2295- 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 - Updated
- 2026-11-02
OSVALSA-2023:3107 No score
Important: libreswan security update
Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).
Security Fix(es):
- libreswan: Regression of CVE-2023-30570 fixes in the AlmaLinux (CVE-2023-2295)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2023:3107- Updated
- 2026-11-02
OSVALSA-2023:3148 No score
Important: libreswan security update
Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).
Security Fix(es):
- libreswan: Regression of CVE-2023-30570 fixes in the AlmaLinux (CVE-2023-2295)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2023:3148- Updated
- 2026-11-02
OSVRLSA-2023:3107 No score
Important: libreswan security update
Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).
Security Fix(es):
- libreswan: Regression of CVE-2023-30570 fixes in the Rocky Linux (CVE-2023-2295)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
RLSA-2023:3107- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libreswanAlmaLinux:8 |
before 4.9-3.el8_8 | 4.9-3.el8_8 |
libreswanAlmaLinux:9 |
before 4.9-4.el9_2 | 4.9-4.el9_2 |
libreswanRed Hat:openshift:4.16::el9 |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswan-debuginfoRed Hat:openshift:4.16::el9 |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswan-debugsourceRed Hat:openshift:4.16::el9 |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswanRed Hat:openshift:4.17::el9 |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswan-debuginfoRed Hat:openshift:4.17::el9 |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswan-debugsourceRed Hat:openshift:4.17::el9 |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswanRed Hat:openshift:4.15::el9 |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswan-debuginfoRed Hat:openshift:4.15::el9 |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
Show 18 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libreswan-debugsourceRed Hat:openshift:4.15::el9 |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswanRed Hat:enterprise_linux:8::appstream |
before 0:4.9-3.el8_8 | 0:4.9-3.el8_8 |
libreswan-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:4.9-3.el8_8 | 0:4.9-3.el8_8 |
libreswan-debugsourceRed Hat:enterprise_linux:8::appstream |
before 0:4.9-3.el8_8 | 0:4.9-3.el8_8 |
libreswanRed Hat:enterprise_linux:9::appstream |
before 0:4.9-4.el9_2 | 0:4.9-4.el9_2 |
libreswan-debuginfoRed Hat:enterprise_linux:9::appstream |
before 0:4.9-4.el9_2 | 0:4.9-4.el9_2 |
libreswan-debugsourceRed Hat:enterprise_linux:9::appstream |
before 0:4.9-4.el9_2 | 0:4.9-4.el9_2 |
libreswanRed Hat:rhel_e4s:9.0::appstream |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswan-debuginfoRed Hat:rhel_e4s:9.0::appstream |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswan-debugsourceRed Hat:rhel_e4s:9.0::appstream |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswanRocky Linux:8 |
before 0:4.9-3.el8_8 | 0:4.9-3.el8_8 |
libreswanUbuntu:18.04:LTS |
All versions, plus listed versions 3.20-7build13.21-23.22-13.22-23.22-33.22-43.23-13.23-4 |
None known |
libreswanUbuntu:20.04:LTS |
All versions, plus listed versions 3.29-23.29-2build1 |
None known |
libreswanUbuntu:22.04:LTS |
All versions, plus listed versions 3.32-3ubuntu3 |
None known |
libreswanUbuntu:24.04:LTS |
All versions, plus listed versions 4.11-1ubuntu14.12-1ubuntu14.14-1ubuntu14.14-1ubuntu2 |
None known |
libreswanUbuntu:25.10 |
All versions, plus listed versions 4.14-1ubuntu25.2-2.2ubuntu1 |
None known |
libreswanUbuntu:26.10 |
All versions, plus listed versions 5.2-2.2ubuntu2 |
None known |
libreswanUbuntu:26.04:LTS |
All versions, plus listed versions 5.2-2.2ubuntu15.2-2.2ubuntu2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, products | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-2295 is a high vulnerability (CVSS 7.5) in Libreswan, published May 16, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.58%, the 75th percentile. Fixed in libreswan 4.9-3.el8_8.
References
bugzilla.redhat.com/show_bug.cgi?id=2189777
access.redhat.com/security/cve/CVE-2023-2295
access.redhat.com/errata/RHSA-2023:3107
access.redhat.com/errata/RHSA-2023:3148
nvd.nist.gov/vuln/detail/CVE-2023-2295
github.com/advisories/GHSA-gcrh-c42h-m2vw
Show 56 moreShow less
bugzilla.redhat.com/2189777
errata.almalinux.org/8/ALSA-2023-3107.html
errata.almalinux.org/9/ALSA-2023-3148.html
access.redhat.com/errata/RHBA-2024:11505
security.access.redhat.com/data/csaf/v2/advisories/2025/rhba-2024_11505.json
cve.org/CVERecord?id=CVE-2023-2295
access.redhat.com/security/cve/CVE-2023-23009
bugzilla.redhat.com/show_bug.cgi?id=2173610
cve.org/CVERecord?id=CVE-2023-23009
nvd.nist.gov/vuln/detail/CVE-2023-23009
github.com/libreswan/libreswan/issues/954
access.redhat.com/security/cve/CVE-2023-30570
bugzilla.redhat.com/show_bug.cgi?id=2187165
cve.org/CVERecord?id=CVE-2023-30570
nvd.nist.gov/vuln/detail/CVE-2023-30570
libreswan.org/security
libreswan.org/security/CVE-2023-30570/CVE-2023-30570.txt
access.redhat.com/security/cve/CVE-2023-38710
bugzilla.redhat.com/show_bug.cgi?id=2225368
cve.org/CVERecord?id=CVE-2023-38710
nvd.nist.gov/vuln/detail/CVE-2023-38710
github.com/libreswan/libreswan/releases/tag/v4.12
libreswan.org/security/CVE-2023-38710/CVE-2023-38710.txt
access.redhat.com/security/cve/CVE-2023-38711
bugzilla.redhat.com/show_bug.cgi?id=2215952
cve.org/CVERecord?id=CVE-2023-38711
nvd.nist.gov/vuln/detail/CVE-2023-38711
libreswan.org/security/CVE-2023-38711/CVE-2023-38711.txt
access.redhat.com/security/cve/CVE-2023-38712
bugzilla.redhat.com/show_bug.cgi?id=2225369
cve.org/CVERecord?id=CVE-2023-38712
nvd.nist.gov/vuln/detail/CVE-2023-38712
libreswan.org/security/CVE-2023-38712/CVE-2023-38712.txt
access.redhat.com/security/cve/CVE-2024-2357
bugzilla.redhat.com/show_bug.cgi?id=2268952
cve.org/CVERecord?id=CVE-2024-2357
nvd.nist.gov/vuln/detail/CVE-2024-2357
github.com/libreswan/libreswan/commit/cb9e1047d33fde695d63a95854c2bc2470a476c8.patch
libreswan.org/security/CVE-2024-2357
access.redhat.com/security/cve/CVE-2024-3652
bugzilla.redhat.com/show_bug.cgi?id=2274448
cve.org/CVERecord?id=CVE-2024-3652
nvd.nist.gov/vuln/detail/CVE-2024-3652
libreswan.org/security/CVE-2024-3652
access.redhat.com/errata/RHBA-2024:11525
security.access.redhat.com/data/csaf/v2/advisories/2025/rhba-2024_11525.json
access.redhat.com/errata/RHBA-2024:11565
security.access.redhat.com/data/csaf/v2/advisories/2025/rhba-2024_11565.json
access.redhat.com/security/updates/classification
security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_3107.json
security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_3148.json
access.redhat.com/errata/RHSA-2024:10594
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_10594.json
errata.rockylinux.org/RLSA-2023:3107
ubuntu.com/security/CVE-2023-2295
rhn.redhat.com/errata/RHSA-2023-3107.html