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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:*

History

25 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Un fragmento IKEv2 con formato no válido provoca que el demonio pluto de Libreswan se bloquee y reinicie. La explotación continuada causaría una denegación de servicio. La función reassemble_v2_incoming_fragments() ignoraría las cargas útiles externas desconocidas, pero aun así las almacenaría en un array de tamaño fijo msg_digest.digest[PAYLIMIT]. Un error off-by-one en la aserción PASSERT(logger, md -> digest_roof < elemsof(md -> digest)) provoca que el demonio aborte. No es posible la ejecución remota de código. Cualquier configuración que permita conexiones IKEv2 que no establezcan fragmentation=no es vulnerable. IKEv1 no se ve afectado.

Information

Published : 2026-07-02 22:16

Updated : 2026-10-25 21:10


NVD link : CVE-2026-12413

Mitre link : CVE-2026-12413

CVE.ORG link : CVE-2026-12413


JSON object : View

Products Affected

libreswan

  • libreswan
CWE
CWE-193

Off-by-one Error

CWE-617

Reachable Assertion