CVE-2023-38710
CVE-2023-38710 is a medium-severity vulnerability in Libreswan with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- EPSS exploit prediction: 1% (48th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Libreswan
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2023-38710?
- 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.
- How severe is CVE-2023-38710?
- CVE-2023-38710 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2023-38710 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (48th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-38710?
- CVE-2023-38710 affects Libreswan. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2023-38710?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2023-38710 published?
- CVE-2023-38710 was published on 2023-08-25 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:*
More vulnerabilities in Libreswan
- CVE-2013-7283 — Critical (CVSS 9.3): Race condition in the libreswan.spec files for Red Hat Enterprise Linux (RHEL) and Fedora packages in libreswan 3.6 has…
- CVE-2026-12413 — High (CVSS 7.5): An invalidly formatted IKEv2 fragment causes the Libreswan pluto daemon to crash and restart. Continued exploitation…
- CVE-2023-30570 — High (CVSS 7.5): pluto in Libreswan before 4.11 allows a denial of service (responder SPI mishandling and daemon crash) via…
- CVE-2023-2295 — High (CVSS 7.5): A vulnerability was found in the libreswan library. This security issue occurs when an IKEv1 Aggressive Mode packet is…
- CVE-2022-23094 — High (CVSS 7.5): Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon…
- CVE-2020-1763 — High (CVSS 7.5): An out-of-bounds buffer read flaw was found in the pluto daemon of libreswan from versions 3.27 till 3.31 where, an…