Every CVE Search/ Get API key

CVE-2023-2295

A vulnerability was found in the libreswan library. This security issue occurs when an IKEv1...

7.5 HighFix available

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.

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

1.58%Up 1.5 points since May 18, 2023
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
libreswan
AlmaLinux:8
before 4.9-3.el8_8
4.9-3.el8_8
libreswan
AlmaLinux:9
before 4.9-4.el9_2
4.9-4.el9_2
libreswan
Red Hat:openshift:4.16::el9
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debuginfo
Red Hat:openshift:4.16::el9
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debugsource
Red Hat:openshift:4.16::el9
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan
Red Hat:openshift:4.17::el9
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debuginfo
Red Hat:openshift:4.17::el9
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debugsource
Red Hat:openshift:4.17::el9
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan
Red Hat:openshift:4.15::el9
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debuginfo
Red Hat:openshift:4.15::el9
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
Show 18 moreShow less
Affected packages
PackageAffectedFixed
libreswan-debugsource
Red Hat:openshift:4.15::el9
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan
Red Hat:enterprise_linux:8::appstream
before 0:4.9-3.el8_8
0:4.9-3.el8_8
libreswan-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:4.9-3.el8_8
0:4.9-3.el8_8
libreswan-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:4.9-3.el8_8
0:4.9-3.el8_8
libreswan
Red Hat:enterprise_linux:9::appstream
before 0:4.9-4.el9_2
0:4.9-4.el9_2
libreswan-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:4.9-4.el9_2
0:4.9-4.el9_2
libreswan-debugsource
Red Hat:enterprise_linux:9::appstream
before 0:4.9-4.el9_2
0:4.9-4.el9_2
libreswan
Red Hat:rhel_e4s:9.0::appstream
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debuginfo
Red Hat:rhel_e4s:9.0::appstream
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debugsource
Red Hat:rhel_e4s:9.0::appstream
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan
Rocky Linux:8
before 0:4.9-3.el8_8
0:4.9-3.el8_8
libreswan
Ubuntu: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
libreswan
Ubuntu:20.04:LTS
All versions, plus listed versions
3.29-23.29-2build1
None known
libreswan
Ubuntu:22.04:LTS
All versions, plus listed versions
3.32-3ubuntu3
None known
libreswan
Ubuntu:24.04:LTS
All versions, plus listed versions
4.11-1ubuntu14.12-1ubuntu14.14-1ubuntu14.14-1ubuntu2
None known
libreswan
Ubuntu:25.10
All versions, plus listed versions
4.14-1ubuntu25.2-2.2ubuntu1
None known
libreswan
Ubuntu:26.10
All versions, plus listed versions
5.2-2.2ubuntu2
None known
libreswan
Ubuntu:26.04:LTS
All versions, plus listed versions
5.2-2.2ubuntu15.2-2.2ubuntu2
None known

History

History
WhenChangedSources
2026-11-03aliases, productsEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 56 moreShow less
MoveEnter Open