CVE-2022-23094
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.
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
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 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV: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 High
CVSS: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 High
CVSS: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 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-2022:0199
7.5
Red Hat Security Advisory: libreswan security update
- Record
RHSA-2022:0199- 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-2022:0239
7.5
Red Hat Security Advisory: libreswan security update
- Record
RHSA-2022:0239- 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
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 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-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 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-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
| Package | Affected | Fixed |
|---|---|---|
libreswanAlpine:v3.15 |
4.2 up to 4.6-r0 | 4.6-r0 |
libreswanAlpine:v3.16 |
4.2 up to 4.6-r0 | 4.6-r0 |
libreswanAlpine:v3.17 |
4.2 up to 4.6-r0 | 4.6-r0 |
libreswanAlpine:v3.18 |
4.2 up to 4.6-r0 | 4.6-r0 |
libreswanAlpine:v3.19 |
4.2 up to 4.6-r0 | 4.6-r0 |
libreswanAlpine:v3.20 |
4.2 up to 4.6-r0 | 4.6-r0 |
libreswanAlpine:v3.21 |
4.2 up to 4.6-r0 | 4.6-r0 |
libreswanAlpine:v3.22 |
4.2 up to 4.6-r0 | 4.6-r0 |
libreswanAlpine:v3.23 |
4.2 up to 4.6-r0 | 4.6-r0 |
libreswanAlpine:v3.24 |
4.2 up to 4.6-r0 | 4.6-r0 |
Show 16 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libreswanAlmaLinux:8 |
before 4.4-4.el8_5 | 4.4-4.el8_5 |
libreswanDebian:12 |
before 4.6-1 | 4.6-1 |
libreswanDebian:13 |
before 4.6-1 | 4.6-1 |
libreswanDebian:11 |
before 4.3-1+deb11u1, plus listed versions 4.3-1 |
4.3-1+deb11u1 |
libreswanMageia:8 |
before 4.6-4.mga8 | 4.6-4.mga8 |
libreswanopenEuler:22.03-LTS |
before 4.5-2.oe2203 | 4.5-2.oe2203 |
libreswanRed Hat:enterprise_linux:8::appstream |
before 0:4.4-4.el8_5 | 0:4.4-4.el8_5 |
libreswan-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:4.4-4.el8_5 | 0:4.4-4.el8_5 |
libreswan-debugsourceRed Hat:enterprise_linux:8::appstream |
before 0:4.4-4.el8_5 | 0:4.4-4.el8_5 |
libreswanRed Hat:rhel_eus:8.4::appstream |
before 0:4.3-6.el8_4 | 0:4.3-6.el8_4 |
libreswan-debuginfoRed Hat:rhel_eus:8.4::appstream |
before 0:4.3-6.el8_4 | 0:4.3-6.el8_4 |
libreswan-debugsourceRed Hat:rhel_eus:8.4::appstream |
before 0:4.3-6.el8_4 | 0:4.3-6.el8_4 |
libreswanRocky Linux:8 |
before 0:4.4-4.el8_5 | 0:4.4-4.el8_5 |
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 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | OSV | |
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE 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
libreswan.org/security/CVE-2022-23094
github.com/libreswan/libreswan/issues/585
debian.org/security/2022/dsa-5048
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UFZ7WP5LNNBW5ADIOPDSPQ23SXZJRNMP
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HPMIHAXWQUJAPCIGNJ5J5Q6ASWQBU7T5
nvd.nist.gov/vuln/detail/CVE-2022-23094
Show 23 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/HPMIHAXWQUJAPCIGNJ5J5Q6ASWQBU7T5
lists.fedoraproject.org/archives/list/[email protected]/message/UFZ7WP5LNNBW5ADIOPDSPQ23SXZJRNMP
github.com/advisories/GHSA-m3gq-3gw9-x3fv
security.alpinelinux.org/vuln/CVE-2022-23094
vulners.com/cve/CVE-2022-23094
github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23094.json
security-tracker.debian.org/tracker/CVE-2022-23094
advisories.mageia.org/MGASA-2022-0030.html
bugs.mageia.org/show_bug.cgi?id=29900
libreswan.org/security/CVE-2022-23094/CVE-2022-23094.txt
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1738
access.redhat.com/errata/RHSA-2022:0199
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2036898
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_0199.json
access.redhat.com/security/cve/CVE-2022-23094
cve.org/CVERecord?id=CVE-2022-23094
access.redhat.com/errata/RHSA-2022:0239
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_0239.json
errata.rockylinux.org/RLSA-2022:0199
ubuntu.com/security/CVE-2022-23094
libreswan.org/security/CVE-2022-23094/CVE-2022-23094-libreswan-4.2-4.3.patch
libreswan.org/security/CVE-2022-23094/CVE-2022-23094-libreswan-4.4-4.5.patch