CVE-2026-12413: An invalidly formatted IKEv2 fragment causes the Libreswan pluto daemon to crash and restart
CVE-2026-12413 is a high-severity flaw (CVSS 7.5) affecting libreswan. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 executio
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-12413?
libreswan: upgrade to 5.3.1. Exact commands for each OS are on this page.
Is CVE-2026-12413 being exploited?
CVE-2026-12413 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-12413 affect?
CVE-2026-12413 affects libreswan. Severity is high (CVSS 7.5). 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 st
How urgent is CVE-2026-12413?
Priority 43/100. High severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-50721 HIGH 8.1 UPGRADE Libreswan, via the function RSA_authenticate_hash_signature_raw_rsa(), did not correctly verify the length of
- CVE-2026-50722 HIGH 8.1 UPGRADE Libreswan, via the function RSA_authenticate_hash_signature_pkcs1_1_5_rsa(), did not correctly verify the DER