CVE-2022-23094 json
Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted IK…
published 2022-01-15 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-28199
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libreswan libreswan 4.6
- libreswan Debian 13, Debian 12 4.6-1
debian advisories DEBIAN-CVE-2022-23094
- libreswan RHEL 8 4.4-4.el8_5
- libreswan RHEL 8.4 EUS 4.3-6.el8_4
red hat advisories RHSA-2022:0239RHSA-2022:0199
- libreswan AlmaLinux 8 4.4-4.el8_5
almalinux advisories ALSA-2022:0199
- libreswan Rocky Linux 8 4.4-4.el8_5
rocky linux advisories RLSA-2022:0199
- libreswan Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 4.6-r0
alpine advisories ALPINE-CVE-2022-23094
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-23094 updated cvss 7.5
libreswan: Malicious IKEv1 packet can cause libreswan to restart
-
Red Hat Enterprise Linux AppStream (v. 8) libreswan 4.4-4.el8_5fixed: vendor fix RHSA-2022:0199
-
Red Hat Enterprise Linux AppStream EUS (v.8.4) libreswan 4.3-6.el8_4fixed: vendor fix RHSA-2022:0239
-
Red Hat Enterprise Linux 6 libreswan Red Hat Enterprise Linux 7 libreswan Red Hat Enterprise Linux 9 libreswannot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.63% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/libreswan/libreswan/issues/585 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
github.com
/libreswan/libreswan/issues/585
exploit, issue-tracking, third-party-advisory
-
debian.org
/security/2022/dsa-5048
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/UFZ7WP5LNNBW5ADIOPDSPQ23SXZJRNMP/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/HPMIHAXWQUJAPCIGNJ5J5Q6ASWQBU7T5/
vendor-advisory
-
libreswan.org
/security/CVE-2022-23094
third-party-advisory
Sources
- CVE List CVE-2022-23094
- NVD CVE-2022-23094
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.