
CVE catalog
CVE-2023-38710
libreswan: CVE-2023-38710
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.81% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libreswan | sid | 5.2-2.5 | fixed |
| Debian | libreswan | forky | 5.2-2.5 | fixed |
| Debian | libreswan | trixie | 5.2-2.2 | fixed |
| Debian | libreswan | bookworm | 4.10-2+deb12u1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libreswan | source | sid | 4.12-1 | not yet assigned | Not reported | Not reported |
| Debian | libreswan | source | forky | 4.12-1 | not yet assigned | Not reported | Not reported |
| Debian | libreswan | source | trixie | 4.12-1 | not yet assigned | Not reported | Not reported |
| Debian | libreswan | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://access.redhat.com/errata/RHBA-2024:11505]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2023_7052.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-38710]
- [https://security-tracker.debian.org/tracker/CVE-2023-38710]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2853.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]