CVE-2026-12413

HIGH CVSS 3.1: 7.5 EPSS 0.76%
Updated Oct 26, 2026
Libreswan
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions 4.6 — 5.3.1
Fixed In 5.3.1
Type CWE-193, CWE-617
Vendor Libreswan
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Libreswan Libreswan
cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:*
4.6 5.3.1