CVE-2023-38710Libreswan
Medium 6.5
Follow: this CVE · Libreswan · Libreswan We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 61
- Auth required
- Yes
- Published
- Aug 25, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Libreswan.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libreswan | libreswan | ≥ 3.20 < 4.12 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- libreswan.org Third Party Advisory