# CVE-2023-38710: An issue was discovered in Libreswan before 4.12.

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.81%, higher than 58% of CVEs (2026-12-01)
- Published: 2023-08-25T00:00:00.000Z
- Modified: 2026-06-17T06:11:00.140Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- libreswan libreswan: from 3.20 before 4.12

## References

- <https://github.com/libreswan/libreswan/tags> (third-party-advisory)
- <https://libreswan.org/security/CVE-2023-38710/> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-38710](https://www.cve.org/CVERecord?id=CVE-2023-38710), CVE Terms of Use, modified 2024-11-26
- NVD: [CVE-2023-38710](https://nvd.nist.gov/vuln/detail/CVE-2023-38710), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-38710 · Whole record: https://cve.day/CVE-2023-38710.json · Rebuilt by cve.day 2026-11-25T22:58:27.366Z
