CVE-2022-23094
publishedlibreswan: Malicious IKEv1 packet can cause libreswan to restart
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| AlmaLinux | 8 | libreswan | Advisory build | 4.4-4.el8_5 | ALSA-2022:0199 |
| Alpine Linux | edge | libreswan | Fixed | 4.6-r0 | Package fix record |
| Debian | bullseye | libreswan | Advisory build | 4.3-1+deb11u1 | DSA-5048-1 |
| Oracle Linux | 8 | libreswanaarch64 | Advisory build | 0:4.4-4.0.1.el8_5 | ELSA-2022-0199 |
| Red Hat Enterprise Linux | RHEL-8 | libreswanaarch64 | Advisory build | 4.3-6.el8_4 | RHSA-2022:0239 |
| Rocky Linux | 8 | libreswanaarch64 | Listed in advisory | Not stated | RLSA-2022:0199 |
| Alpine Linux | v3.15 | libreswan | Fixed | 4.6-r0 | Package fix record |
Show 41 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.16 | libreswan | Fixed | 4.6-r0 | Package fix record |
| Alpine Linux | v3.17 | libreswan | Fixed | 4.6-r0 | Package fix record |
| Alpine Linux | v3.18 | libreswan | Fixed | 4.6-r0 | Package fix record |
| Alpine Linux | v3.19 | libreswan | Fixed | 4.6-r0 | Package fix record |
| Alpine Linux | v3.20 | libreswan | Fixed | 4.6-r0 | Package fix record |
| Alpine Linux | v3.21 | libreswan | Fixed | 4.6-r0 | Package fix record |
| Alpine Linux | v3.22 | libreswan | Fixed | 4.6-r0 | Package fix record |
| Alpine Linux | v3.23 | libreswan | Fixed | 4.6-r0 | Package fix record |
| Alpine Linux | v3.24 | libreswan | Fixed | 4.6-r0 | Package fix record |
| Oracle Linux | 8 | libreswanx86_64 | Advisory build | 0:4.4-4.0.1.el8_5 | ELSA-2022-0199 |
| Red Hat Enterprise Linux | RHEL-8 | libreswanaarch64 | Advisory build | 4.4-4.el8_5 | RHSA-2022:0199 |
| Red Hat Enterprise Linux | RHEL-8 | libreswanppc64le | Advisory build | 4.3-6.el8_4 | RHSA-2022:0239 |
| Red Hat Enterprise Linux | RHEL-8 | libreswanppc64le | Advisory build | 4.4-4.el8_5 | RHSA-2022:0199 |
| Red Hat Enterprise Linux | RHEL-8 | libreswans390x | Advisory build | 4.3-6.el8_4 | RHSA-2022:0239 |
| Red Hat Enterprise Linux | RHEL-8 | libreswans390x | Advisory build | 4.4-4.el8_5 | RHSA-2022:0199 |
| Red Hat Enterprise Linux | RHEL-8 | libreswansrc | Advisory build | 4.3-6.el8_4 | RHSA-2022:0239 |
| Red Hat Enterprise Linux | RHEL-8 | libreswansrc | Advisory build | 4.4-4.el8_5 | RHSA-2022:0199 |
| Red Hat Enterprise Linux | RHEL-8 | libreswanx86_64 | Advisory build | 4.3-6.el8_4 | RHSA-2022:0239 |
| Red Hat Enterprise Linux | RHEL-8 | libreswanx86_64 | Advisory build | 4.4-4.el8_5 | RHSA-2022:0199 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debuginfoaarch64 | Advisory build | 4.3-6.el8_4 | RHSA-2022:0239 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debuginfoaarch64 | Advisory build | 4.4-4.el8_5 | RHSA-2022:0199 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debuginfoppc64le | Advisory build | 4.3-6.el8_4 | RHSA-2022:0239 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debuginfoppc64le | Advisory build | 4.4-4.el8_5 | RHSA-2022:0199 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debuginfos390x | Advisory build | 4.3-6.el8_4 | RHSA-2022:0239 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debuginfos390x | Advisory build | 4.4-4.el8_5 | RHSA-2022:0199 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debuginfox86_64 | Advisory build | 4.3-6.el8_4 | RHSA-2022:0239 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debuginfox86_64 | Advisory build | 4.4-4.el8_5 | RHSA-2022:0199 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debugsourceaarch64 | Advisory build | 4.3-6.el8_4 | RHSA-2022:0239 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debugsourceaarch64 | Advisory build | 4.4-4.el8_5 | RHSA-2022:0199 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debugsourceppc64le | Advisory build | 4.3-6.el8_4 | RHSA-2022:0239 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debugsourceppc64le | Advisory build | 4.4-4.el8_5 | RHSA-2022:0199 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debugsources390x | Advisory build | 4.3-6.el8_4 | RHSA-2022:0239 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debugsources390x | Advisory build | 4.4-4.el8_5 | RHSA-2022:0199 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debugsourcex86_64 | Advisory build | 4.3-6.el8_4 | RHSA-2022:0239 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debugsourcex86_64 | Advisory build | 4.4-4.el8_5 | RHSA-2022:0199 |
| Rocky Linux | 8 | libreswansrc | Listed in advisory | Not stated | RLSA-2022:0199 |
| Rocky Linux | 8 | libreswanx86_64 | Listed in advisory | Not stated | RLSA-2022:0199 |
| Rocky Linux | 8 | libreswan-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2022:0199 |
| Rocky Linux | 8 | libreswan-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2022:0199 |
| Rocky Linux | 8 | libreswan-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2022:0199 |
| Rocky Linux | 8 | libreswan-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2022:0199 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
5- https://github.com/libreswan/libreswan/issues/585
- https://libreswan.org/security/CVE-2022-23094
- FEDORA-2022-42e0892147 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HPMIHAXWQUJAPCIGNJ5J5Q6ASWQBU7T5/
- FEDORA-2022-a4bca77f88 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UFZ7WP5LNNBW5ADIOPDSPQ23SXZJRNMP/
- DSA-5048 https://www.debian.org/security/2022/dsa-5048
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 563964b91084715981856512017d5a4003c2bfbbfca92494d2841de6e1427813
- Ingested
- 23 Sep 2026, 07:58:34 UTC
- Source record
- Official CVE record