Vulnerability Report

CVE-2026-12413

RCE

Title: Denial of Service in Libreswan IKEv2 fragmentation reassembly

DoS

Proof Of Concept

PoC Available for CVE-2026-12413

CWE Category CWE-193
Published Date Jul 02, 2026
Modified Date Oct 25, 2026
Exploit Status Available
Score 7.5 CVSS v3.1
Exploit Probability (EPSS)
0.76%

Vulnerability Summary

CVE-2026-12413: 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 v3.1
Source Entity d42dc95b-23f1-4e06-9076-20753a0fb0df
Severity HIGH
7.5
Attack Vector
NETWORK
Complexity
LOW
Privileges
N/A
Interaction
NONE
Confidentiality
N/A
Integrity
N/A
Availability
N/A
Scope
UNCHANGED
RAW VECTOR CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Associated Attack Patterns (CAPEC)

Total: Patterns

CVE-2026-12413 Exploits & PoCs (Proof Of Concept)

GitHub https://github.com/Mohammad-Jafar-Shabib/CVE-2026-12413-libreswan-poc
View Code
MODIFIED

Vulnerability data updated via NVD.

MODIFIED

Vulnerability data updated via NVD.

MODIFIED

Vulnerability data updated via NVD.

MODIFIED

Vulnerability data updated via NVD.

MODIFIED

Vulnerability data updated via NVD.

MODIFIED

Vulnerability data updated via NVD.

Attack Vector Matrix

Access Vector NETWORK
Complexity LOW
Privileges N/A
Interaction NONE
CVSS Vector String CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected Stack

No specific products linked.