{"id":"CVE-2022-23094","aliases":["ALPINE-CVE-2022-23094","ALSA-2022:0199","DEBIAN-CVE-2022-23094","DSA-5048-1","EUVD-2022-28199","GHSA-m3gq-3gw9-x3fv","MGASA-2022-0030","OESA-2022-1738","RHSA-2022:0199","RHSA-2022:0239","RLSA-2022:0199","UBUNTU-CVE-2022-23094"],"status":"published","title":"Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer...","description":"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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.02628,"percentile":0.85699,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-476"],"published":"2022-01-15T00:00:00Z","modified":"2026-11-06T17:27:09Z","fixes":[{"ecosystem":"Alpine:v3.15","package":"libreswan","fixed_in":["4.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"libreswan","fixed_in":["4.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"libreswan","fixed_in":["4.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"libreswan","fixed_in":["4.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"libreswan","fixed_in":["4.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"libreswan","fixed_in":["4.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"libreswan","fixed_in":["4.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"libreswan","fixed_in":["4.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"libreswan","fixed_in":["4.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"libreswan","fixed_in":["4.6-r0"],"sources":["osv"]},{"ecosystem":"AlmaLinux:8","package":"libreswan","fixed_in":["4.4-4.el8_5"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"libreswan","fixed_in":["4.6-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libreswan","fixed_in":["4.6-1"],"sources":["osv"]},{"ecosystem":"Debian:11","package":"libreswan","fixed_in":["4.3-1+deb11u1"],"sources":["osv"]},{"ecosystem":"Mageia:8","package":"libreswan","fixed_in":["4.6-4.mga8"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS","package":"libreswan","fixed_in":["4.5-2.oe2203"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"libreswan","fixed_in":["0:4.4-4.el8_5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"libreswan-debuginfo","fixed_in":["0:4.4-4.el8_5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"libreswan-debugsource","fixed_in":["0:4.4-4.el8_5"],"sources":["osv"]},{"ecosystem":"Red Hat:rhel_eus:8.4::appstream","package":"libreswan","fixed_in":["0:4.3-6.el8_4"],"sources":["osv"]},{"ecosystem":"Red Hat:rhel_eus:8.4::appstream","package":"libreswan-debuginfo","fixed_in":["0:4.3-6.el8_4"],"sources":["osv"]},{"ecosystem":"Red Hat:rhel_eus:8.4::appstream","package":"libreswan-debugsource","fixed_in":["0:4.3-6.el8_4"],"sources":["osv"]},{"ecosystem":"Rocky Linux:8","package":"libreswan","fixed_in":["0:4.4-4.el8_5"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.15","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2"},{"fixed":"4.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2"},{"fixed":"4.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2"},{"fixed":"4.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2"},{"fixed":"4.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2"},{"fixed":"4.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2"},{"fixed":"4.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2"},{"fixed":"4.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2"},{"fixed":"4.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2"},{"fixed":"4.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2"},{"fixed":"4.6-r0"}]}]},{"source":"osv","ecosystem":"AlmaLinux:8","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4-4.el8_5"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6-1"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3-1+deb11u1"}]}],"versions":["4.3-1"]},{"source":"osv","ecosystem":"Mageia:8","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6-4.mga8"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5-2.oe2203"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4-4.el8_5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"libreswan-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4-4.el8_5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"libreswan-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4-4.el8_5"}]}]},{"source":"osv","ecosystem":"Red Hat:rhel_eus:8.4::appstream","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.3-6.el8_4"}]}]},{"source":"osv","ecosystem":"Red Hat:rhel_eus:8.4::appstream","package":"libreswan-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.3-6.el8_4"}]}]},{"source":"osv","ecosystem":"Red Hat:rhel_eus:8.4::appstream","package":"libreswan-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.3-6.el8_4"}]}]},{"source":"osv","ecosystem":"Rocky Linux:8","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4-4.el8_5"}]}]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.20-7build1","3.21-2","3.22-1","3.22-2","3.22-3","3.22-4","3.23-1","3.23-4"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.29-2","3.29-2build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.32-3ubuntu3"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"libreswan","product":"libreswan"}],"references":[{"url":"https://libreswan.org/security/CVE-2022-23094","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/libreswan/libreswan/issues/585","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://www.debian.org/security/2022/dsa-5048","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UFZ7WP5LNNBW5ADIOPDSPQ23SXZJRNMP/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HPMIHAXWQUJAPCIGNJ5J5Q6ASWQBU7T5/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23094","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HPMIHAXWQUJAPCIGNJ5J5Q6ASWQBU7T5/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UFZ7WP5LNNBW5ADIOPDSPQ23SXZJRNMP/"},{"url":"https://github.com/advisories/GHSA-m3gq-3gw9-x3fv"},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-23094","tags":["advisory"]},{"url":"https://vulners.com/cve/CVE-2022-23094","tags":["report"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23094.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-23094","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0030.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29900","tags":["report"]},{"url":"https://libreswan.org/security/CVE-2022-23094/CVE-2022-23094.txt","tags":["advisory","article","report"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1738","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2022:0199","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2036898","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_0199.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-23094","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-23094","tags":["advisory","report"]},{"url":"https://access.redhat.com/errata/RHSA-2022:0239","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_0239.json","tags":["advisory"]},{"url":"https://errata.rockylinux.org/RLSA-2022:0199","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-23094","tags":["report"]},{"url":"https://libreswan.org/security/CVE-2022-23094/CVE-2022-23094-libreswan-4.2-4.3.patch","tags":["report"]},{"url":"https://libreswan.org/security/CVE-2022-23094/CVE-2022-23094-libreswan-4.4-4.5.patch","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-23094","description":"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.","status":"published","published":"2022-01-15T01:37:32Z","modified":"2024-08-03T03:28:43.512Z","updated_at":"2026-11-02T14:34:29.842547Z"}],"euvd":[{"id":"EUVD-2022-28199","description":"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.","status":"published","published":"2022-01-15T01:37:32Z","modified":"2024-08-03T03:28:43Z","updated_at":"2026-11-03T03:25:51.741657Z"}],"ghsa":[{"id":"GHSA-m3gq-3gw9-x3fv","title":"Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer...","description":"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.","status":"published","published":"2022-01-16T00:00:45Z","modified":"2023-02-03T05:04:46Z","cwes":["CWE-476"],"updated_at":"2026-11-02T14:53:37.258179Z"}],"nvd":[{"id":"CVE-2022-23094","description":"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.","status":"published","published":"2022-01-15T02:15:06.547Z","modified":"2026-06-17T04:29:29.99Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T14:07:10.836864Z"}],"osv":[{"id":"ALPINE-CVE-2022-23094","description":"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.","status":"published","published":"2022-01-15T02:15:06.547Z","modified":"2026-11-03T07:31:20.294667926Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T07:50:01.054176Z"},{"id":"DEBIAN-CVE-2022-23094","description":"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.","status":"published","published":"2022-01-15T02:15:06.547Z","modified":"2026-11-06T17:27:09.742064938Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-06T18:04:44.027546Z"},{"id":"OESA-2022-1738","title":"libreswan security update","description":"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.\r\n\r\nSecurity Fix(es):\r\n\r\nLibreswan 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)","status":"published","published":"2022-07-08T11:05:00Z","modified":"2026-08-18T01:16:41.222225831Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:39.528805Z"},{"id":"RHSA-2022:0199","title":"Red Hat Security Advisory: libreswan security update","status":"published","published":"2024-09-16T07:01:55Z","modified":"2025-11-22T12:29:17Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:09.077222Z"},{"id":"RHSA-2022:0239","title":"Red Hat Security Advisory: libreswan security update","status":"published","published":"2024-09-16T07:02:02Z","modified":"2025-11-22T12:29:23Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:09.077222Z"},{"id":"RLSA-2022:0199","title":"Important: libreswan security update","description":"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).\n\nSecurity Fix(es):\n\n* libreswan: Malicious IKEv1 packet can cause libreswan to restart (CVE-2022-23094)\n\nFor 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.","status":"published","published":"2022-01-19T19:11:04Z","modified":"2026-02-04T18:00:04.927838Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:23.969672Z"},{"id":"UBUNTU-CVE-2022-23094","description":"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.","status":"published","published":"2022-01-15T02:15:00Z","modified":"2025-10-24T04:53:28Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:53:53.13624Z"},{"id":"ALSA-2022:0199","title":"Important: libreswan security update","description":"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).\n\nSecurity Fix(es):\n\n* libreswan: Malicious IKEv1 packet can cause libreswan to restart (CVE-2022-23094)\n\nFor 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.","status":"published","published":"2022-01-19T19:11:04Z","modified":"2026-10-29T11:00:37.705329396Z","updated_at":"2026-11-02T15:27:51.196609Z"},{"id":"CVE-2022-23094","description":"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.","status":"published","published":"2022-01-15T01:37:32Z","modified":"2026-10-28T02:30:39.923465928Z","updated_at":"2026-11-02T15:44:24.061177Z"},{"id":"DSA-5048-1","title":"libreswan - security update","status":"published","published":"2022-01-15T00:00:00Z","modified":"2026-03-09T02:11:00.491538Z","updated_at":"2026-11-02T15:46:17.543497Z"},{"id":"MGASA-2022-0030","title":"Updated libreswan packages fix security vulnerability","description":"Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of\nservice (NULL pointer dereference and daemon crash) via a crafted IKEv1\npacket because pluto/ikev1.c wrongly expects that a state object exists.\n(CVE-2022-23094)\n","status":"published","published":"2022-01-25T12:13:11Z","modified":"2026-04-16T04:42:11.258444714Z","updated_at":"2026-11-02T15:49:41.849028Z"}]}}
