{"id":"DEBIAN-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-09-01T16:06:27.302381037Z","published":"2026-07-02T22:16:42.517Z","upstream":["CVE-2026-12413"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-12413"}],"affected":[{"package":{"name":"libreswan","ecosystem":"Debian:12","purl":"pkg:deb/debian/libreswan?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.10-2","4.10-2+deb12u1","4.11-1","4.12-1","4.12-2","4.12-3","4.14-1","4.14-1.1","4.15-1","5.0~rc2-1","5.0~rc2-2","5.2-1","5.2-2","5.2-2.1","5.2-2.2","5.2-2.3","5.2-2.4","5.2-2.5"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12413.json"}},{"package":{"name":"libreswan","ecosystem":"Debian:13","purl":"pkg:deb/debian/libreswan?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2-2.2","5.2-2.3","5.2-2.4","5.2-2.5"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12413.json"}},{"package":{"name":"libreswan","ecosystem":"Debian:14","purl":"pkg:deb/debian/libreswan?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2-2.5"}]}],"versions":["5.2-2.2","5.2-2.3","5.2-2.4"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12413.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}