PoC Monitor
← All CVEs
CVE-2026-12413published 2 Jul 2026 21:19 UTCData: JSON · API

The Libreswan Project libreswan

IKEv2 Denial of Service via malformed fragmentation

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.

First public PoC 133 daysafter publication · 12 Nov 2026
Public PoCs11 on GitHub
CVSS7.5high · scored by CNA · CWE-193
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

The Libreswan Project libreswan
  • >= 4.6, <= 5.3

Fixed in 5.3.1

Mitigation

Upgrade to libreswan 5.3.1 or later. Patches for libreswan 4.15 and 5.3 are available at https://libreswan.org

Workaround

If fragmentation is not needed, fragmentation=no can be added to all IKEv2 configurations. If fragmentation is needed, no workaround is possible and the fix needs to be applied.

Timeline

Days relative to CVE publication
t=0+30+60+90+120CVE published2 Jul 2026 · t = 0First public PoC12 Nov 2026 · t+133d

First public PoC 133 days after publication; not in CISA KEV. First PoC: Mohammad-Jafar-Shabib/CVE-2026-12413-libreswan-poc (created 12 Nov 2026, found by us: 14 Nov 2026).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedFound by usStarsAssessment
Mohammad-Jafar-Shabib/CVE-2026-12413-libreswan-poc 12 Nov 2026 +133 d 14 Nov 2026 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.