{"id":"CVE-2026-12413","details":"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-\u003edigest_roof \u003c elemsof(md-\u003edigest)) 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.","modified":"2026-07-29T03:54:14.562434507Z","published":"2026-07-02T22:16:42.517Z","related":["ALSA-2026:46396","ALSA-2026:46397","ALSA-2026:46398"],"references":[{"type":"ADVISORY","url":"https://libreswan.org/security/CVE-2026-12413/"},{"type":"ADVISORY","url":"https://libreswan.org/security/CVE-2026-12413/CVE-2026-12413.txt"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libreswan/libreswan","events":[{"introduced":"5cb4ea71800792204de69a9f546ca6a41f377bf3"},{"fixed":"de24519eb4ff49803a21d75e880c87834cf33beb"}],"database_specific":{"cpe":"cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"4.6"},{"fixed":"5.3.1"}],"source":"CPE_RANGE"}}],"versions":["v5.3","v5.2","v5.1","v5.0rc2","v5.0rc1","v4.9","v4.8","v4.7","v4.6"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-12413.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}