Every CVE Search/ Get API key

CVE-2022-23094

Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer...

7.5 HighFix available

Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted IKEv1 packet because pluto/ikev1.c wrongly expects that a state object exists. This is fixed in 4.6.

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

2.54%Up 1.3 points since Feb 8, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted IKEv1 packet because pluto/ikev1.c wrongly expects that a state object exists. This is fixed in 4.6.

Record
CVE-2022-23094
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-476
Updated
2026-11-02
CVE List No score

Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted IKEv1 packet because pluto/ikev1.c wrongly expects that a state object exists. This is fixed in 4.6.

Record
CVE-2022-23094
Updated
2026-11-02
EUVDEUVD-2022-28199 No score

Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted IKEv1 packet because pluto/ikev1.c wrongly expects that a state object exists. This is fixed in 4.6.

Record
EUVD-2022-28199
Updated
2026-11-03
GitHub AdvisoriesGHSA-m3gq-3gw9-x3fv No score

Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer...

Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted IKEv1 packet because pluto/ikev1.c wrongly expects that a state object exists. This is fixed in 4.6.

Record
GHSA-m3gq-3gw9-x3fv
Weakness
CWE-476
Updated
2026-11-02
OSVALPINE-CVE-2022-23094 7.5

Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted IKEv1 packet because pluto/ikev1.c wrongly expects that a state object exists. This is fixed in 4.6.

Record
ALPINE-CVE-2022-23094
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
OSVDEBIAN-CVE-2022-23094 7.5

Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted IKEv1 packet because pluto/ikev1.c wrongly expects that a state object exists. This is fixed in 4.6.

Record
DEBIAN-CVE-2022-23094
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-06
Show 8 moreShow less
OSVOESA-2022-1738 7.5

libreswan security update

Libreswan is an implementation of IKEv1 and IKEv2 for IPsec. 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. Everything passing through the untrusted net is encrypted by the ipsec gateway machine and decrypted by the gateway at the other end of the tunnel. The resulting tunnel is a virtual private network or VPN.

Security Fix(es):

Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted IKEv1 packet because pluto/ikev1.c wrongly expects that a state object exists. This is fixed in 4.6.(CVE-2022-23094)

Record
OESA-2022-1738
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-2022:0199 7.5

Red Hat Security Advisory: libreswan security update

Record
RHSA-2022:0199
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-2022:0239 7.5

Red Hat Security Advisory: libreswan security update

Record
RHSA-2022:0239
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
OSVRLSA-2022:0199 7.5

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: Malicious IKEv1 packet can cause libreswan to restart (CVE-2022-23094)

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-2022:0199
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-2022-23094 7.5

Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted IKEv1 packet because pluto/ikev1.c wrongly expects that a state object exists. This is fixed in 4.6.

Record
UBUNTU-CVE-2022-23094
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-2022:0199 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: Malicious IKEv1 packet can cause libreswan to restart (CVE-2022-23094)

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-2022:0199
Updated
2026-11-02
OSV No score

Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted IKEv1 packet because pluto/ikev1.c wrongly expects that a state object exists. This is fixed in 4.6.

Record
CVE-2022-23094
Updated
2026-11-02
OSVMGASA-2022-0030 No score

Updated libreswan packages fix security vulnerability

Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted IKEv1 packet because pluto/ikev1.c wrongly expects that a state object exists. (CVE-2022-23094)

Record
MGASA-2022-0030
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libreswan
Alpine:v3.15
4.2 up to 4.6-r0
4.6-r0
libreswan
Alpine:v3.16
4.2 up to 4.6-r0
4.6-r0
libreswan
Alpine:v3.17
4.2 up to 4.6-r0
4.6-r0
libreswan
Alpine:v3.18
4.2 up to 4.6-r0
4.6-r0
libreswan
Alpine:v3.19
4.2 up to 4.6-r0
4.6-r0
libreswan
Alpine:v3.20
4.2 up to 4.6-r0
4.6-r0
libreswan
Alpine:v3.21
4.2 up to 4.6-r0
4.6-r0
libreswan
Alpine:v3.22
4.2 up to 4.6-r0
4.6-r0
libreswan
Alpine:v3.23
4.2 up to 4.6-r0
4.6-r0
libreswan
Alpine:v3.24
4.2 up to 4.6-r0
4.6-r0
Show 16 moreShow less
Affected packages
PackageAffectedFixed
libreswan
AlmaLinux:8
before 4.4-4.el8_5
4.4-4.el8_5
libreswan
Debian:12
before 4.6-1
4.6-1
libreswan
Debian:13
before 4.6-1
4.6-1
libreswan
Debian:11
before 4.3-1+deb11u1, plus listed versions
4.3-1
4.3-1+deb11u1
libreswan
Mageia:8
before 4.6-4.mga8
4.6-4.mga8
libreswan
openEuler:22.03-LTS
before 4.5-2.oe2203
4.5-2.oe2203
libreswan
Red Hat:enterprise_linux:8::appstream
before 0:4.4-4.el8_5
0:4.4-4.el8_5
libreswan-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:4.4-4.el8_5
0:4.4-4.el8_5
libreswan-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:4.4-4.el8_5
0:4.4-4.el8_5
libreswan
Red Hat:rhel_eus:8.4::appstream
before 0:4.3-6.el8_4
0:4.3-6.el8_4
libreswan-debuginfo
Red Hat:rhel_eus:8.4::appstream
before 0:4.3-6.el8_4
0:4.3-6.el8_4
libreswan-debugsource
Red Hat:rhel_eus:8.4::appstream
before 0:4.3-6.el8_4
0:4.3-6.el8_4
libreswan
Rocky Linux:8
before 0:4.4-4.el8_5
0:4.4-4.el8_5
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

History

History
RecordedChangedSources
affected, factsOSV
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-23094 is a high vulnerability (CVSS 7.5) in Libreswan, published January 15, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.54%, the 85th percentile. Fixed in libreswan 4.6-r0.

References

Show 23 moreShow less
MoveEnter Open