CVE-2023-38712: An issue was discovered in Libreswan 3.x and 4.x before 4.12
CVE-2023-38712 is a medium-severity flaw (CVSS 6.5) affecting libreswan. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
An issue was discovered in Libreswan 3.x and 4.x before 4.12. When an IKEv1 ISAKMP SA Informational Exchange packet contains a Delete/Notify payload followed by further Notifies that act on the ISAKMP SA, such as a duplicated Delete/Notify message, a NULL pointer dereference on the deleted state causes the pluto daemon to crash and restart.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.8% (top 43%) |
| CISA exploited list | No |
| Weakness | CWE-476 |
| Published | 2023-08-25 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-38712?
libreswan: upgrade to 4.0, 4.12. Exact commands for each OS are on this page.
Is CVE-2023-38712 being exploited?
CVE-2023-38712 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-38712 affect?
CVE-2023-38712 affects libreswan. Severity is medium (CVSS 6.5). An issue was discovered in Libreswan 3.x and 4.x before 4.12. When an IKEv1 ISAKMP SA Informational Exchange packet contains a Delete/Notify payload followed by further Notifies that act on the ISAKMP SA, such as a duplicated Delete/Notify
How urgent is CVE-2023-38712?
Priority 37/100. No elevated risk signals yet.
Related CVEs
- CVE-2026-12413 HIGH 7.5 UPGRADE An invalidly formatted IKEv2 fragment causes the Libreswan pluto daemon to crash and restart
- CVE-2026-50721 HIGH 8.1 UPGRADE Libreswan, via the function RSA_authenticate_hash_signature_raw_rsa(), did not correctly verify the length of
- CVE-2026-50722 HIGH 8.1 UPGRADE Libreswan, via the function RSA_authenticate_hash_signature_pkcs1_1_5_rsa(), did not correctly verify the DER
- CVE-2024-3652 MEDIUM 6.5 UPGRADE The Libreswan Project was notified of an issue causing libreswan to restart when using IKEv1 without specifyin
- CVE-2023-38711 MEDIUM 6.5 UPGRADE An issue was discovered in Libreswan before 4.12