Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-12413

Опубликовано: 24 июн. 2026
Источник: redhat
CVSS3: 7.5
EPSS Низкий

Описание

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.

A flaw was found in Libreswan's IKEv2 fragment reassembly mechanism. When a VPN gateway processes incoming split network packets (fragments) containing unexpected data, an off-by-one boundary validation error triggers an internal program safety check (assertion failure). A remote, unauthenticated attacker can exploit this by sending a specific sequence of malformed IKEv2 fragments to an exposed gateway, causing the Libreswan daemon to immediately crash and restart. While this flaw does not allow data theft or unauthorized system access, a continuous stream of these packets will lead to a persistent Denial of Service (DoS) for legitimate VPN users.

Отчет

Red Hat Product Security rates this vulnerability as having an Important impact, primarily because it can be exploited remotely without authentication. However, the actual exposure depends entirely on your specific VPN configuration:

Affected Configurations: This vulnerability only impacts IKEv2 connections. By default, Libreswan enables packet fragmentation (fragmentation=yes) to handle large encryption keys over restrictive network paths. Any default IKEv2 tunnel that do not set fragmentation=no are vulnerable. Unaffected Configurations: IKEv1 connections are completely unaffected by this flaw.
Crucially, this vulnerability does not impact environments running Libreswan versions 4.5 and older. The vulnerable fragment reassembly engine was introduced during a major codebase refactor in version 4.6. As a result, older product branches—such as those shipped in rhel-6, rhel-7, rhel-8.6.z and prior do not contain the flawed code path and are inherently immune to this attack.

Меры по смягчению последствий

If upgrading to Libreswan is not an option, you can mitigate the vulnerability by disabling IKEv2 fragment processing: Add the following directive to your global or connection-specific configuration files in /etc/ipsec.conf: fragmentation=no Warning: Disabling fragmentation may cause larger IKEv2 payloads (such as those carrying large X.509 certificate chains) to be dropped by intermediate network routers if they exceed the path MTU.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6libreswanNot affected
Red Hat Enterprise Linux 7libreswanNot affected
Red Hat OpenShift Container Platform 4libreswanAffected
Red Hat OpenShift Container Platform 4rhcosAffected
Fast Datapath for Red Hat Enterprise Linux 9libreswanFixedRHSA-2026:4698627.07.2026
Red Hat Enterprise Linux 10libreswanFixedRHSA-2026:4639827.07.2026
Red Hat Enterprise Linux 8libreswanFixedRHSA-2026:4639627.07.2026
Red Hat Enterprise Linux 9libreswanFixedRHSA-2026:4639727.07.2026

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-193
https://bugzilla.redhat.com/show_bug.cgi?id=2494149librenswan: IKEv2 Denial of Service via malformed fragmentation

EPSS

Процентиль: 45%
0.00598
Низкий

7.5 High

CVSS3

Связанные уязвимости

CVSS3: 7.5
ubuntu
28 дней назад

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.

CVSS3: 7.5
nvd
28 дней назад

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.

CVSS3: 7.5
msrc
27 дней назад

IKEv2 Denial of Service via malformed fragmentation

CVSS3: 7.5
debian
28 дней назад

An invalidly formatted IKEv2 fragment causes the Libreswan pluto daemo ...

CVSS3: 7.5
github
28 дней назад

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.

EPSS

Процентиль: 45%
0.00598
Низкий

7.5 High

CVSS3