High severity · published Jul 2, 2026
CVE-2026-12413
IKEv2 Denial of Service via malformed fragmentation
7.5
CVSS
0.6%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 48% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
libreswan · The Libreswan Project
4.6 through 5.3 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-12413
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-12413
Vendor Advisory
https://libreswan.org/security/CVE-2026-12413/
Vendor Advisory
https://libreswan.org/security/CVE-2026-12413/CVE-2026-12413.txt
More from libreswan
7.5
CVE-2026-77207
Null Pointer Dereference in PKCS#7 bundle with no certificates
7.5
CVE-2026-77206
IKEv2 pre-authentication Null Pointer Dereference in EAP code
7.5
CVE-2026-94453
IKEv2 Use-After-Free bug when using IKE-over-TCP
7.5
CVE-2026-14957
FIPS mode assertion failure via malicious CERT payload
5.9
CVE-2026-50721
IKEv1 Denial of Service via RSA-SHA1 (PKCS#1 Version 1.5 Encrypted) authentication payload
