CVE-2023-38710
publishedlibreswan: Invalid IKEv2 REKEY proposal causes restart
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | libreswan | Advisory build | 4.12-2.el8 | ALSA-2023:7052 |
| Alpine Linux | edge | libreswan | Fixed | 4.12-r0 | Package fix record |
| Oracle Linux | 8 | libreswanaarch64 | Advisory build | 0:4.12-2.0.1.el8 | ELSA-2023-7052 |
| Red Hat Enterprise Linux | RHEL-8 | libreswanaarch64 | Advisory build | 4.12-2.el8 | RHSA-2023:7052 |
| Rocky Linux | 8 | libreswanaarch64 | Listed in advisory | Not stated | RLSA-2023:7052 |
| AlmaLinux | 9 | libreswan | Advisory build | 4.12-1.el9 | ALSA-2023:6549 |
Show 66 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.19 | libreswan | Fixed | 4.12-r0 | Package fix record |
| Alpine Linux | v3.20 | libreswan | Fixed | 4.12-r0 | Package fix record |
| Alpine Linux | v3.21 | libreswan | Fixed | 4.12-r0 | Package fix record |
| Alpine Linux | v3.22 | libreswan | Fixed | 4.12-r0 | Package fix record |
| Alpine Linux | v3.23 | libreswan | Fixed | 4.12-r0 | Package fix record |
| Alpine Linux | v3.24 | libreswan | Fixed | 4.12-r0 | Package fix record |
| Oracle Linux | 8 | libreswanx86_64 | Advisory build | 0:4.12-2.0.1.el8 | ELSA-2023-7052 |
| Oracle Linux | 9 | libreswanaarch64 | Advisory build | 0:4.12-1.0.1.el9 | ELSA-2023-6549 |
| Oracle Linux | 9 | libreswanx86_64 | Advisory build | 0:4.12-1.0.1.el9 | ELSA-2023-6549 |
| Red Hat Enterprise Linux | RHEL-8 | libreswanppc64le | Advisory build | 4.12-2.el8 | RHSA-2023:7052 |
| Red Hat Enterprise Linux | RHEL-8 | libreswans390x | Advisory build | 4.12-2.el8 | RHSA-2023:7052 |
| Red Hat Enterprise Linux | RHEL-8 | libreswansrc | Advisory build | 4.12-2.el8 | RHSA-2023:7052 |
| Red Hat Enterprise Linux | RHEL-8 | libreswanx86_64 | Advisory build | 4.12-2.el8 | RHSA-2023:7052 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debuginfoaarch64 | Advisory build | 4.12-2.el8 | RHSA-2023:7052 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debuginfoppc64le | Advisory build | 4.12-2.el8 | RHSA-2023:7052 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debuginfos390x | Advisory build | 4.12-2.el8 | RHSA-2023:7052 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debuginfox86_64 | Advisory build | 4.12-2.el8 | RHSA-2023:7052 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debugsourceaarch64 | Advisory build | 4.12-2.el8 | RHSA-2023:7052 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debugsourceppc64le | Advisory build | 4.12-2.el8 | RHSA-2023:7052 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debugsources390x | Advisory build | 4.12-2.el8 | RHSA-2023:7052 |
| Red Hat Enterprise Linux | RHEL-8 | libreswan-debugsourcex86_64 | Advisory build | 4.12-2.el8 | RHSA-2023:7052 |
| Red Hat Enterprise Linux | RHEL-9 | libreswanaarch64 | Advisory build | 4.12-1.el9 | RHSA-2023:6549 |
| Red Hat Enterprise Linux | RHEL-9 | libreswanaarch64 | Advisory build | 4.6-3.el9_0.3 | RHSA-2024:10594 |
| Red Hat Enterprise Linux | RHEL-9 | libreswanaarch64 | Advisory build | 4.9-5.el9_2.4 | RHSA-2025:0309 |
| Red Hat Enterprise Linux | RHEL-9 | libreswanppc64le | Advisory build | 4.12-1.el9 | RHSA-2023:6549 |
| Red Hat Enterprise Linux | RHEL-9 | libreswanppc64le | Advisory build | 4.6-3.el9_0.3 | RHSA-2024:10594 |
| Red Hat Enterprise Linux | RHEL-9 | libreswanppc64le | Advisory build | 4.9-5.el9_2.4 | RHSA-2025:0309 |
| Red Hat Enterprise Linux | RHEL-9 | libreswans390x | Advisory build | 4.12-1.el9 | RHSA-2023:6549 |
| Red Hat Enterprise Linux | RHEL-9 | libreswans390x | Advisory build | 4.6-3.el9_0.3 | RHSA-2024:10594 |
| Red Hat Enterprise Linux | RHEL-9 | libreswans390x | Advisory build | 4.9-5.el9_2.4 | RHSA-2025:0309 |
| Red Hat Enterprise Linux | RHEL-9 | libreswansrc | Advisory build | 4.12-1.el9 | RHSA-2023:6549 |
| Red Hat Enterprise Linux | RHEL-9 | libreswansrc | Advisory build | 4.6-3.el9_0.3 | RHSA-2024:10594 |
| Red Hat Enterprise Linux | RHEL-9 | libreswansrc | Advisory build | 4.9-5.el9_2.4 | RHSA-2025:0309 |
| Red Hat Enterprise Linux | RHEL-9 | libreswanx86_64 | Advisory build | 4.12-1.el9 | RHSA-2023:6549 |
| Red Hat Enterprise Linux | RHEL-9 | libreswanx86_64 | Advisory build | 4.6-3.el9_0.3 | RHSA-2024:10594 |
| Red Hat Enterprise Linux | RHEL-9 | libreswanx86_64 | Advisory build | 4.9-5.el9_2.4 | RHSA-2025:0309 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debuginfoaarch64 | Advisory build | 4.12-1.el9 | RHSA-2023:6549 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debuginfoaarch64 | Advisory build | 4.6-3.el9_0.3 | RHSA-2024:10594 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debuginfoaarch64 | Advisory build | 4.9-5.el9_2.4 | RHSA-2025:0309 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debuginfoppc64le | Advisory build | 4.12-1.el9 | RHSA-2023:6549 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debuginfoppc64le | Advisory build | 4.6-3.el9_0.3 | RHSA-2024:10594 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debuginfoppc64le | Advisory build | 4.9-5.el9_2.4 | RHSA-2025:0309 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debuginfos390x | Advisory build | 4.12-1.el9 | RHSA-2023:6549 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debuginfos390x | Advisory build | 4.6-3.el9_0.3 | RHSA-2024:10594 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debuginfos390x | Advisory build | 4.9-5.el9_2.4 | RHSA-2025:0309 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debuginfox86_64 | Advisory build | 4.12-1.el9 | RHSA-2023:6549 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debuginfox86_64 | Advisory build | 4.6-3.el9_0.3 | RHSA-2024:10594 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debuginfox86_64 | Advisory build | 4.9-5.el9_2.4 | RHSA-2025:0309 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debugsourceaarch64 | Advisory build | 4.12-1.el9 | RHSA-2023:6549 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debugsourceaarch64 | Advisory build | 4.6-3.el9_0.3 | RHSA-2024:10594 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debugsourceaarch64 | Advisory build | 4.9-5.el9_2.4 | RHSA-2025:0309 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debugsourceppc64le | Advisory build | 4.12-1.el9 | RHSA-2023:6549 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debugsourceppc64le | Advisory build | 4.6-3.el9_0.3 | RHSA-2024:10594 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debugsourceppc64le | Advisory build | 4.9-5.el9_2.4 | RHSA-2025:0309 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debugsources390x | Advisory build | 4.12-1.el9 | RHSA-2023:6549 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debugsources390x | Advisory build | 4.6-3.el9_0.3 | RHSA-2024:10594 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debugsources390x | Advisory build | 4.9-5.el9_2.4 | RHSA-2025:0309 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debugsourcex86_64 | Advisory build | 4.12-1.el9 | RHSA-2023:6549 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debugsourcex86_64 | Advisory build | 4.6-3.el9_0.3 | RHSA-2024:10594 |
| Red Hat Enterprise Linux | RHEL-9 | libreswan-debugsourcex86_64 | Advisory build | 4.9-5.el9_2.4 | RHSA-2025:0309 |
| Rocky Linux | 8 | libreswansrc | Listed in advisory | Not stated | RLSA-2023:7052 |
| Rocky Linux | 8 | libreswanx86_64 | Listed in advisory | Not stated | RLSA-2023:7052 |
| Rocky Linux | 8 | libreswan-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2023:7052 |
| Rocky Linux | 8 | libreswan-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:7052 |
| Rocky Linux | 8 | libreswan-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2023:7052 |
| Rocky Linux | 8 | libreswan-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2023:7052 |
Description
An issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an error notify INVALID_SPI is sent back. The notify payload's protocol ID is copied from the incoming packet, but the code that verifies outgoing packets fails an assertion that the protocol ID must be ESP (2) or AH(3) and causes the pluto daemon to crash and restart. NOTE: the earliest affected version is 3.20.
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
2Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4c5b015764be977a113d0536a90f41be9ccd4a32879086f8b6fdc2170ac219df
- Ingested
- 23 Sep 2026, 08:10:33 UTC
- Source record
- Official CVE record