An invalidly formatted IKEv2 fragment causes the Libreswan pluto daemon to crash and restart. Continued exploitation would cause a denial of service. The function reassemble_v2_incoming_fragments() would ignore unknown outer payloads but still store these in a fixed size array msg_digest.digest[PAYLIMIT]. An off-by-one error in the assertion PASSERT(logger, md->digest_roof < elemsof(md->digest)) causes the daemon to abort. No remote code execution is possible. Any configuration that allows IKEv2 connections that do not set fragmentation=no are vulnerable. IKEv1 is not affected.
References
| Link | Resource |
|---|---|
| https://libreswan.org/security/CVE-2026-12413/ | Vendor Advisory |
| https://libreswan.org/security/CVE-2026-12413/CVE-2026-12413.txt | Vendor Advisory Mitigation |
Configurations
History
08 Jul 2026, 18:52
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:* | |
| First Time |
Libreswan
Libreswan libreswan |
|
| References | () https://libreswan.org/security/CVE-2026-12413/ - Vendor Advisory | |
| References | () https://libreswan.org/security/CVE-2026-12413/CVE-2026-12413.txt - Vendor Advisory, Mitigation |
02 Jul 2026, 22:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-02 22:16
Updated : 2026-07-08 18:52
NVD link : CVE-2026-12413
Mitre link : CVE-2026-12413
CVE.ORG link : CVE-2026-12413
JSON object : View
Products Affected
libreswan
- libreswan
