CVE-2026-12413
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.
Scoring
- Severity
- HIGH
- CVSS base score
- 7.5
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS probability
- 0.60%
- CWE
- CWE-193, CWE-617
- Published
- 2026-07-02
- Last modified
- 2026-07-08
Affected products
- The Libreswan Project libreswan
- The Libreswan Project libreswan
Weakness type
Related vulnerabilities
- CVE-2026-81396 — Microsoft Excel Remote Code Execution Vulnerability
- CVE-2026-69609 — Win32k Information Disclosure Vulnerability
- CVE-2026-86297 — D-Link DIR-605 L2TP Control Message tunnel.c tunnel_set_params off-by-one
- CVE-2026-81738 — OpenVPN 2.5.0 through 2.7.6 on Windows using the tap-windows6 driver allows attackers to trigger an...
- CVE-2026-57160 — PJSIP: SIP message header buffer overflow
- CVE-2026-85454 — MOOS core-moos through 10.4.0 Off-by-One Buffer Overflow in Serial Telegram Handling
- CVE-2026-14368 — Off-by-one out-of-bounds NUL write in Zephyr LwM2M JSON string parser
- CVE-2026-46369 — Nimiq: Validity store off by one error