CVE-2026-12413 IKEv2 Denial of Service via malformed fragmentation
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
| Product | Affected versions | Fixed 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
- Libreswan Security Advisory mitigation vendor-advisory
- Libreswan CVE-2026-12413 Patches vendor-advisory
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:46986 patch vendor-advisory
- RHSA-2026:46398 patch vendor-advisory
- RHSA-2026:55449 patch vendor-advisory
- RHSA-2026:46396 patch vendor-advisory
- RHSA-2026:72287 patch vendor-advisory
- RHSA-2026:46397 patch vendor-advisory
- RHSA-2026:61779 patch vendor-advisory
- RHSA-2026:61258 patch vendor-advisory
- RHSA-2026:57741 patch vendor-advisory
- RHSA-2026:63044 patch vendor-advisory
- RHSA-2026:63100 patch vendor-advisory
- RHSA-2026:63041 patch vendor-advisory
- Red Hat Bugzilla 2494149 issue-tracking
- www.cve.org
- nvd.nist.gov
- lists.libreswan.org
- Debian Security Tracker CVE-2026-12413 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking