CVE-2026-12413

HIGH

libreswan - IKEv2 Denial of Service via Malformed Fragmentation

Title source: rule
STIX 2.1

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.

References (2)

Core 2
Core References
Libreswan CVE-2026-12413 Patches
https://libreswan.org/security/CVE-2026-12413/

Scores

CVSS v3 7.5
EPSS 0.0060
EPSS Percentile 45.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-193 CWE-617
Status published
Products (3)
libreswan/libreswan 4.6 - 5.3.1
The Libreswan Project/libreswan 4.6 - 5.3
The Libreswan Project/libreswan 5.3.1
Published Jul 02, 2026
Tracked Since Jul 03, 2026