CVE-2026-12413: IKEv2 Denial of Service via malformed fragmentation

Published Jun 29, 2026
·
Updated

An invalidly formatted IKEv2 fragment causes the Libreswan pluto daemon to crash and restart. Continued exploitation would cause a denial of service. The function reassemblev2incomingfragments() would ignore unknown outer payloads but still store these in a fixed size array msgdigest.digest[PAYLIMIT]. An off-by-one error in the assertion PASSERT(logger, md->digestroof < 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.

Other sources

IKEv2 Denial of Service via malformed fragmentation

Microsoft

The Libreswan Project was notified of an issue when it receives an invalidly formatted IKEv2 fragment causing the server to crash and restart. A continued stream of such packets would cause a denial of service.

Severity : Medium Vulnerable versions : 4.6 - 5.3 Not vulnerable : 5.3.1 or later

Red Hat

Affected Software

3 affected componentsFixes available
libreswan pluto (Libreswan IKEv2)
libreswan Libreswan>=4.6<5.3.1
Microsoft azl3 libreswan 4.15-1<4.15-2
4.15-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.15-2
  2. Upgrade

    Upgrade libreswan to a version that resolves this vulnerability.

    Fixed in 5.3.1

Event History

Jun 29, 2026
Data Sourced
via Red Hat·11:30 AM
DescriptionSeverityAffected Software
Jul 2, 2026
CVE Published
via MITRE·09:19 PM
Data Sourced
via MITRE·09:19 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeaknessAffected Software
Jul 4, 2026
Data Sourced
via Microsoft·08:03 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:03 AM
Affected Software
Updated
via Microsoft·08:03 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-12413?

CVE-2026-12413 has a high severity rating of 7.5.

2

What types of attacks can exploit CVE-2026-12413?

CVE-2026-12413 can be exploited through malformed IKEv2 fragments leading to denial of service.

3

How does CVE-2026-12413 affect Libreswan?

CVE-2026-12413 causes the Libreswan pluto daemon to crash and restart upon exploitation.

4

How can I mitigate the risk of CVE-2026-12413?

To mitigate CVE-2026-12413, ensure that you are using the latest updated version of Libreswan.

5

What is the potential impact of CVE-2026-12413 if exploited?

The potential impact of CVE-2026-12413 includes a complete denial of service for users relying on Libreswan.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203