Skip to content

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

HighCVSS 7.5 EPSS 0.76%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

26 packages: 18 fixed, 8 with no fix yet.

PackageAffectedFixed inStatus
debian/libreswan(Debian 12) = 4.10-2; = 4.10-2+deb12u1; = 4.11-1; = 4.12-1 +15 more No fix listed No fix yet
debian/libreswan(Debian 13) = 5.2-2.2; = 5.2-2.3; = 5.2-2.4; = 5.2-2.5 +1 more No fix listed No fix yet
redhat/libreswan(Red Hat openshift 4) All versions No fix listed No fix yet
redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 5) All versions No fix listed No fix yet
ubuntu/libreswan(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libreswan(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/libreswan(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/libreswan(Ubuntu 26.10) All versions No fix listed No fix yet
alpine/libreswan(Alpine v3.23) >= 4.6, < 5.3.3-r0 5.3.3-r0 Fixed
alpine/libreswan(Alpine v3.24) >= 4.6, < 5.3.2-r0 5.3.2-r0 Fixed
azure linux libreswan(Azure Linux 3.0) < 4.15-2 4.15-2 Fixed
libreswan >= 4.6, < 5.3.1 5.3.1 Fixed
redhat/libreswan(Red Hat enterprise_linux 10.2) < 5.3.2-1.el10_2 5.3.2-1.el10_2 Fixed
redhat/libreswan(Red Hat enterprise_linux 8) < 4.12-2.el8_10.6 4.12-2.el8_10.6 Fixed
redhat/libreswan(Red Hat enterprise_linux 9) < 4.15-10.el9_8 4.15-10.el9_8 Fixed
redhat/libreswan(Red Hat enterprise_linux 9 fastdatapath) < 5.3.2-1.el9fdp 5.3.2-1.el9fdp Fixed
redhat/libreswan(Red Hat enterprise_linux_eus 10.0) < 5.2-1.el10_0.5 5.2-1.el10_0.5 Fixed
redhat/libreswan(Red Hat rhel_e4s 8.8) < 4.9-3.el8_8.3 4.9-3.el8_8.3 Fixed
redhat/libreswan(Red Hat rhel_e4s 9.2) < 4.9-5.el9_2.5 4.9-5.el9_2.5 Fixed
redhat/libreswan(Red Hat rhel_e4s 9.4) < 4.12-3.el9_4.2 4.12-3.el9_4.2 Fixed
redhat/libreswan(Red Hat rhel_eus 9.6) < 4.15-8.el9_6.1 4.15-8.el9_6.1 Fixed
redhat/libreswan(Red Hat rhel_tus 8.8) < 4.9-3.el8_8.3 4.9-3.el8_8.3 Fixed
redhat/openshift/ose-rhel-coreos(Red Hat openshift 4.19 el9) < 9:4.19.9.6.202609021231-0 9:4.19.9.6.202609021231-0 Fixed
redhat/openshift/ose-rhel-coreos(Red Hat openshift 4.20 el9) < 9:4.20.9.6.202609021029-0 9:4.20.9.6.202609021029-0 Fixed
redhat/openshift/ose-rhel-coreos(Red Hat openshift 4.21 el9) < 9:4.21.9.6.202609021100-0 9:4.21.9.6.202609021100-0 Fixed
The Libreswan Project libreswan >= 4.6, <= 5.3 after 5.3 Fixed

Affected products

ProductAffected versionsFixed in
The Libreswan Project libreswan >= 4.6, <= 5.3 No fix listed
redhat/libreswan(Red Hat:enterprise_linux:9::fastdatapath) < 5.3.2-1.el9fdp 5.3.2-1.el9fdp
redhat/libreswan(Red Hat:enterprise_linux:10.2) < 5.3.2-1.el10_2 5.3.2-1.el10_2
redhat/libreswan(Red Hat:enterprise_linux_eus:10.0) < 5.2-1.el10_0.5 5.2-1.el10_0.5
redhat/libreswan(Red Hat:enterprise_linux:8) < 4.12-2.el8_10.6 4.12-2.el8_10.6
redhat/libreswan(Red Hat:rhel_tus:8.8) < 4.9-3.el8_8.3 4.9-3.el8_8.3
redhat/libreswan(Red Hat:rhel_e4s:8.8) < 4.9-3.el8_8.3 4.9-3.el8_8.3
redhat/libreswan(Red Hat:enterprise_linux:9) < 4.15-10.el9_8 4.15-10.el9_8
redhat/libreswan(Red Hat:rhel_e4s:9.2) < 4.9-5.el9_2.5 4.9-5.el9_2.5
redhat/libreswan(Red Hat:rhel_e4s:9.4) < 4.12-3.el9_4.2 4.12-3.el9_4.2
redhat/libreswan(Red Hat:rhel_eus:9.6) < 4.15-8.el9_6.1 4.15-8.el9_6.1
redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.19::el9) < 9:4.19.9.6.202609021231-0 9:4.19.9.6.202609021231-0
redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.20::el9) < 9:4.20.9.6.202609021029-0 9:4.20.9.6.202609021029-0
redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.21::el9) < 9:4.21.9.6.202609021100-0 9:4.21.9.6.202609021100-0
redhat/libreswan(Red Hat:openshift:4) All versions No fix listed
redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) All versions No fix listed
debian/libreswan(Debian:12) All versions No fix listed
debian/libreswan(Debian:12) = 4.10-2 No fix listed
debian/libreswan(Debian:12) = 4.10-2+deb12u1 No fix listed
debian/libreswan(Debian:12) = 4.11-1 No fix listed
debian/libreswan(Debian:12) = 4.12-1 No fix listed
debian/libreswan(Debian:12) = 4.12-2 No fix listed
debian/libreswan(Debian:12) = 4.12-3 No fix listed
debian/libreswan(Debian:12) = 4.14-1 No fix listed
debian/libreswan(Debian:12) = 4.14-1.1 No fix listed
Show 23 more
ProductAffected versionsFixed in
debian/libreswan(Debian:12) = 4.15-1 No fix listed
debian/libreswan(Debian:12) = 5.0~rc2-1 No fix listed
debian/libreswan(Debian:12) = 5.0~rc2-2 No fix listed
debian/libreswan(Debian:12) = 5.2-1 No fix listed
debian/libreswan(Debian:12) = 5.2-2 No fix listed
debian/libreswan(Debian:12) = 5.2-2.1 No fix listed
debian/libreswan(Debian:12) = 5.2-2.2 No fix listed
debian/libreswan(Debian:12) = 5.2-2.3 No fix listed
debian/libreswan(Debian:12) = 5.2-2.4 No fix listed
debian/libreswan(Debian:12) = 5.2-2.5 No fix listed
debian/libreswan(Debian:13) All versions No fix listed
debian/libreswan(Debian:13) = 5.2-2.2 No fix listed
debian/libreswan(Debian:13) = 5.2-2.3 No fix listed
debian/libreswan(Debian:13) = 5.2-2.4 No fix listed
debian/libreswan(Debian:13) = 5.2-2.5 No fix listed
ubuntu/libreswan(Ubuntu:22.04) All versions No fix listed
alpine/libreswan(Alpine:v3.23) >= 4.6, < 5.3.3-r0 5.3.3-r0
alpine/libreswan(Alpine:v3.24) >= 4.6, < 5.3.2-r0 5.3.2-r0
ubuntu/libreswan(Ubuntu:24.04) All versions No fix listed
ubuntu/libreswan(Ubuntu:26.04) All versions No fix listed
ubuntu/libreswan(Ubuntu:26.10) All versions No fix listed
libreswan >= 4.6, < 5.3.1 5.3.1
azure linux libreswan(Azure Linux:3.0) < 4.15-2 4.15-2

References